RFC: Make bughelper more cautious about cluefile versions

Bug #107735 reported by Daniel Holbach on 2007-04-19
2
Affects Status Importance Assigned to Milestone
Bug Helper
High
Daniel Holbach
bughelper (Ubuntu)
High
Daniel Holbach
Feisty
High
Daniel Holbach
Gutsy
High
Daniel Holbach

Bug Description

We version cluefiles, but don't make use of that information. We need a way to make sure that we don't load a cluefile that the current version can not deal with.

Proposal:
 * ship versioned schemas in bughelper-data
 * read clue file version out of clue file
 * use the CLUE_FILE_VERSION to determine if we're compatible or not.
  - incrementing the second number means additions we will simply ignore
  - incrementing the first number means breakage, so we can't use that clue file

Related branches

Daniel Holbach (dholbach) wrote :

This patch is against bughelper.0.1 - applies against .main too.

Please test - we want this to get into feisty-updates.

Changed in bughelper:
assignee: nobody → dholbach
importance: Undecided → High
status: Unconfirmed → Fix Committed
assignee: nobody → dholbach
importance: Undecided → High
status: Unconfirmed → Fix Committed
assignee: nobody → dholbach
importance: Undecided → High
status: Unconfirmed → Fix Committed
Daniel Holbach (dholbach) wrote :

Pushed to .main - we will need to test it some more for 0.1.

Changed in bughelper:
status: Fix Committed → Fix Released
Emilio Pozuelo Monfort (pochu) wrote :

Fixed with 0.2~169

Changed in bughelper:
status: Fix Committed → Fix Released
Changed in bughelper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers