[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debianized upstream source branch name



On Tue, Nov 18, 2025 at 08:30:55AM +0000, Nick Morrott wrote:
> On Tue, 18 Nov 2025 at 08:00, Andrey Rakhmatullin <wrar@debian.org> wrote:
> >
> > On Mon, Nov 17, 2025 at 10:20:39PM -0300, Aeliton G. Silva wrote:
> 
> <snip>
> 
> > >I was having a look at the python-lsp-server repository and the branch
> > >debian/main does not exist whilst debian/master does.
> >
> > Yes, you need to look at the branches to find which is the debian-branch
> > one.
> 
> If in doubt, always check to see if debian/gbp.conf exists and what
> debian-branch is set to.

As others said, "in which branch would you look for that file?" :)

So another recommendation: if in doubt, check the package out from
its Salsa repo and see which branch you get. I assume that this may be
automated either via the Salsa API; there is also a somewhat weirder way:

  [roam@straylight ~]$ git ls-remote --symref https://salsa.debian.org/python-team/packages/test-stages.git HEAD
  ref: refs/heads/debian/unstable HEAD
  123b8be7b574032315c544ebe90d820cfa608a7c        HEAD
  [roam@straylight ~]$

...so for this repo, the default branch is debian/unstable.

G'luck,
Peter

-- 
Peter Pentchev  roam@ringlet.net roam@debian.org peter@morpheusly.com
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

Attachment: signature.asc
Description: PGP signature


Reply to: