DeveloperResources

Differences between revisions 19 and 20
Revision 19 as of 2005-10-04 10:22:18
Size: 6573
Editor: gw
Comment: added a forum thread about packaging
Revision 20 as of 2005-10-08 09:06:57
Size: 6731
Editor: tedo-ip-nas-1-p323
Comment:
Deletions are marked like this. Additions are marked like this.
Line 73: Line 73:
  Shouldn't this be http://changelogs.ubuntu.com ? My Synaptic (hoary) references this URL,
  and ~mvo/changelogs seems to be considerably less complete.

DeveloperResources

"Ubuntu -- where the release cycles are short and furious"

©2005 Adam Conrad

Building packages for Ubuntu

  • Set the target suite in debian/changelog to be 'breezy'. e.g. "dch -D breezy"

  • When working with a package which originated in Debian, use a version number derived from the Debian version number with ubuntu<revision> appended. i.e. Debian 1.0-2 becomes 1.0-2ubuntu1, followed by 1.0-2ubuntu2, etc.

  • Packages not in debian yet should end with revision -0ubuntu1
  • Make source-only uploads, i.e. use "dpkg-buildpackage -S"

  • when uploading to [:REVU], please include the orig tarball (use parameters -S -sa)
  • Once you have created your packages, see [:Uploads] for how to upload
  • You may want to build them in a [:DebootstrapChroot] or in [:PbuilderHowto:pbuilder]

  • You may also build packages using [:BuildDaemons]

  • See also this guide: ["HowToBuildDebianPackagesFromScratch"]

  • Create simple .deb files from source: ["CheckInstall"]

  • Package search by file and on-demand package installation tool: [:AutoApt:auto-apt]

Syncs

  • Syncing a package is importing it unmodified from Debian or another Debian-source repository.
  • NB: syncs (like uploads) can not be reversed or undone. ALWAYS throughly check a package before asking for a sync.

  • You should always sync a package rather than upload the unmodified source by hand.
  • If you know you're going to have to modify the package and make an -<n>ubuntu<n> upload, don't ask for a sync. However, be sure to always use the exact same .orig.tar.gz as Debian (or whoever).

  • If we're in UpstreamVersionFreeze (we are right now), syncs of a newer upstream version to main require explicit UVF exception approval, via email, from Matt Zimmerman or Colin Watson.

  • If there are Ubuntu changes in the current package, you must ensure the Ubuntu changes have been merged or are no longer relevant.
  • Only versions in a 'suite' or 'distribution', i.e. things in a Sources file, can be synced.
  • When requesting a 'sync', please include the following information:
    • Source package name
    • Source version number to sync
    • Where to sync from (e.g. 'sid')
    • [If there are Ubuntu changes] that the ubuntu changes are OK to override
  • The canonical way to request syncs is to first ask 'elmo' on IRC (unless they require approval). Failing that, fall back on email to James Troup <james@ubuntu.com>.

New to packaging?

Package archive

  • Information about the archive and its mirrors can be found on the [Archive] page
  • [http://morgue.ubuntu.com/ The morgue] contains old versions of packages which have been removed or superseded

  • You can [http://packages.ubuntu.com/ search for a package in various Ubuntu releases].

Seed management

Build logs

An explanation of the build daemon processing: BuildDaemons

See whether your package built properly

Changes

For each new version of a package which enters the archive, a message is sent to the [http://lists.ubuntu.com/mailman/listinfo/hoary-changes hoary-changes mailing list]

Changelogs for all packages can be found at http://people.ubuntu.com/~mvo/changelogs/ (this is the source used by update-manager and synaptic).

  • Shouldn't this be http://changelogs.ubuntu.com ? My Synaptic (hoary) references this URL, and ~mvo/changelogs seems to be considerably less complete.

RSS Feeds of these messages are available at http://www.ubuntulinux.nl/files/ [http://www.ubuntulinux.nl/files/warty.xml warty] [http://www.ubuntulinux.nl/files/hoary.xml hoary] [http://www.ubuntulinux.nl/files/breezy.xml breezy]

Ongoing merge

Debian maintainers take note: there is a constant merge from debian sid (unstable) into ubuntu until UpstreamVersionFreeze . After that there is no more automatic merge, but you can request a manual merge in case that you consider that the selected version is sub-optimal. You can see the merge in action on the [http://lists.ubuntu.com/archives/ubuntu-changes-auto ubuntu-changes-auto] mailing list.

Automated merging of packages from Debian unstable into main (?)

A by-product of the automated merging is a set of patches that denote the current difference between Debian and Ubuntu. These are naively categorised and made publically available

Ubuntu traffic

Find out what is happening in the Ubuntu developers' world

Bugzilla

Security Updates

Broken packages


CategoryUbuntuTeams

DeveloperResources (last edited 2008-08-06 17:00:54 by localhost)