2013-04-15 21:01:54 -04:00
|
|
|
Maintainer duty
|
|
|
|
===============
|
|
|
|
|
|
|
|
Ubuntu allows developers to use their PPA (Personal Package Archive)
|
|
|
|
repository. This is very convenient for the users as they just need to add
|
|
|
|
the PPA address, update their package database and use the apt-get tool.
|
|
|
|
|
2013-04-18 00:10:53 -04:00
|
|
|
For now, the official lxc-docker package is located on launchpad and can be
|
|
|
|
accessed adding the following line to /etc/apt/sources.list ::
|
|
|
|
|
2013-04-15 21:01:54 -04:00
|
|
|
|
|
|
|
deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main
|
|
|
|
|
|
|
|
|
2013-04-18 00:10:53 -04:00
|
|
|
Releasing a new package
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~
|
2013-04-15 21:01:54 -04:00
|
|
|
|
2013-04-23 16:51:03 -04:00
|
|
|
The most relevant information to update is the packaging/ubuntu/changelog file:
|
2013-04-15 21:01:54 -04:00
|
|
|
Each new release should create a new first paragraph with new release version,
|
2013-04-23 16:51:03 -04:00
|
|
|
changes, and the maintainer information. The core of this paragraph is
|
|
|
|
located on CHANGELOG.md. Make sure to transcribe it and translate the formats
|
|
|
|
(eg: packaging/ubuntu/changelog uses 2 spaces for body change descriptions
|
|
|
|
instead of 1 space from CHANGELOG.md)
|
2013-04-15 21:01:54 -04:00
|
|
|
|
|
|
|
Assuming your PPA GPG signing key is on /media/usbdrive/docker.key, load it
|
|
|
|
into the GPG_KEY environment variable with::
|
|
|
|
|
|
|
|
export GPG_KEY=`cat /media/usbdrive/docker.key`
|
|
|
|
|
|
|
|
|
|
|
|
After this is done and you are ready to upload the package to the PPA, you have
|
|
|
|
a couple of choices:
|
|
|
|
|
2013-04-23 16:51:03 -04:00
|
|
|
* Follow packaging/ubuntu/README.ubuntu to generate the actual source packages
|
|
|
|
and upload them to the PPA
|
|
|
|
|
2013-04-15 21:01:54 -04:00
|
|
|
* Let vagrant do all the work for you::
|
|
|
|
|
|
|
|
( cd docker/packaging/ubuntu; vagrant up )
|