Beginning a DEP5 debian/copyright parsing module

John Wright jsw at debian.org
Sat Aug 30 02:11:30 UTC 2014


On Fri, Aug 29, 2014 at 06:47:02PM -0700, Stefano Zacchiroli wrote:
> On Fri, Aug 29, 2014 at 04:55:14PM -0700, John Wright wrote:
> > This is the first few patches of a series to add a copyright module for
> > parsing DEP5-format debian/copyright files.
> 
> That's awesome! I'd be thinking about something like this since quite a
> while.

Cool.  This is also in the BTS as http://bugs.debian.org/671485.

> I haven't tried it yet, but I have been tracking the amount of DEP5
> files in the Debian archive since quite a while, using the
> sources.debian.net corpus.  This means that I've a potentially pretty
> interesting test suite for you.
> 
> If you like the idea, how about preparing an executable script that
> stress test the parser, and then I run it on all the DEP5 files in the
> archive?

That sounds great.  There's not currently enough functionality for that
to be a useful test (it's only parsing the header currently), but I'm
hoping to get there in the next day or two.

> (of course, we can talk about this F2F at DebConf if you're still
> around, I'm currently sitting in hacklab 3rd floor)

Yeah, let's talk about it either later tonight or tomorrow?  I've been
too lazy to get a corpus to play with (just been using examples on the
documentaiton page).  If you've already got a bunch you can just hand
me, that'd save me some time.

-- 
John Wright <jsw at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20140829/2119841a/attachment.sig>


More information about the pkg-python-debian-maint mailing list