Package: dgit Version: 10.0 Severity: minor dgit generates tags of the form suggested by DEP-14 (`debian/1.2.3`) when --dep14tag is set, which is of course just as it should be for most cases, but there are times when one wants to vary from that.
When one is considering native packages for which one is also upstream, DEP-14 includes this recommendation: > In that specific situation, the upstream vendor should not use the usual > <vendor>/ prefix for their branches and tags so one could perhaps default native packages to not generate the 'debian/' bit, but I'd think that it still needs to be configurable. An example of a repo where a non-standard configuration is required to make dgit fit in with the status quo is apt-setup: https://salsa.debian.org/installer-team/apt-setup/-/tags where one can see that the tags are of the form `0.172`. So, in that case the `debian/` bit is missing (fitting in with the above bit about native packages), but also the version includes an epoch, whereas the tags do not. BTW I note that dgit(1) mentions this config setting: dgit-distro._distro_.dgit-tag-format which encourages the assumption that one ought to be able to set something like: dgit-distro.debian.dgit-tag-format = '%v' and get what I'm asking for, but looking at the code makes me think that nothing's making use of that setting at present. Cheers, Phil.