upload of 0.1.5 done - tagging issues

Adeodato Simó dato at net.com.org.es
Sun Aug 19 09:29:59 UTC 2007


* Stefano Zacchiroli [Sun, 19 Aug 2007 11:11:55 +0200]:

> On Sun, Aug 19, 2007 at 11:00:38AM +0200, Adeodato Simó wrote:
> > > Have we considered using bzr tags instead?
> > I would muchly prefer this over copying directories. If nobody disagrees
> > in a couple of days, I'll go ahead and add the tags to trunk/ (I'll
> > upgrade the format first; note bzr >= 0.15 will be needed then), and
> > remove the directories?

> I'm totally in favour.

Cool.

> Noob question though, let's assume in the future we need to branch a dir
> for working on an old version (e.g. one which is in stable). There would
> be no problem in the versioning (since the version will probably have a
> "+stable" or something), but it's not clear to me how can I start
> branching from a given tag name. Can the tag name be used as the
> FROM_LOCATION argument of bzr branch? I haven't found any other clue in
> the manpage ...

You use the -r argument:

  % b help branch
    -r ARG, --revision=ARG
                          See 'help revisionspec' for details.

So the same you can do `bzr branch -r 10 trunk stable`, you can do `bzr
branch -r tag:0.1.4-1 trunk stable`.

> > Any preferences on the tag format? "python-debian_x.y.z-a" is an
> > option, with just "x.y.z-a" being another.

> Uhm .. as a first though I were for the latter. But (assuming the tags
> namespace is "global" and not relative to a given repository subdir) we
> may hand up in name clashes if we in the future have the need of
> maintaining another debian package in the archive. Unless the tags can
> be made relative to a dir I would then go for the former.

Tags are local to each branch, even if they're in the same repository.
(In Bazaar, repositories are just an optimization that does not make the
branches in it contained related in any way. It only happens that they
will look for revision data in the same place, which means for branches
of the same project only one copy is stored.)

"x.y.z.-a" it is, then.

Cheers,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                                       Listening to: Carlos Cano - Laila




More information about the pkg-python-debian-maint mailing list