On Wed, Dec 20, 2017 at 08:11:23PM +0100, Christoph Berg wrote: > Fwiw, the -b syntax was not invented by vcswatch, it was in use in the > archive before I wrote the service. I can't find a place where it is > documented (I thought it was debcheckout(1), but it's not in there), > but the idea behind it is that you can you paste the Vcs-Git header > content to "git clone" and it will do the right thing.
It's in Debian Policy of course! :) https://www.debian.org/doc/debian-policy/#version-control-system-vcs-fields |In the case of Git, the value consists of a URL, optionally followed |by the word -b and the name of a branch in the indicated repository, |following the syntax of the git clone command. If no branch is |specified, the packaging should be on the default branch. > (I'm still pondering how a syntax for "package is located in this > subdirectory" should look like, but as that's not supported by "git > clone", I couldn't think of anything yet that would at least look like > the -b syntax. There's a need for it, though.) There was a very long discussion about this in d-d@ some months (years already, maybe!?) while discussing a detail from DEP-14. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature