このページは大阪弁化フィルタによって翻訳生成されたんですわ。

翻訳前ページへ


Journal of chorny (7137)
The Wayback Machine - http://web.archive.org/web/20090707114642/http://use.perl.org/~chorny/journal/
Stories
Slash Boxes
Comments

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of chorny (7137)

Friday January 02, 2009
08:42 AM

Automating Freshmeat submissions

Reading about low number of Perl project announces on Freshmeat, I also thought about automating this. Freshmeat has XML-RPC interface for submitting new releases of existing Freshmeat projects. It requires Freshmeat login/pass, project id, branch name (list of them can be fetched using 'fetch_branch_list' method) - can be filled automatically if only one exists, new version, changes (string, no HTML, character limit 600 chars), release focus (number) and different URLs. Some of this fields are missing in CPAN distibutions, so they need to be stored somewhere.

CPAN has 2 modules for XML-RPC: XML::RPC and RPC::XML. RPC::XML hangs on Windows, so I tried XML::RPC. XML::RPC had no tests, and thus failed installation, so I wrote very simple tests and new version was already released.

Example that fetches list of licenses from Freshmeat:

use XML::RPC;

my $xmlrpc = XML::RPC->new('http://freshmeat.net/xmlrpc/');
my $result = $xmlrpc->call( 'fetch_available_licenses', {} );

print join("\n",@$result);

Another CPAN module is WWW::Freshmeat. It can only fetch project description. It has only load test, so I added a real one.

Tuesday June 10, 2008
08:51 AM

James A Duncan from Fotango

Does anybody know e-mail of James A Duncan (worked in Fotango)? I have a serious patch for Attribute::Signature and would like him to apply it, or I can help in co-maintaining it.
Wednesday September 05, 2007
02:14 PM

Stevey's Tech News