Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #17169

Re: Debianized upstream source branch name

From Peter Pentchev <roam@ringlet.net>
Newsgroups linux.debian.maint.python
Subject Re: Debianized upstream source branch name
Date 2025-11-18 11:30 +0100
Message-ID <LSr8e-dRyB-15@gated-at.bofh.it> (permalink)
References <LSoWJ-dQ0N-7@gated-at.bofh.it> <LSoWJ-dQ0N-5@gated-at.bofh.it> <LSppL-dQfi-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar


Thread

Re: Debianized upstream source branch name Andrey Rakhmatullin <wrar@debian.org> - 2025-11-18 09:10 +0100
  Re: Debianized upstream source branch name Nick Morrott <knowledgejunkie@gmail.com> - 2025-11-18 09:40 +0100
    Re: Debianized upstream source branch name Andrey Rakhmatullin <wrar@debian.org> - 2025-11-18 09:40 +0100
      Re: Debianized upstream source branch name Nick Morrott <knowledgejunkie@gmail.com> - 2025-11-18 12:20 +0100
        Re: Debianized upstream source branch name Andrey Rakhmatullin <wrar@debian.org> - 2025-11-18 12:30 +0100
    Re: Debianized upstream source branch name Peter Pentchev <roam@ringlet.net> - 2025-11-18 11:30 +0100

csiph-web