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

Re: Bug#889732: libconfig-model-dpkg-perl: Does not recognize Salsa platform in Vcs field



Hi Dominique,

On Wed, Feb 21, 2018 at 05:48:18PM +0100, Dominique Dumont wrote:
> > Well, to be fair, the URLs (the path part after the host) won't match
> > anyway, and I don't see a way to come up with a generic rewriting
> > scheme.
> 
> How about starting from the value given by 'git remote show -v' ? (may be with 
> a "|grep debian.org" )

For a totally random example I get:

$ git remote -v show 
origin  git@salsa.debian.org:r-pkg-team/r-cran-htmlwidgets.git (fetch)
origin  git@salsa.debian.org:r-pkg-team/r-cran-htmlwidgets.git (push)

I have no idea what might happen for private clones / forks.

I'm not sure whether I'd understand the full plan, whether you want to
save anonscm or whether we'll give up again and will be back here in
2-3 years once salsa will change to something else again. :-(

Kind regards

       Andreas.

-- 
http://fam-tille.de


Reply to: