DeveloperResources
6573
Comment: added a forum thread about packaging
|
6731
|
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?
Reference to all new MOTUs [http://www.debian.org/doc/maint-guide/ Debian New Maintainer Guide].
A nice tutorial is available from the [http://women.alioth.debian.org/wiki/index.php/English/PackagingTutorial debian women wiki]
also interesting is this clarification for [http://women.alioth.debian.org/wiki/index.php/English/MaintainerScripts MaintainerScripts]
Also see [https://perso.duckcorp.org/duck/cdbs-doc/cdbs-doc.xhtml CDBS Manual]
For deeper understanding of the packaging process, you might want to have a look at this one: http://women.alioth.debian.org/wiki/index.php/English/BuildingWithoutHelper
For your private archives, this has interesting notes: http://people.debian.org/~calvin/unofficial/
Forum Thread: Howto make debian standards debs from scratch [http://ubuntuforums.org/showthread.php?t=51003&page=1&pp=10]
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
The official seed lists are available here: http://people.ubuntu.com/~cjwatson/seeds/
Germinate output for hoary is available here: http://people.ubuntulinux.org/~cjwatson/germinate-hoary-output/
SeedManagement explains how these pieces fit together to determine which packages go where
Build logs
An explanation of the build daemon processing: BuildDaemons
See whether your package built properly
[http://people.ubuntu.com/~lamont/buildLogs/ Logs by package name]
[http://people.ubuntu.com/~lamont/buildLogs/Lists/ Status for each distribution]
[http://people.ubuntu.com/~lamont/buildLogs/byDate/ Logs index by date]
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 (?)
[http://people.ubuntu.com/~scott/ongoing-merge/README Introduction]
[http://people.ubuntu.com/~scott/ongoing-merge/ Package listings]
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
[http://people.ubuntu.com/~scott/patches/README Introduction]
[http://people.ubuntu.com/~scott/patches/ Package listings]
Ubuntu traffic
Find out what is happening in the Ubuntu developers' world
[http://people.ubuntulinux.org/~mako/ubuntu-traffic/latest.html Latest issue]
[http://people.ubuntulinux.org/~mako/ubuntu-traffic/archives.html Archives of previous issues]
Bugzilla
[https://bugzilla.ubuntu.com/ Main page]
More information on BugTracking
Security Updates
SecurityUpdateProcedures details the special procedures for making security uploads
Broken packages
Britney output (a report of uninstallable packages) can be found here: http://people.ubuntulinux.org/~cjwatson/testing/
DeveloperResources (last edited 2008-08-06 17:00:54 by localhost)