Package: git-debpush Version: 13.16 A user reports on irc (identifying details redacted):
My repo is salsa.d.o/user/package. The upstream remote of my local repo is user/package. I would like tag2upload to only kick-off if I push the tag to `package-team` and not to `user` (where I push a lot of untested stuff). But I know that one day I'll forgot to pass `--remote=package-team` to git-debpush. Personally, where I have personal forks, I have the main repo as origin but use remote.pushDefault. I think this lends itself to the same risk (and the only reason I haven't had to pass --remote is that for many packages I put my working branches in the main repo). I think ideally we want users not to have to routinely pass --remote. And we might want something to spot when things are wrong. Possible sources of information include: * git tracking branch information * git branch name (eg, like gbp complaining about being on the wrong branch, although hopefully better at DTRT). * Vcs-Git * Some in-tree config for git-debpush. We should have half an eye on future support for non-maintainer-workflow NMUs, but that situation is sufficiently different I think it would suffice to merely note which of our assumptions would be violated in that scenario. Ian. -- Ian Jackson <[email protected]> These opinions are my own. Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.

