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

Re: Using uscan with VCS hosting sites



Ben Finney dijo [Wed, May 06, 2009 at 04:31:02PM +1000]:
> [no answers for this yet on ‘debian-mentors’, so trying here]
> 
> Howdy all,
> 
> I have an upstream for a package who has started using a VCS hosting
> site for publishing the code. It's possible they will continue to make
> tarball releases, but in case they don't at some point in the future,
> I'd like to use this as an opportunity to learn the capabilities of
> ‘uscan’.
> 
> The package in question is ‘python-coverage’, and already has a
> ‘debian/watch’ file:
> 
> =====
> […]
> # Current version from Ned Batchelder's site
> http://nedbatchelder.com/code/modules/coverage.html \
>     code/modules/coverage-(.*).tar.gz
> =====
> 
> The author is now publishing their source code for this package at
> <URL:http://bitbucket.org/ned/coveragepy/>, a project hosting site using
> Mercurial for VCS. That service makes available URLs for tags in VCS
> repositories, but the tags are not in the URLs themselves, only in the
> text of the ‘A’ elements:
> (...)

Your situation seems similar to what I faced with github - I set up a
redirector at http://githubredir.debian.net/ - This takes a Git tree
as exported by Github and gives the links for each of the tags. 

Now, there are some caveats - Mainly, the orig.tar.gz files are not
_always_ identical, I guess due to timestamping differences. But it
works for me. And source code is available from the page.

Greetings,

-- 
Gunnar Wolf - gwolf@gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF


Reply to: