gnewsense-users
[Top][All Lists]
Advanced

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

[gNewSense-users] pfv.pl - a hack to speed up PFV


From: Tryggvi Björgvinsson
Subject: [gNewSense-users] pfv.pl - a hack to speed up PFV
Date: Sat, 01 Sep 2007 19:09:12 +0000
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I've hacked together a little script (might be buggy but I was able to
use it when I verified the "a" packages). There might also be a better
way to do things but I just wanted a script as quickly as possible
(before I was forced to split up the "a" package list ;-)).

Usage:
pfv.pl [folder in http://changelogs.ubuntu.com/changelogs/pool/main/]
For example, to verify the "a" packages:
pfv.pl a

The program fetches the copyright notice of the latest version of every
package (under the assumption that the file is simply called
"copyright") and prints the first 10 lines of the file.

If the user is able to see what license it is, the user just types the
name of the license (as it will appear in the wiki table). If the user
is unable to see what license it it, the user just presses <RETURN>
until he does and then types the name.

If the program hasn't seen the license name before, it asks whether it
is free or not (which will show in the Free? column of the wiki table).

The resulting wiki table gets stored in Packages.[foldername]
For example if verifying the "a" packages: Packages.a

You can get the script here: http://www.hi.is/~tryggvib/pfv.pl

Hope you can use it. Feel free to modify it (it's under GPLv3). I would
like the script to be able to find out the name of the license by
itself, that requires some more work.

Happy PFVing :-)

/Tryggvi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFG2bjYTfUwC3N5Fj0RAgdrAJ9b2cj1A+4EyYWnOHQk35RKb1kWjACg04ZQ
kPFQG95Fs/NX66wDqxo6rv4=
=e1ty
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]