513
513
----------------------------
515
515
#. Post to the ``bazaar@lists.canonical.com`` and
516
``bzr-packagers@list.launchpad.net`` lists, saying that the source has
516
``bzr-packagers@lists.launchpad.net`` lists, saying that the source has
517
517
been frozen. Be extra clear that this is only a *source* release targeted
518
518
at packagers and installer builders (see
519
519
<https://bugs.launchpad.net/launchpad/+bug/645084>). This is the cue for
551
551
<http://doc.bazaar.canonical.com>. It should be automatically build when
552
552
the branch is created, by a cron script ``update-bzr-docs`` on
553
553
``escudero``. When the first release is created in a new series, a branch
554
needs to be created on zhongshan::
554
needs to be created on ``escudero``::
556
ssh zhongshan.canonical.com
556
ssh escudero.canonical.com
557
557
sudo -u bzr-web -s
558
558
cd /srv/doc.bazaar.canonical.com/
559
bzr branch http://bazaar.launchpad.net/~bzr-pqm/bzr/2.6 bzr/bzr.2.6
559
bzr branch lp:bzr/2.7 bzr/bzr.2.7
561
561
And the ``bzr/bin/update-bzr-docs`` script needs to refer to it.
640
640
#. Update `<http://en.wikipedia.org/wiki/Bazaar_(software)>`_ -- this should
641
641
be done for the stable and beta releases.
643
#. Update the python package index: <http://pypi.python.org/pypi/bzr> - best
646
python setup.py register
643
#. Update the python package index: <http://pypi.python.org/pypi/bzr>
645
From the tarball created and tested earlier ::
647
twine upload -s ../bzr-2.7.0.tar.gz
648
649
Remember to check the results afterward -- this should be done for
649
650
stable releases but not for beta releases nor SRUs.
651
To be able to register the release you must create an account on
652
<http://pypi.python.org/pypi> and have one of the existing owners of
653
the project add you to the group.
652
The ``twine`` command is provided by the ``twine`` package on Debian and
655
If in doubt, you can test with <https://testpypi.python.org/pypi> where
656
you can register yourself, register the bzr project and upload (and then
657
remove the upload and delete the project so a new release manager can
658
enjoy the same facilities). If the project already exists, have one of
659
the existing owners of the project add you to the group.
661
To use the pypi test site, you need to record your credentials for an
662
existing user (the registration process is manual and starts at
663
<https://testpypi.python.org/pypi?%3Aaction=register_form>.
665
Once registered, you can record your crdentials in your ``~/pypirc`` file
669
username:<login on testpypi>
670
password:<password on testpypi>
671
repository = https://testpypi.python.org/pypi
673
Registering the bzr project if doesn't exist is achieved with::
675
python setup.py -r https://testpypi.python.org/pypi register
677
Uploading is done with::
679
twine upload -r testpypi -s ../bzr-2.7.0.tar.gz
681
To be able to upload the release you must create an account on
682
<http://pypi.python.org/pypi> and have one of the existing owners of the
683
project add you to the group and update your ``[pypi]`` section in your
656
687
Merging the released code back to trunk