Changes between Version 8 and Version 9 of ReScheduleScript


Ignore:
Timestamp:
Apr 13, 2022, 6:50:48 AM (2 years ago)
Author:
figaro
Comment:

Move example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • ReScheduleScript

    v8 v9  
    88
    99It will probably work with Trac 0.10 and 0.9, all it depends on is the milestone table format.
    10 
    11 See the [#Example Example] section for more usage details.
    1210
    1311{{{
     
    3129}}}
    3230
     31As an example:
     32
     33{{{#!sh
     34python reschedule.py --dsn 'user=someuser host=localhost dbname=trac' \
     35  --old 20071101 --start 20071203 --end 20090630 --dbtype postgres
     36}}}
     37
     38would reschedule the milestones for a project that originally started 20071101 and ran until the due date of the last milestone to run instead between 20071203 and 20090630, which the same proportional allocation of time for each milestone.
     39
     40'''Note:''' without the {{{--commit}}} flag it just prints a table showing what the changes would be, without altering the database. Always test it without the {{{--commit}}} flag first.
     41
    3342== Bugs/Feature Requests
    3443
     
    5160You can check out ReScheduleScript from [/svn/reschedulescript here] using Subversion, or [source:reschedulescript browse the source] with Trac.
    5261
    53 == Example
     62== Installation
    5463
    55 {{{#!sh
    56 python reschedule.py --dsn 'user=someuser host=localhost dbname=trac' \
    57   --old 20071101 --start 20071203 --end 20090630 --dbtype postgres
    58 }}}
    59 
    60 would reschedule the milestones for a project that originally started 20071101 and ran until the due date of the last milestone to run instead between 20071203 and 20090630, which the same proportional allocation of time for each milestone.
    61 
    62 '''Note:''' without the {{{--commit}}} flag it just prints a table showing what the changes would be, without altering the database. Always test it without the {{{--commit}}} flag first.
     64General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    6365
    6466== Recent Changes