Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues
Perforce Defect Tracking Integration
| Title: | The replicated_fields parameter can't be changed without replicating all jobs |
| Status: | closed |
| Priority: | essential |
| Assigned user: | Nick Barnes |
| Product: | p4dti |
| Organization: | Ravenbrook |
| Description: | In section 10 of the prepared manuals <http://www.ravenbrook.com/project/p4dti/branch/2000-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, 0.5.1 |
| Introduced in: | 0.0.0 |
| Test procedure: | none |
| Created by: | Richard Brooksby |
| Created on: | 2001-01-31 11:57:40 |
| Last modified by: | gdr |
| Last modified on: | 2001-12-10 19:21:24 |
| 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 | gdr | Added start_date to config.py. |
| 8362 | open | 2001-02-12 20:09:04 | gdr | Renamed refresh_perforce.py to refresh.py |
| 8360 | open | 2001-02-12 20:00:37 | gdr | 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 | gdr | Added and documented start_date parameter. Implemented the functionality for TeamTrack. |
Generated at 2008-05-22 20:19:54 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#430 $
Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may make and distribute verbatim copies of this document provided that you do not charge a fee for this document or for its distribution.