RFC: Make bughelper more cautious about cluefile versions

Bug #107735 reported by Daniel Holbach
2
Affects Status Importance Assigned to Milestone
Bug Helper
Fix Released
High
Daniel Holbach
bughelper (Ubuntu)
Fix Released
High
Daniel Holbach
Feisty
Fix Released
High
Daniel Holbach
Gutsy
Fix Released
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

Revision history for this message
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
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.