[RFC] including revision ids/revnos in releases

Martin Pool mbp at canonical.com
Thu Jul 17 23:56:02 BST 2008


On 7/18/08, John Arbash Meinel <john at arbash-meinel.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
>
>  One thing I'd like to add to the release process, is somehow embedding
>  the revision id into the release. This could be a simple as just doing
>  "bzr version-info --format=python > bzrlib/_version_info.py". Though we
>  also need to hook up the other code so that it gets printed by 'bzr
>  - --version'. We already will open a containing branch, the idea is to
>  just get that same information into the release.
>
>  The biggest reason why I'm thinking of it now, is because I want to put
>  together an installer for win32, which matches the exact revision that
>  Martin put into the PPA.
>
>  However, it wasn't tagged, and we didn't create a 1.6 branch (because it
>  is only a beta release.) For now, I'll just grab the tarball, but it
>  would be nice if that information was available at runtime.

It actually tagged, I just didn't merge the branch back yet.

I agree that would be a good idea to add, I'll put up a patch.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list