[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Are two Vcs-{Git|Svn|...} and Vcs-Browser fields sensible?

On 31 January 2016 at 07:47, Jonas Smedegaard <dr@jones.dk> wrote:
> Instead of introducing new flags, I suggest to extend existing flags to
> support "relative URLs" which are somewhere within Debian.
> E.g. the following:
>   Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/ciderwebmail
>   Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/ciderwebmail.git
> ...could - because it uses Debian infrastructure - be shortened:
>   Vcs-Git: pkg-perl/packages/ciderwebmail
>  * Vcs-Git without a colon would (currently, may change in future)
>    expand to git://anonscm.debian.org/$relative_url

Preferably expanded to "https://"; instead of "git://", following what
has been discussed here in the beginning of the month[1][2].

>  * When Vcs-Git field exists without colon and Vcs-Browser is
>    missing, then it is (currently) added as
>    https://anonscm.debian.org/cgit/%f.git

It could be even simpler, as the same HTTPS URL can be used for Git
cloning and web browsing since Alexander Wirt fixed this[3] on


[1]: https://lists.debian.org/debian-devel/2016/01/msg00313.html
[2]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810381
[3]: https://lists.debian.org/debian-devel/2016/01/msg00333.html

Tiago "Myhro" Ilieve
Blog: https://blog.myhro.info/
GitHub: https://github.com/myhro
LinkedIn: https://br.linkedin.com/in/myhro
Montes Claros - MG, Brasil

Reply to: