Bug 13950

Summary: snapshots: Don't create too many snapshots when installing Core Updates
Product: IPFire Reporter: Michael Tremer <michael.tremer>
Component: ---Assignee: Stefan Schantl <stefan.schantl>
Status: NEW --- QA Contact:
Severity: - Unknown -    
Priority: - Unknown - CC: adolf.belka, arne.fitzenreiter
Version: 2   
Hardware: unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 13606    

Description Michael Tremer 2026-03-09 16:20:55 UTC
Hello Stefan,

I am just testing the snapshots code and have noticed that too many snapshots are being created when people are in the testing branch.

Pakfire will go back and re-install Core Update 200 when someone is forcibly reinstalling Core Update 201. That way, there will be two more snapshots, one is called "auto-update-to-core-200" and the other one is called "auto-update-to-core-201". However both should already exist and so this might cause problems.

I am also not sure whether it would be wiser to only create one single snapshot. For example when someone is updating from 195 to 200, there will only be one snapshot instead of one each for each update. As far as the user is concerned, this is just one update process and there is only one valid point to go back to.