Title | The replicated_fields parameter can't be changed without replicating all jobs |
Status | closed |
Priority | essential |
Assigned user | Nick Barnes |
Organization | Ravenbrook |
Description | In section 10 of the prepared manuals <http://www.ravenbrook.com/project/p4dt...12-18/manual-prep/manual/ag/#section-10 > we tell people to run the refresh script if they change the replicated_fields parameter, but this forces all issues to be replicated, which they may not want. |
Analysis | In the short term, we could develop a different script to handle changes to replicated_fields, which only re-replicated the issues that are already replicated. In fact, I'd recommend calling that script "refresh" and changing the name of the current script to something like "rereplicate_all" or something. Better would be to provide a configuration parameter which stated which issues are to be replicated. For example, a cut-off date before which they aren't. The replicator, consistency checker, and refresh scripts could all use this to make their decisions, and there wouldn't be this hidden "first started date" which is causing us trouble. RB 2001-01-31 I added a "start_date" parameter: issues modified after this time are replicated, other issues are ignored. This behaviour is now consistent between check, run and refresh scripts. I implemented this for TeamTrack, but Bugzilla still needs to be done. I believe the only changes needed are in the methods dt_bugzilla.{all_issues,changed_entities}. GDR 2001-02-12. Added handling for Bugzilla. NB 2001-02-15. |
How found | inspection |
Evidence | <http://info.ravenbrook.com/mail/2001/01/30/15-57-13/0.txt > |
Observed in | 0.4.2 |
Created by | Richard Brooksby |
Created on | 2001-01-31 11:57:40 |
Last modified by | Gareth Rees |
Last modified on | 2010-10-06 21:37:33 |
History | 2001-01-31 RB Created. 2001-02-12 GDR Fixed for TeamTrack (see analysis). Assigned to Nick for Bugzilla implementation. 2001-02-15 NB Fixed for Bugzilla. |
Change | Effect | Date | User | Description |
---|---|---|---|---|
8545 | closed | 2001-02-15 15:50:23 | Nick Barnes | start-date handling for Bugzilla. |
8472 | closed | 2001-02-14 17:24:49 | Gareth Rees | Added start_date to config.py. |
8362 | open | 2001-02-12 20:09:04 | Gareth Rees | Renamed refresh_perforce.py to refresh.py |
8360 | open | 2001-02-12 20:00:37 | Gareth Rees | Merging branch/2001-02-12/start-date-2 into master sources. Documented start_date parameter and implemented it for TeamTrack. |
8359 | open | 2001-02-12 19:54:29 | Gareth Rees | Added and documented start_date parameter. Implemented the functionality for TeamTrack. |