~kinggoddard/ubuntu-packaging-guide/913934-fix

« back to all changes in this revision

Viewing changes to udd-getting-the-source.rst

  • Committer: Barry Warsaw
  • Date: 2012-02-01 15:33:46 UTC
  • mfrom: (70.1.2 udd)
  • Revision ID: barry@python.org-20120201153346-6th83zmbzo2fyf5e
Updates to UDD workflow.  Thanks for the review Martin Pool!

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
You can use a similar scheme to access the source branches in Debian, although
32
32
there are no shortcuts for the Debian distro-series names.  To access the
33
 
Tomboy branch in the current development series for Debian use:
 
33
Tomboy branch in the current development series for Debian use::
34
34
 
35
35
    debianlp:tomboy
36
36
 
96
96
Ensuring the version is up to date
97
97
----------------------------------
98
98
 
99
 
When you do your ``bzr branch`` you will get a message telling you if the packaging branch is up to date.  Occationally the importer fails and packaging branches do not match what is in the archive.  A message saying::
 
99
When you do your ``bzr branch`` you will get a message telling you if the
 
100
packaging branch is up to date.  For example::
 
101
 
 
102
    $ bzr branch ubuntu:tomboy
 
103
    Most recent Ubuntu version: 1.8.0-1ubuntu1.2
 
104
    Packaging branch status: CURRENT
 
105
    Branched 86 revisions.
 
106
 
 
107
Occasionally the importer fails and packaging branches do not match what is in
 
108
the archive.  A message saying::
100
109
 
101
110
    Packaging branch status: OUT-OF-DATE
102
111
 
103
 
Means the importer has failed.  You can find out why on
 
112
means the importer has failed.  You can find out why on
104
113
http://package-import.ubuntu.com/status/ and `file a bug on the UDD
105
114
project`_ to get the issue resolved.
106
115
 
112
121
 
113
122
    bzr get-orig-source
114
123
 
115
 
The works from bzr-builddeb version 2.7.10.  It will try a number of methods to
116
 
get the upstream tar, firstly by recreating it from the ``upstream-x.y`` tag in
117
 
the bzr archive, then by downloading from the ubuntu archive, lastly by running
118
 
``debian/rules get-orig-source``. The upstream tar will also be recreated when
119
 
using bzr to build the package::
 
124
This will try a number of methods to get the upstream tar, firstly by
 
125
recreating it from the ``upstream-x.y`` tag in the bzr archive, then by
 
126
downloading from the Ubuntu archive, lastly by running ``debian/rules
 
127
get-orig-source``. The upstream tar will also be recreated when using bzr to
 
128
build the package::
120
129
 
121
130
    bzr builddeb
122
131