control: retitle -1 git-debpush: no --follow-tags passthrough option, add 
escape hatches, document policy on passthrough options

Hello,

On Mon 18 Aug 2025 at 11:46am +01, Sean Whitton wrote:

> Adding a --follow-tags passthrough option is probably blocked by [1]
> because we are unlikely to want to implement a workaround for that bug
> sufficient to support --follow-tags, solely so that we can have the
> passthrough option.
>
> [1]  https://gitlab.com/gitlab-org/gitlab/-/issues/558030

Webhooks are subject to a configured limit for the number of tags.
If the push contains more than that number, no webhook is sent at all.
We have asked the salsa admins to raise the limit to 10.[2]

It seems likely that --follow-tags could mean that more than 10 tags get
pushed, in which case the debpush would fail.  So we should

- document in our policy that --follow-tags is like --tags in that it is
  liable to cause problems with tag2upload so isn't a passthrough option

- pass -cpush.followTags=false to git-push to prevent the user's config
  from breaking a push

- add a "BUGS" section to git-debpush(1) explaining the situation and
  noting that one can use the escape hatch to pass --follow-tags which
  will override the -cpush.followTags=false.

[2]  https://salsa.debian.org/salsa/support/-/issues/498

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to