Feature #10749

Create partial APT snapshot from a build manifest and a set of time-based snapshots

Added by intrigeri 2015-12-14 02:50:32 . Updated 2016-05-23 13:07:30 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
2015-12-13
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Starter:
Affected tool:
Deliverable for:
269

Description

This is mainly about the tails-prepare-tagged-apt-snapshot-import script (puppet-tails repo) and the glue + Puppet bits that will make it usable.


Subtasks


Related issues

Blocks Tails - Feature #6310: Publish source Debian packages used by Tails ISO images Resolved 2013-09-26

History

#1 Updated by intrigeri 2015-12-14 02:55:55

  • blocked by Feature #10748: Generate a manifest of packages used at build time added

#2 Updated by intrigeri 2015-12-14 03:03:45

  • Description updated
  • % Done changed from 20 to 10
  • Feature Branch set to puppet-tails:kibi/master

Note that there are two implementations (kibi/pu/master-v1, kibi/master). The latter is slower but uses Dpkg::Control instead of a home-made parser.

#3 Updated by intrigeri 2015-12-14 06:21:26

A potential lacking feature in the current code is being discussed over email: “TailsFeature #10748, TailsFeature #10749: architectures”. But this shouldn’t block me from testing/reviewing the rest :)

#4 Updated by intrigeri 2016-02-05 20:49:20

  • Target version changed from Tails_2.2 to Tails_2.3

#5 Updated by intrigeri 2016-03-10 14:24:10

intrigeri wrote:
> Note that there are two implementations (kibi/pu/master-v1, kibi/master). The latter is slower but uses Dpkg::Control instead of a home-made parser.

I’ve merged the version that uses Dpkg::Control: even if it’s slower, it’s cheaper to maintain and we only run that ~once per release.

However, on this ticket we need to handle the problem raised in the “TailsFeature #10748: build manifest vs. multiple origins” email thread.

#6 Updated by intrigeri 2016-03-10 14:31:15

  • Assignee changed from intrigeri to CyrilBrulebois

#7 Updated by intrigeri 2016-03-11 09:58:41

intrigeri wrote:
> However, on this ticket we need to handle the problem raised in the “TailsFeature #10748: build manifest vs. multiple origins” email thread.

Done. More work is needed, see the blueprint for details.

#8 Updated by intrigeri 2016-03-11 17:13:38

  • Assignee changed from CyrilBrulebois to intrigeri
  • % Done changed from 10 to 30
  • QA Check set to Ready for QA
  • Feature Branch deleted (puppet-tails:kibi/master)

#9 Updated by intrigeri 2016-03-25 11:40:16

  • blocks deleted (Feature #10748: Generate a manifest of packages used at build time)

#10 Updated by intrigeri 2016-03-25 18:37:07

  • QA Check deleted (Ready for QA)

The script was improved this month and is now working fine; remaining integration bits are listed on the blueprint.

#11 Updated by intrigeri 2016-04-08 14:18:49

  • blocks Feature #6310: Publish source Debian packages used by Tails ISO images added

#12 Updated by intrigeri 2016-04-25 13:01:09

  • Target version changed from Tails_2.3 to Tails_2.4

#13 Updated by intrigeri 2016-05-11 08:31:43

  • blocked by Feature #10748: Generate a manifest of packages used at build time added

#14 Updated by intrigeri 2016-05-15 00:39:07

  • % Done changed from 30 to 40

Integration was done up to the point when a build from tagged snapshots succeeded. Remaining bits are listed on the blueprint.

#15 Updated by intrigeri 2016-05-16 14:24:33

  • % Done changed from 40 to 50

I’ve confirmed that a build from a given tagged snapshot has the same packages and build manifest as the build (from time-based snapshots) whose build manifest was used to generate that tagged snapshot, so we’re good. Only a couple cleanup / follow-up tiny tasks are left, so we’re basically done here, until we’re ready to have the entire parent task reviewed’n’merged.

#16 Updated by intrigeri 2016-05-18 12:01:25

  • Assignee changed from intrigeri to bertagaz
  • QA Check set to Ready for QA

Regarding the Puppet review, it’s the same as Feature #6299, really: start in manifests/reprepro/snapshots/ in puppet-tails, and follow the white rabbit (classes, templates, files).

#17 Updated by intrigeri 2016-05-23 08:36:40

  • Assignee changed from bertagaz to intrigeri
  • % Done changed from 50 to 60
  • QA Check changed from Ready for QA to Dev Needed

The review bertagaz posted on Feature #6299#note-15 covers these bits too.

#18 Updated by intrigeri 2016-05-23 11:35:09

  • Assignee changed from intrigeri to bertagaz
  • % Done changed from 60 to 70
  • QA Check changed from Dev Needed to Ready for QA

(Same as Feature #6299.)

#19 Updated by intrigeri 2016-05-23 13:06:25

  • blocks deleted (Feature #10748: Generate a manifest of packages used at build time)

#20 Updated by intrigeri 2016-05-23 13:07:31

  • Status changed from In Progress to Resolved
  • Assignee deleted (bertagaz)
  • % Done changed from 70 to 100
  • QA Check changed from Ready for QA to Pass

Same as Feature #6299.