Re: "debian/main" support or ticket open?

2024-03-18 Thread Simon McVittie
On Mon, 18 Mar 2024 at 10:23:23 +0100, Agathe Porte wrote:
> 2024-03-15 10:16 CET, Simon McVittie:
> > When the GNOME team switched from debian/master to debian/latest, it
> > was a coordinated change applied to every package maintained by the team.
> 
> Do we know if this was automated by a tool/script, or if this was a
> manual effort by multiple people? I would be happy to help update our
> current DPT policy to use DEP-14 and perform the migration.

It was mostly done by Amin Bandali using a script:
https://lists.debian.org/debian-gtk-gnome/2023/08/msg5.html

A few packages needed manual checking afterwards because they were not
consistent with the team's conventions (either already using debian/latest,
or still using master, or some other branch name):
https://lists.debian.org/debian-gtk-gnome/2023/09/msg1.html

smcv



Re: "debian/main" support or ticket open?

2024-03-18 Thread Agathe Porte
Hi,

2024-03-15 10:16 CET, Simon McVittie:
> On Fri, 15 Mar 2024 at 08:10:55 +, c.bu...@posteo.jp wrote:
> > To my knowledge in context of DPT and Salsa the branch name "debian/master"
> > is used. When creating a new package are there any technical reasons not
> > renaming that to "debian/main"?
>
> […]
>
> If there is going to be any change to this branch
> name, then I think it should be to debian/latest as per
>  (which is the name used
> in various other teams like GNOME), not debian/main.

I am guilty of having used `debian/latest` in multiple of my packages
inside the DPT by following DEP-14, because I prefered it to the DPT
branch name and I use DEP-14 in all my other packages.

> When the GNOME team switched from debian/master to debian/latest, it
> was a coordinated change applied to every package maintained by the team.

Do we know if this was automated by a tool/script, or if this was a
manual effort by multiple people? I would be happy to help update our
current DPT policy to use DEP-14 and perform the migration.

Best regards,

Agathe.



Re: "debian/main" support or ticket open?

2024-03-15 Thread c . buhtz

Dear Simon,

thanks for drawing that big picture for me.

That info goes to my Zettelkasten.

Kind
Christian Buhtz



Re: "debian/main" support or ticket open?

2024-03-15 Thread Simon McVittie
On Fri, 15 Mar 2024 at 08:10:55 +, c.bu...@posteo.jp wrote:
> To my knowledge in context of DPT and Salsa the branch name "debian/master"
> is used. When creating a new package are there any technical reasons not
> renaming that to "debian/main"?

Naming is a social thing, not a technical thing, so there is unlikely to be
any technical reason for or against any naming that fits the syntax rules.
One important non-technical reason not to choose a different branch name
for new packages is to keep all the team-maintained packages consistent.

If there is going to be any change to this branch
name, then I think it should be to debian/latest as per
 (which is the name used
in various other teams like GNOME), not debian/main.

Other teams don't use debian/main because that name would be confusing:
in Debian, "main" normally refers to the archive area that is not contrib,
non-free or non-free-firmware (or in Ubuntu, the archive area that is
not universe etc.).

There are basically two models in DEP-14:

1. The latest development happens on debian/latest, and might be uploaded
   to either unstable or experimental, whichever is more appropriate. If
   experimental contains a version that is not ready for unstable,
   and a new upload to unstable is needed, then create a temporary
   debian/unstable or debian/trixie branch for it.

2. Uploads to unstable are done from debian/unstable. Uploads to
   experimental are done from debian/experimental, when needed. There is
   no debian/latest branch.

(1.) probably makes more sense for large teams like this one (and it's
what the GNOME team does). (2.) can be useful if your upstream has a
long-lived development branch, but that's not going to be the case for
most DPT packages.

When the GNOME team switched from debian/master to debian/latest, it
was a coordinated change applied to every package maintained by the team.

smcv



"debian/main" support or ticket open?

2024-03-15 Thread c . buhtz

Hello,

my question is technically only. I don't want to troll or start a 
discussion. So please just say yes or no. ;)


To my knowledge in context of DPT and Salsa the branch name 
"debian/master" is used. When creating a new package are there any 
technical reasons not renaming that to "debian/main"?


It might be that the existing toolchain is not yet able to adapt to it. 
Do we have an open ticket somewhere that I can monitor?


Thanks
Christian Buhtz