ARMArchiveFeatures

Differences between revisions 4 and 5
Revision 4 as of 2010-05-20 15:27:44
Size: 6148
Editor: peter-pearse
Comment:
Revision 5 as of 2010-05-28 00:18:12
Size: 6665
Editor: 216
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * '''Launchpad Entry''': https://blueprints.launchpad.net/ubuntu-arm/+spec/arm-m-archive-features  * '''Launchpad Entry''': https://blueprints.launchpad.net/ubuntu/maverick/+spec/arm-m-archive-features
Line 5: Line 5:
 * '''Contributors''':  * '''Contributors''': Alexander Sack
Line 10: Line 10:
This should provide an overview of the issue/functionality/change proposed here. Focus here on what will actually be DONE, summarising that so that other people don't have to read the whole spec. See also CategorySpec for examples. We affirm that various works for ubuntu on arm will require working groups and downstreams to maintain diffs against the ubuntu archive.
Line 12: Line 12:
== Release Note == ATM, the only tool offered by launchpad to maintain changes against the ubuntu archive are PPAs. Using PPAs to maintain changes against ubuntu is also referred to as the "overlay approach"; however, using PPAs to create such overlays comes with extra maintenance cost and comes with two important drawbacks for doing efficient downstream development and releases, namely:
Line 14: Line 14:
This section should include a paragraph describing the end-user impact of this change. It is meant to be included in the release notes of the first release in which it is implemented. (Not all of these will actually be included in the release notes, at the release manager's discretion; but writing them is a useful exercise.)  * changes in downstream packages are not preserved when the ubuntu package is updated.
 * automatic propagation of updates in ubuntu archives cannot be prevented.
Line 16: Line 17:
It is mandatory.

== Rationale ==

This should cover the _why_: why is this change being proposed, what justifies it, where we see this justified.

== User stories ==

== Assumptions ==
Both together make it hard to do serious development downstream against a moving upstream target.
Line 28: Line 21:
You can have subsections that better describe specific parts of the issue. We suggest to add a new archive type called "derived" archives to the launchpad feature set. Operations for downstream archives are:
 * create new archives based on an upstream archive
 * archives can either be full archive copies or just contain a subset of packages defined by seed like mechanism (aka package sets)
 * downstream archives can be full archives or lightweight archives
   * full archives will rebuild all packages synched and merged from source
   * lightweight archives only rebuild merged package updates, while syncs are done by doing binary copies.

Summary

We affirm that various works for ubuntu on arm will require working groups and downstreams to maintain diffs against the ubuntu archive.

ATM, the only tool offered by launchpad to maintain changes against the ubuntu archive are PPAs. Using PPAs to maintain changes against ubuntu is also referred to as the "overlay approach"; however, using PPAs to create such overlays comes with extra maintenance cost and comes with two important drawbacks for doing efficient downstream development and releases, namely:

  • changes in downstream packages are not preserved when the ubuntu package is updated.
  • automatic propagation of updates in ubuntu archives cannot be prevented.

Both together make it hard to do serious development downstream against a moving upstream target.

Design

We suggest to add a new archive type called "derived" archives to the launchpad feature set. Operations for downstream archives are:

  • create new archives based on an upstream archive
  • archives can either be full archive copies or just contain a subset of packages defined by seed like mechanism (aka package sets)
  • downstream archives can be full archives or lightweight archives
    • full archives will rebuild all packages synched and merged from source
    • lightweight archives only rebuild merged package updates, while syncs are done by doing binary copies.

Implementation

This section should describe a plan of action (the "how") to implement the changes discussed. Could include subsections like:

UI Changes

Should cover changes required to the UI, or specific UI that is required to implement this

Code Changes

Code changes should include an overview of what needs to change, and in some cases even the specific details.

Migration

Include:

  • data migration, if any
  • redirects from old URLs to new ones, if any
  • how users will be pointed to the new way of doing things, if necessary.

Test/Demo Plan

It's important that we are able to test new features, and demonstrate them to users. Use this section to describe a short plan that anybody can follow that demonstrates the feature is working. This can then be used during testing, and to show off after release. Please add an entry to http://testcases.qa.ubuntu.com/Coverage/NewFeatures for tracking test coverage.

This need not be added or completed until the specification is nearing beta.

Unresolved issues

This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.

BoF agenda and discussion

Proposed Structure

  • (main ubuntu archive)
    • /\ |
    (ubuntu-on-arm archive)
    • /\ |
    (various further archives)

Can use the language of branches to talk about archives: the ubuntu-on-arm archive is like an integration branch for the various arm work, which will in part happen in further derived archives.

  • Want to maintain an overlay archive over the main archive
  • A bit like archive + ppa, but one sources.list entry and no pinning
    • why is this a requirement?
  • ways to specify which packages are 'part' of the archive
    • everything but ..., only ...
  • need to control over which changes from parent archive appear in our archive means "overlay" might not be the best term
  • similar to the debian -> ubuntu merge process

    • runs automatically some of the time, periods where we carefully review
    • default behaviour should be to stay in sync
    • should be possible to avoid upgrades for particular packages (blacklist)

Relationship with Ubuntu

  • will ubuntu on arm's milestones be synchronized with ubuntu's?
  • binary copy archives / source full archive
  • there will be derived archives of the ubuntu-on-arm archive
  • analagous to testing/unstable relationship?
    • quiet complex and we need to learn first if thats what we want
  • want to use same tool to maintain relationship between ubuntu and arm archives
    • as between the arm archive and further-derived archives
    • unity work for example could have been done in a derived archive

Initial Archive Features

  • do we start with ubuntu on arm being minimal?
    • as we may want to rebuild all binaries in the archive with a new toolchain,
      • obviously not having to rebuild 16000 packages is a good thing
    • but subsetting the archive is hard beyond existing main/universe/multiverse split
    • package sets
    • if archive is incomplete, updates to ubuntu may introduce or lose a build dependency
    • something about resurrecting binaries
  • rebuild requirements relate to binNMUs
    • launchpad doesn't support binNUMs yet
    • for now we can say "don't expire binaries" for the next cycle
  • can one add new-to-ubuntu packages to ubuntu-on-arm (derivative) archive?
    • yes (well, requires policy thinking ... yes is definitly true for topic archives)
  • policy related to taking not-yet upstreamed patches
  • usual question of "how built into launchpad?"
    • a core api is "how many packages are newer in archive a than archive b"

Launchpad Integration

What happens in the remote tool:

  • manual actions need to go into tools
  • automatic work goes into launchpad.
  • operations used by launchpad to get the automatic behaviour needs to be made available to the archive tool.
  • copying packages in launchpad is cheap
  • need:
    • to be able to find packages are eligible for syncing
    • need something to then every $N hours to do this syncing
    • can allow for launchpad and non-launchpad implementations of each building block
  • what about people who want to run their own archive
  • full archive vs overlay is about not having to follow your parent's timescale
    • also toolchain rebuilds

Use Cases

  • use cases:
    • debian->ubuntu

    • rebuild archives
    • start with these!

PPA's

  • can we extend PPAs?
  • implementation-wise should we start with a special kind of ppa?
  • each archive needs a special flag in the version number to block auto-syncs (e.g. 'ubuntu' for the debian->ubuntu sync)

  • not changed packages have the same version that is in ubuntu
  • changed packages should not be synched
  • need secure upload queue (sftp)


CategorySpec

Specs/M/ARMArchiveFeatures (last edited 2010-05-30 04:11:50 by 65)