On Fri, 31 Jul 2026 19:22:32 +0100, Ian Jackson wrote:

gregor herrmann writes ("Bug#1143205: git-debpush: should push upstream branch (for 
gpb repos)"):
I noticed that git-debpush doesn't push the upstream branch to salsa
(for a typical gbp-style package) which can (and, in retrospect, has)
lead to troubles for teams using this laylout.
Hrm. I see your point.

Thanks.

I thin we need to think, though, about when
this should happen.

Right

How about this for the conditions:

* upstream tag that we used for the upload is named upstream/...
  (indicating use of a separate Debian upstream branch)

* upstream tag points to a commit that's on the local upstream
  branch which is fast forward from the remote upstream branch
  (or remote upstream branch is absent).
  Ie, pushing the upstream branch would make the tagged commit
  reachable from the upstream branch.

Sounds good at first glance.


Is it any help that git-debpush detects or is told (or both) that it's acting in a gbp-layout repo? I.e. can it then know about the branches and just push them?


Cheers,
gregor

--
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`-

Attachment: signature.asc
Description: Digital Signature

Reply via email to