P4DTI issue job000351

TitleBugzilla integration doesn't remove old configuration items
Statusclosed
Priorityessential
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionThe Bugzilla integration keeps mutual configuration for Bugzilla and the P4DTI in a table in the Bugzilla database called p4dti_config. It checks the contents of this table each time the replicator starts, and updates it if necessary. However, it only ever adds or updates rows in this table; it will not delete rows. Sometimes (e.g. when changelist_url or the new job_url change to None) it should delete rows.
AnalysisAdd delete_config function to bugzilla.py, with the obvious semantics, and call it from set_config.
How foundmanual_test
EvidenceNoticed during testing of job_url.
Observed in1.1.1
Introduced in0.5.0
Test procedure<http://www.ravenbrook.com/project/p4dti/master/test/test_p4dti.py>, section 11
Created byNick Barnes
Created on2001-07-09 16:02:17
Last modified byGareth Rees
Last modified on2001-12-10 19:49:48
History2001-07-09 NB Created.

Fixes

Change Effect Date User Description
14176 closed 2001-07-16 16:27:27 Nick Barnes Old schema versions get upgraded. Made schema_version a string (so we can have schema_version='1.2.3.4' if we need it). Delete config entries from the p4dti_config table if necessary.