On Mon, 23 Dec 2013 20:06:23 +0100, gregor herrmann wrote:
> > > A possible solution might be DEP12/UMEGAYA, the spec for a
> > > debian/upstream file.
> [..]
> > > This spec has all kinds of interesting fields, among them Repository.
> > > (And also things like Bug-Submit which we might want to use in `dpt
> > > forward-{bug,patch}. Oh, and they probably also need github support.
> > > But I digress.)
> >
> > All that is needed as I see it is a URL usable for "git clone".
> >
> > Copyright file format 1.0 supports multiple URLs in Source: header
> > field. My current practice is to look for git:// URLs there.
> >
> > So no need to introduce new metadata file for most common needs.
>
> Also a nice idea, and saves same work; OTOH using debian/upstream
> would allow us to store more information which might or might not be
> handy for other purposes.
FWIW, I've commited a simple dpt-debian-upstream script to
pkg-perl-tools's git repo.
Not sure if I got the mapping between CPAN::Meta::Spec and
UpstreamMetadata right but it's a beginning :)
(Just in case we might need it ...)
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Simply Red: Holding Back The Years
Attachment:
signature.asc
Description: Digital signature