[Piuparts-devel] Bug#352940: Please support testing packages in changes files

Andres Mejia mcitadel at gmail.com
Tue Dec 9 01:00:00 UTC 2008


I've attached an improvement of the previous patch. The main change here is 
with the lines that deal with getting the contents of the 'Files' field. 

It now uses a 'field' variable to determine what field to get contents from. 
This I think could be useful in the future.

The regex is compiled with the VERBOSE flag now so we can have a more readable 
regex with comments of what's supposed to be happening.

Also, we now read the contents of a file into a variable first, and then call 
our regex split() function on that string variable. This I think could be 
useful in the future.

-- 
Regards,
Andres
-------------- next part --------------
A non-text attachment was scrubbed...
Name: piuparts-changes-feature.patch
Type: text/x-diff
Size: 13772 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20081208/127c0995/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20081208/127c0995/attachment.pgp 


More information about the Piuparts-devel mailing list