Changes between Version 6 and Version 7 of ReScheduleScript
- Timestamp:
- Sep 4, 2015, 12:20:41 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ReScheduleScript
v6 v7 1 = Reschedule milestones on a new timeline = 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = = Description ==3 = Reschedule milestones on a new timeline 4 4 5 This isn't a normal Trac Hack, but a small standalone python program that stretches or compresses milestones between new start and stop dates, keeping the time allocations for each the same, proportionally. 5 == Description 6 6 7 It will probably work with 0.10 and 0.9, all it depends on is the milestone table format.7 This is a standalone Python program that stretches or compresses milestones between new start and stop dates, keeping the time allocations for each the same, proportionally. It is not a regular Trac plugin. 8 8 9 '''See the [#Example Example] section for more important information''' 9 It 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. 10 12 11 13 {{{ 12 14 Usage: reschedule.py [options] 13 15 14 Fit Trac milestone due dates into a new time range, preserving relative 15 spacing 16 Fit Trac milestone due dates into a new time range, preserving relative spacing 16 17 17 18 Options: … … 30 31 }}} 31 32 32 == Bugs/Feature Requests ==33 == Bugs/Feature Requests 33 34 34 '''N OTE:''' the {{{--dbtype}}} flag is untested, I developed this for a postgres based system.35 '''Note:''' the {{{--dbtype}}} flag is untested, I developed this for a postgres based system. 35 36 36 37 Existing bugs and feature requests for ReScheduleScript are … … 38 39 39 40 If you have any issues, create a 40 [ http://trac-hacks.org/newticket?component=ReScheduleScript&owner=TerryBrownnew ticket].41 [/newticket?component=ReScheduleScript new ticket]. 41 42 42 == Download == 43 [[TicketQuery(component=ReScheduleScript&group=type,format=progress)]] 44 45 == Download 43 46 44 47 Download the zipped source from [download:reschedulescript here]. 45 48 46 == Source ==49 == Source 47 50 48 51 You can check out ReScheduleScript from [http://trac-hacks.org/svn/reschedulescript here] using Subversion, or [source:reschedulescript browse the source] with Trac. 49 52 50 == Example ==53 == Example 51 54 52 {{{ 55 {{{#!sh 53 56 python reschedule.py --dsn 'user=someuser host=localhost dbname=trac' \ 54 57 --old 20071101 --start 20071203 --end 20090630 --dbtype postgres … … 57 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. 58 61 59 '''N OTE:''' 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.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. 60 63 61 == Recent Changes ==64 == Recent Changes 62 65 63 66 [[ChangeLog(reschedulescript, 3)]] 64 67 65 == Author/Contributors ==68 == Author/Contributors 66 69 67 70 '''Author:''' [wiki:TerryBrown] [[BR]] 71 '''Maintainer:''' [[Maintainer]] [[BR]] 68 72 '''Contributors:'''