On Thu, Jan 04, 2018 at 04:01:18PM +0000, Holger Levsen wrote:
> > Personally, in this case I would say you need to change two things:
> > 1) edit the remote repository configuration so HEAD points to the debian
> > branch
> > 2) change Vcs-Git of the version in experimental by adding '-b debian-experimental'
>
> hm. how "personally" is that? will my simple suggestion also by
> sufficient? why do you suggest what you suggest?
Your suggestion is definitly enough for all automated tools (and for
users using debcheckout).
> > (but it should be pointing to 'debian', really).
>
> why oh why?
Because that way people running
git clone alioth:/git/collab-maint/munin.git
like me (I'm even more evil, I'd do `git clone cm:munin`) will then get
the packaging branch without further specifying flags for branches and
stuff.
> and why shouldnt we let the default branch be master, like in the upstream
> repo?
Quoting from the Policy about Vcs-*:
| The field’s value uses the version control system’s conventional
| syntax for describing repository locations and should be sufficient to
| locate the repository used for packaging. Ideally, it also locates
| the branch used for development of new versions of the Debian package.
That means that the Vcs-* fields should ideally point to the packaging
branch. I like to take this one step further, as really what's in
alioth is all about debian packaging, the default branches IMHO should
be a packaging branch.
> to me its very simple: if there is a debian branch, this is the branch
> for debian packaging. if there isnt, the debian stuff is probably in the
> master branch…
Right, probably everybody if what they look for is not in the default
branch, they have a look around at the available branches and can
easily figure it out. But really there ought to be no guesswork
involved at all...
But yes, specifying -b in Vcs-Git is really all that's expected (and it
will definitly make vcswatch happied :))
--
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 `-
Attachment:
signature.asc
Description: PGP signature