On 2008 Dec 16, at 23:00, Timothy S. Nelson wrote:
One thing I've been working on recently is a (Perl 5) object that
models package metadata. In theory, it should be able to model the
metadata from a .rpm, a .deb, a CPAN package, or whatever. Then you
read the data using a "metadata input class", and write it using a
"metadata output class". This would mean that eg. CPAN metadata
could be turned into RPM metadata, but also vice versa. Debian
would naturally be convertible into either of these.
The model isn't CPAN-specific, but relying on such a setup would
save work for everyone.
You might want to look at "alien" first, to get an idea of what can be
done --- and what can't.
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH