Automated bootstrap of repositories

Registered by Loïc Minier

To truly rebuild repositories from scratch, or to bootstrap new ports, it would be desirable to have a mechanism to break build-dependencies loops and rebuild a full Debian archive.

Proposal: use new "Stages:" and "Build-Depends-$Stage:" fields, decorate binary packages with "Stages:" fields (possible special values: "final" or "full" stage for the last stage, "all" for all stages), and pass some DEB_STAGE environment variable to the package build (debian/rules).

Blueprint information

Status:
Not started
Approver:
Alexander Sack
Priority:
Medium
Drafter:
Loïc Minier
Direction:
Needs approval
Assignee:
Loïc Minier
Definition:
Review
Series goal:
Accepted for maverick
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Status:
Needs work-items putting into milestone targets.

Work items:
change sbuild to pass a DEB_STAGE to package builds: TODO
change sbuild to install Build-Depends-StageN when building stage N: TODO
implement stages in a sample set of source packages: TODO
change wanna-build to schedule the various stages of a package: TODO
draft a Debian Policy patch: TODO

(?)

Work Items