Feature #12096
Use reprepro unreferencesnapshot instead of _removereferences
Start date:
2016-12-29
Due date:
% Done:
0%
Description
reprepro 5.1.0-1 now has nice way to delete all references to a given snapshot. We should switch our code and doc to using it, instead of reprepro dumpreferences | […] | reprepro _removereferences
that we use (at least) in:
tails-delete-expired-apt-snapshots
inpuppet-tails
wiki/src/contribute/APT_repository/time-based_snapshots.mdwn
Subtasks
Related issues
Related to Tails - |
Resolved | 2016-11-13 |
History
#1 Updated by intrigeri 2017-06-05 17:27:44
- related to
Feature #11912: Purge Jessie time-based APT snapshots added
#2 Updated by intrigeri 2017-06-05 17:29:00
- Target version set to Tails_3.2
I’ll give it a try when doing Feature #11912 and Feature #12605. If it works fine I’ll convert our doc & scripts.
#3 Updated by intrigeri 2017-08-12 21:22:10
- Status changed from Confirmed to Rejected
I’ve looked into it. This would require computing the list of snapshots referenced in the DB, which would be more complex than the pipeline we currently have. The only potential advantage of switching to unreferencesnapshot
would be performance, but we do this quite rarely so I don’t think it’s worth the effort.
#4 Updated by anonym 2017-09-28 18:56:02
- Target version changed from Tails_3.2 to Tails_3.3
#5 Updated by anonym 2017-09-28 19:00:00
- Target version changed from Tails_3.3 to Tails_3.2