Diff for "LaunchpadPpa"

Not logged in - Log In / Register

Differences between revisions 1 and 43 (spanning 42 versions)
Revision 1 as of 2009-11-12 04:16:49
Size: 2554
Editor: maxb
Comment:
Revision 43 as of 2010-11-16 19:27:31
Size: 6358
Editor: matsubara
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
= launchpad-dependencies =  <<TableOfContents>>

= launchpad-dependencies =
Line 9: Line 11:
 1. You will need bzr-builddeb and debhelper packages installed.
 1. Edit debian/control to add or change the dependencies. Your name + email address must match an identity in your GPG key exactly.
 1. Run 'debchange -i' in the root to increment the version number and add a changelog entry in the correct format. Remember that launchpad-dependencies should not have an ubuntu1 suffix on its version number, so if debchange -i adds that for you, take it out again and increment the unsuffixed version number instead.
 1. debcommit or bzr commit
Line 13: Line 19:
bzr builddeb --native -- --no-lintian bzr builddeb
Line 16: Line 22:
bzr builddeb -S --native -- --no-lintian bzr builddeb -S
Line 20: Line 26:
bzr push
dput ppa:launchpad/ppa ../launchpad-dependencies_<whatever>_source.changes
bzr push lp:meta-lp-deps
debsign -S
debrelease --dput -S ppa:launchpad/ppa
Line 23: Line 30:
   1. If uploading a version from the trunk branch, after it has built, go to the PPA +copy-packages page copy it to all the other distroseries that the trunk branch is currently serving. Use the ''copy existing binaries'' option when copying.

After you've done this, you may need to update [[EC2Test/Image]]
Line 27: Line 36:
 * Because we are using it only for tests and updating too frequently may actually break some tests (we've seen it happen). It's no big deal if developers don't get the fully up-to-date geoIP DB. Production uses the proprietary geoIP DB instead. — Danilo (2010-01-21)
Line 28: Line 38:
= Rebuilds to restore Python 2.4 support =
Most of the PPA is rebuilds of python library packages to re-instate support for the old Python version Launchpad requires, which has since been dropped as a supported version in Ubuntu.
= bzr-lpreview-body =
This package contains the [[https://edge.launchpad.net/lpreview-body|lpreview_body plugin]] for Bazaar. The packaging can be found in lp:~launchpad/lpreview-body/packaging.
Line 31: Line 41:
maxb is leading a migration towards using no-source-change rebuilds for this where possible. = bzr-pqm =
bzr-pqm contains various plugins like lp-land. It needs to be maintained for all distroseries that we support ''development'' on.

This package is maintained through a [[https://help.launchpad.net/Packaging/SourceBuilds/Recipes|recipe]]. See: https://code.launchpad.net/~launchpad-committers/+recipe/bzr-pqm-launchpad-ppa

= pocket-lint =
XXX: Explain maintenance process.

= python-debian =
Needed for bugfixes and renaming of the module from debian_bundle to debian.

= xulrunner =
Our `jslint` process requires a Javascript interpreter, ideally Spidermonkey, because Rhino is too slow. The Ubuntu source package of xulrunner no longer builds spidermonkey-bin. Therefore we have the Debian source package, minimally hacked to build only the binary packages which the Ubuntu source no longer provides, in the PPA, from Lucid onwards. (should put this in a branch)

= slony1 =
stub requested an update to slony1 1.2.21 for lucid. https://code.edge.launchpad.net/~launchpad-committers/ubuntu/lucid/slony1/ppa-8.4

= Distro series support =
At any given time, we will be supporting multiple Ubuntu series in the PPA:
 * The current development series - to permit Ubuntu developers on the bleeding edge to develop Launchpad (currently: maverick).
  * Use pragmatism in deciding when to start supporting a new development series - almost certainly not until alpha 1, at least.
 * The current release - most developers run it (currently: lucid).
 * The current LTS - the datacentre either runs it, or is going to be running it shortly (currently: lucid).
 * The next older LTS, if it's still in use on production datacentre machines (currently: hardy).
 * As many other older releases as it is reasonably practicable to do so, to accomodate developers on older releases (currently: none),

----------

= Obsolete packages =
Some notes on past contents of the PPA.

== Rebuilds to restore older Python support ==
Most of the PPA used to be rebuilds of python library packages to re-instate support for the old Python version Launchpad required, which was dropped as a supported version in Ubuntu.

In jaunty/karmic, the need was to re-add Python 2.4 support. Launchpad made it to Python 2.5 for Karmic... and then the need was to re-add Python 2.5 support in lucid packages. Now, Launchpad made it to 2.6, and the relevant Lucid packages have been moved to the "obsolete" PPA.

Towards the end, we had most of the rebuilds working via a no-source-change rebuild.
Line 34: Line 80:
  * python-defaults - https://code.edge.launchpad.net/~maxb/ubuntu/karmic/python-defaults/launchpad-ppa   * python-defaults (https://code.launchpad.net/~launchpad-committers/ubuntu/lucid/python-defaults/launchpad-ppa)
  * python-support (https://code.launchpad.net/~launchpad-committers/ubuntu/lucid/python-support/launchpad-ppa)
Line 36: Line 83:
 * Sourceful changes - not in bzr branches
  * pysvn - debian/rules required rework to deal with changed Python versions. Should go to branch and should be pushed upstream.
  * python-support:
   * Embedded list of supported python versions is changed.
   * Python version-specific Provides added, so that launchpad-dependencies can enforce a launchpad-modified version.
  * subversion - requires XS-Python-Version amendment. Change to trivial to be worth maintaining in a bzr branch.

 * Sourceful changes - not rebuilt since jaunty, might be able to be no-source-change on next upload
 * No-source-change rebuilds
  * distribute (didn't actually work, was just to facilitate building 2.5 eggs, for which the immediate need passed, so hasn't been fixed.)
  * egenix-mx-base
Line 46: Line 88:
  * python-imaging
  * python-sqlite
  * tickcount

 * No-source-change rebuilds
  * pysvn (no-source-change since lucid; earlier patching in branches)
Line 54: Line 92:
  * python-imaging
Line 55: Line 94:
  * subversion (no-source-change since lucid)
  * tickcount

 * In PPA for karmic but not for lucid:
  * python-sqlite: lucid version is still Python 2.5 compatible

== Other compatibility issues in Lucid ==
These also have gone to "obsolete" PPA.
 * postgresql-8.3: was dropped, we needed it still, and it needed a no-change rebuild to pick up a ${shlibs:Depends} change.
 * python2.5: was dropped, binary-copied last version from the primary archive.
 * slony1pg83: built against postgresql 8.3 instead of 8.4. (https://code.edge.launchpad.net/~launchpad-committers/ubuntu/lucid/slony1/ppa-8.3)

This page is documentation for uploaders to the Launchpad PPA.

The Launchpad PPA (https://launchpad.net/~launchpad/+archive/ppa) contains dependencies for running Launchpad.

launchpad-dependencies

The launchpad-dependencies source is managed in Bazaar branches at https://code.launchpad.net/meta-lp-deps.

Policy/procedure for updates:

  1. You will need bzr-builddeb and debhelper packages installed.
  2. Edit debian/control to add or change the dependencies. Your name + email address must match an identity in your GPG key exactly.
  3. Run 'debchange -i' in the root to increment the version number and add a changelog entry in the correct format. Remember that launchpad-dependencies should not have an ubuntu1 suffix on its version number, so if debchange -i adds that for you, take it out again and increment the unsuffixed version number instead.
  4. debcommit or bzr commit
  5. Exercise personal judgment on whether your change merits a merge proposal, or is sufficiently trivial to just be committed directly.
  6. If preparing a merge proposal, please ensure your branch for review contains a complete debian/changelog entry ready for release.
  7. Go to the trunk (or older distro) branch and merge / commit or pull changes ready to build.
  8. Test-build your package:

    bzr builddeb
  9. Actually build your source upload:

    bzr builddeb -S
  10. Tag it, push it, upload it:

    bzr mark-uploaded
    bzr push lp:meta-lp-deps
    debsign -S
    debrelease --dput -S ppa:launchpad/ppa
  11. If uploading a version from the trunk branch, after it has built, go to the PPA +copy-packages page copy it to all the other distroseries that the trunk branch is currently serving. Use the copy existing binaries option when copying.

After you've done this, you may need to update EC2Test/Image

geoip-data-city-lite

This package is a single data file, which upstream publishes updates to monthly. Why haven't we updated it since 2008?

  • Because we are using it only for tests and updating too frequently may actually break some tests (we've seen it happen). It's no big deal if developers don't get the fully up-to-date geoIP DB. Production uses the proprietary geoIP DB instead. — Danilo (2010-01-21)

bzr-lpreview-body

This package contains the lpreview_body plugin for Bazaar. The packaging can be found in lp:~launchpad/lpreview-body/packaging.

bzr-pqm

bzr-pqm contains various plugins like lp-land. It needs to be maintained for all distroseries that we support development on.

This package is maintained through a recipe. See: https://code.launchpad.net/~launchpad-committers/+recipe/bzr-pqm-launchpad-ppa

pocket-lint

XXX: Explain maintenance process.

python-debian

Needed for bugfixes and renaming of the module from debian_bundle to debian.

xulrunner

Our jslint process requires a Javascript interpreter, ideally Spidermonkey, because Rhino is too slow. The Ubuntu source package of xulrunner no longer builds spidermonkey-bin. Therefore we have the Debian source package, minimally hacked to build only the binary packages which the Ubuntu source no longer provides, in the PPA, from Lucid onwards. (should put this in a branch)

slony1

stub requested an update to slony1 1.2.21 for lucid. https://code.edge.launchpad.net/~launchpad-committers/ubuntu/lucid/slony1/ppa-8.4

Distro series support

At any given time, we will be supporting multiple Ubuntu series in the PPA:

  • The current development series - to permit Ubuntu developers on the bleeding edge to develop Launchpad (currently: maverick).
    • Use pragmatism in deciding when to start supporting a new development series - almost certainly not until alpha 1, at least.
  • The current release - most developers run it (currently: lucid).
  • The current LTS - the datacentre either runs it, or is going to be running it shortly (currently: lucid).
  • The next older LTS, if it's still in use on production datacentre machines (currently: hardy).
  • As many other older releases as it is reasonably practicable to do so, to accomodate developers on older releases (currently: none),


Obsolete packages

Some notes on past contents of the PPA.

Rebuilds to restore older Python support

Most of the PPA used to be rebuilds of python library packages to re-instate support for the old Python version Launchpad required, which was dropped as a supported version in Ubuntu.

In jaunty/karmic, the need was to re-add Python 2.4 support. Launchpad made it to Python 2.5 for Karmic... and then the need was to re-add Python 2.5 support in lucid packages. Now, Launchpad made it to 2.6, and the relevant Lucid packages have been moved to the "obsolete" PPA.

Towards the end, we had most of the rebuilds working via a no-source-change rebuild.

Other compatibility issues in Lucid

These also have gone to "obsolete" PPA.

LaunchpadPpa (last edited 2021-08-24 10:48:34 by cjwatson)