This page is part of the daily release process documentation

Prepare for autolanding

Packaging checklist

$ rm -rf debian/patches debian/source

(if there is a quilt patch and it actually applies cleanly, then you'll need to apply it and commit the change separately from the package inlining commit).

Check about copyright attribution.


$ rm -rf debian/watch




$ wrap-and-sort -a -t

The -t option is a recent addition which will add a trailing-coma on the last dependency.



Homepage: https://somehomepage.com/important-user-information


# if you don't have have commit access to this branch but would like to upload
# directly to Ubuntu, don't worry: your changes will be merged back into the
# upstream branch
Vcs-Bzr: lp:[project-name]



export DPKG_GENSYMBOLS_CHECK_LEVEL=4


%:
        dh $@ --with autoreconf

override_dh_autoreconf:
        NOCONFIGURE=1 dh_autoreconf ./autogen.sh


override_dh_install:
        dh_install --fail-missing

The current recommended way of doing it is adding --fail-missing to the main dh command, for instance something like this:

%:
        dh $@ --with autoreconf --fail-missing


# Act differently if this is a native (daily) build or not.
ifneq ($(wildcard autogen.sh),)
  DEB_BUILD_OPTIONS += nostrip
endif


$ dch -i


mkdir -p .bzr-builddeb
cat >.bzr-builddeb/default.conf <<EOF
[BUILDDEB]
split = True
EOF

$ bzr add .bzr-builddeb debian/


$ bzr bd

Fix any errors you may discover.


$ cd ..
$ pbuilder-dist raring *dsc

Fix any errors you may discover.


$ bzr commit
$ bzr push lp:~/[project]/inline-packaging


Getting it ready for autolanding

Once we have a package that we think is ready for autolanding, there is some checks needed:

If you answered yes to all those questions, congrats! let's get it automatically landing then Smile :)

Packaging

  * Automatic snapshot from revision <rrrr> (bootstrap)

<rrrr> can be safely replaced with the bzr commit revision id of the latest release (pushed in ubuntu). This is only for the bootstrap, then, everything is automated. If you don't put it, revision 1 will be taken as a reference. Smile :)

Setting the component on the stack


CategoryPackaging

DailyRelease/InlinePackaging (last edited 2015-06-17 22:27:51 by S0106602ad0804439)