Re: DEP-14: Default branch name 'debian/latest' objections?
On Thu, Jan 23, 2025 at 05:06:04PM -0800, Otto Kekäläinen wrote:
> Hi!
>
> Current https://dep-team.pages.debian.net/deps/dep14/ states that the
> default Debian branch name is 'debian/latest':
>
> > In Debian this means that uploads to unstable and experimental should be prepared either in
> > the debian/latest branch or respectively in the debian/unstable and debian/experimental
> > branches.
> ....
> > The helper tools that do create those repositories should use a command like git symbolic-ref
> > HEAD refs/heads/debian/latest to update HEAD to point to the desired branch.
>
> I would be curious to hear why people are *not* adopting 'debian/latest'?
For me the reason is very simple:
git allows use of the the "/" character in some cases to separate a
remote name from a branch name. So, if you say "the branch
debian/latest", it's not clear whether that means "the branch latest in
the remote called debian", or whether it means "the branch debian/latest
in the local checkout". I don't like this type of ambiguity in branch
names.
I have therefore taken to using a dash ("-"), rather than a slash, to
separate the "debian" part from the target distribution, as you can see
in my repositories of nbd and old at https://salsa.debian.org/wouter/nbd
and https://salsa.debian.org/wouter/ola. I would be happy with a
different character too if there are good reasons not to use a dash, as
long as it's not a slash :)
--
w@uter.{be,co.za}
wouter@{grep.be,fosdem.org,debian.org}
I will have a Tin-Actinium-Potassium mixture, thanks.
Reply to: