Feature #12096

Use reprepro unreferencesnapshot instead of _removereferences

Added by intrigeri 2016-12-29 09:18:44 . Updated 2017-09-28 19:00:00 .

Status:
Rejected
Priority:
Low
Assignee:
intrigeri
Category:
Infrastructure
Target version:
Start date:
2016-12-29
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

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 in puppet-tails
  • wiki/src/contribute/APT_repository/time-based_snapshots.mdwn

Subtasks


Related issues

Related to Tails - Feature #11912: Purge Jessie time-based APT snapshots 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