Module::Packaged

acme on 2003-11-17T12:42:02

I've been talking about this for a while, but I finally got around to coding the initial part of Module::Packaged. Given a distribution, it will tell you what version it is on CPAN, and the version it has on Gentoo (if it's there at all). Of course, the whole point of this is that it can be extended to handle Debian (stable, testing, unstable), FreeBSD, OpenBSD, NetBSD, Redhat versions and whatever you particularly care about.

I stole the idea from DistroWatch. It's handy for seeing "Which of my modules is on Debian?", "Which Acme:: modules are packaged in Linux distributions?" and "How out of date is Gentoo?". Of course, patches are needed and very welcome for supporting distributions other than Gentoo...

Update: Thanks to Richard Clamp it now supports Debian and FreeBSD, woo...


Masked ebuilds

simonflk on 2003-11-17T15:21:31

I like it. Of course dev-perl/Archive-Tar 1.05 is available on gentoo (it's just masked). I'm not sure how you can check that reliably.

If your portage tree is up-to-date you could list files in /usr/portage/dev-perl/Archive-Tar/. Probably better to scrape the ebuild cvs page

Re:Masked ebuilds

acme on 2003-11-17T16:07:56

Right, I decided to ignore masked ebuilds in Gentoo. If I worried about them, I might as well worry about the different architectures as well and then it'll look a little more like packages.gentoo.org...

Module::Packaged is all about the default case because there is only so much I'm prepared to screen-scrape ;-)

Re:Masked ebuilds

simonflk on 2003-11-17T16:51:27

Good point.

packages.gentoo.org...

I was looking for that. Tried searching the forums and the GWN, but couldn't find it.