On Wed, 14 May 2025 at 09:47:18 +0100, Sean Whitton wrote:
On Wed 14 May 2025 at 10:41am +02, PICCA Frederic-Emmanuel wrote:So where do we put the upstream git URL If I read this part of DEP-14, I have the information that the remote should be named 'upstreamvcs' but nothing about where to put this url in our Debian files.
debian/upstream/metadata, Repository field.For example try `gbp clone --add-upstream-vcs vcsgit:sdl2-compat` which uses this field. To make `gbp clone` do this automatically whenever this information is available, you can write
[DEFAULT] add-upstream-vcs = Trueinto ~/.gbp.conf (I personally think this should be the default, but currently it isn't).
There is the Source field in d/copyright where you can put a git remote URL.
This isn't typically machine-readable and often isn't a git repository at all (it can equally well be a download page for official source-code archives, or include free-form text comments about where the source came from), whereas debian/upstream/metadata is designed to be machine-readable and the Repository field is specified to be always a VCS of some sort.
smcv