~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/releasing.txt

  • Committer: Martin Pool
  • Date: 2008-06-03 07:03:55 UTC
  • mto: This revision was merged to the branch mainline in revision 3491.
  • Revision ID: mbp@sourcefrog.net-20080603070355-65ca5vd490vj9rnk
Doc updates re PPAs

Show diffs side-by-side

added added

removed removed

Lines of Context:
264
264
----------------------------------
265
265
 
266
266
We build Ubuntu ``.deb`` packages for Bazaar as an important part of the release
267
 
process.  These packages are hosted in a `Personal Package Archive (PPA)`__ on
268
 
Launchpad, at <https://launchpad.net/~bzr/+archive>.
 
267
process.  These packages are hosted in a few `Personal Package Archives (PPA)`__ on
 
268
Launchpad.
269
269
 
270
270
  __ https://help.launchpad.net/PPAQuickStart
271
271
 
 
272
As of June 2008, there are actually two PPAs:
 
273
 
 
274
<https://launchpad.net/~bzr/+archive>
 
275
    Final released versions.
 
276
 
 
277
<https://launchpad.net/~bzr-beta-ppa/+archive>
 
278
    Releases and release candidates.    
 
279
 
272
280
We build packages for every supported Ubuntu release
273
281
<https://wiki.ubuntu.com/Releases>.  Packages need no longer be updated
274
282
when the release passes end-of-life because all users should
275
 
updated by then.
 
283
updated by then.  (As of May 2009, Edgy Eft is no longer supported.)
276
284
 
277
285
The ``debian/`` directory containing the packaging information is kept in
278
286
branches on Launchpad, named like 
289
297
* Configure ``dput`` to upload to our PPA with this section in your
290
298
  ``~/.dput.cf``::
291
299
 
 
300
    [bzr-beta-ppa]
 
301
    fqdn = ppa.launchpad.net
 
302
    method = ftp
 
303
    incoming = ~bzr-beta-ppa/ubuntu
 
304
    login = anonymous
 
305
    allow_unsigned_uploads = 0
 
306
 
292
307
    [bzr-ppa]
293
308
    fqdn = ppa.launchpad.net
294
309
    method = ftp
296
311
    login = anonymous
297
312
    allow_unsigned_uploads = 0
298
313
 
 
314
  You may also want to add these lines to prevent inadvertently attempting
 
315
  to upload into Ubuntu or Debian, which will give a somewhat unclear
 
316
  error::
 
317
 
 
318
    [DEFAULT]
 
319
    default_host_main = notspecified
 
320
  
 
321
    [notspecified]
 
322
    fqdn = SPECIFY.A.PPA.NAME 
 
323
 
299
324
* You need a Ubuntu (or probably Debian) machine, and ::
300
325
 
301
326
    sudo apt-get install build-essential devscripts dput quilt patch
374
399
   Check that file is reasonable: it should be uploading to the intended
375
400
   distribution, have a .orig file included, and the right version number.
376
401
 
377
 
#. Upload into the PPA::
 
402
#. Upload into the appropriate PPA, either ``bzr-ppa`` or
 
403
   ``bzr-beta-ppa``::
378
404
 
379
405
     dput bzr-ppa ../bzr__1.3-1\~bazaar1\_source.changes
380
406
 
381
 
   Don't forget the ``bzr-ppa`` component or dput will try to upload into
382
 
   the main archive by default.  You can disable this by adding this
383
 
   section to your ``.dput.cf``::
384
 
 
385
 
     [ubuntu]
386
 
     fqdn = SPECIFY.A.PPA.NAME
387
 
 
388
407
#. Copy the uploaded package over to other Ubuntu releases, taking advantage 
389
408
   of Launchpad's Copy Package feature <https://launchpad.net/~bzr/+archive/+copy-packages>
390
409
 
391
 
   **Caution:** Make sure the dependencies are the same between Ubuntu releases,
392
 
   Dapper has different dependencies, but others might change in time.
 
410
   **Note:** The packaging dependencies may vary between different distro series.
 
411
   As of bzr 1.5, Dapper uses ``python-support`` and later distributions use 
 
412
   ``python-central``.
393
413
   If you upload a release-specific version, you should add a ~release1 to
394
414
   the package version, for example:: bzr.1.3-1~bazaar1~dapper1
395
415
 
404
424
  apt-cache madison bzr
405
425
 
406
426
..
407
 
   vim: ft=rst tw=74 ai
 
427
   vim: filetype=rst textwidth=74 ai shiftwidth=4