On Tue, May 24, 2016 at 11:24:43PM +0200, Iustin Pop wrote: > A potential syntax for the Vcs-* fields would be: > > Vcs-Git: https://anonscm.debian.org/git/pkg-haskell/DHG_packages.git/ p/ghc
I think something like this, or with the equivalent expressivity, would be useful and welcome, yes. I just wonder whether we should also take the chance of improving the spec in a way that will allow, down the line, to automatically find the actual packaging code also in other, more complex situations. Specifying a branch is the first thing that comes to my mind. But we have seen in the past that it might also be useful to be able to specify the given layout of the Git repository (i.e., is it a debian/ only, is it split debian/upstream, is it merged debian/upstream, etc). All this considering, here are a few options: 1) URL [DIR] <- what you suggested 2) URL [dir=DIR] where "dir" is an actual string, in keyword-argument style, that makes it explicit what the extra optional argument means. This would allow in the future to have other extra arguments without creating ambiguity. This would allow something like the following: 3) URL [dir=DIR] [branch=BRANCH] [layout=LAYOUT] I really worry that (1) might be something too simplistic that we regret in the future. So (2) might be more wise. (3) is probably overkill at this point, because I don't think we're ready for the layout bikeshed. Cheers. -- Stefano Zacchiroli . . . . . . . z...@upsilon.cc . . . . o . . . o . o Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o Former Debian Project Leader . . . . . @zacchiro . . . . o o o . . . o . « the first rule of tautology club is the first rule of tautology club »
signature.asc
Description: PGP signature