Hi! Please consider following me on twitter: @hanekomu.
2010年04月14日
PAUSE Web Service API and other Perl QA Hackathon results
In this blog post I'd like to talk about what I got done during the Perl QA Hackathon.
On Saturday I wrote a command for Dist::Zilla that uses Devel::Cover to generate code coverage metrics for a distribution: Dist::Zilla::App::Command::cover. Also I added plugin support to App::perlzonji (the more knowledgeable perldoc) so you can provide your own information sources. Ovid got interested in DB::Pluggable and wrote DB::Pluggable::Dumper; I'll try to refactor part of his work back into the main module.
On Sunday I talked with Andreas König about a Web Service API for PAUSE. I want to be able to edit maintainership permissions, add module registration metadata and delete files without having to use the PAUSE web site. Andreas agreed that this would be a good thing to have. In the first phase, to see how this all works out, we'll provide read-only access to the PAUSE data.
Writing a PSGI/Plack application was the obvious choice, and during dinner on Sunday evening miyagawa explained to me how Tatsumaki works. On Monday rafl, whose computer had unfortunately stopped working on Sunday, helped me with using non-blocking features of Tatsumaki.
Basically Tatsumaki is a framework for writing PSGI applications. Of course you can write raw PSGI applications, but Tatsumaki offers non-blocking support, path routing and takes care of the request and response objects for you. Writing a proof-of-concept PAUSE Web Service only took a few dozen lines. The API so far only consists of a few minor GET URLs and is not live yet. Have a look at PAUSE-Web on GitHub.
I also wrote a PAUSE client library to talk to the API, see PAUSE-Client on GitHub. This was really easy thanks to WebService::Simple.
In future posts I will talk more about the PAUSE Web Service API and how it is implemented.
posted at: 10:26 | path: /dev | permalink | 0 comments | 0 trackbacks
2010年04月13日
This was the Perl QA Hackathon in Vienna
The Perl QA Hackathon 2010 in Vienna is over and has been a great success. It was fun, interesting, inspiring, intensive and tiring. Seeing the Perl friends again felt very good.
We met on Friday early evening and parted on Monday late evening, so the hackathon was about as long as a YAPC would be, but because there were only about thirty people and they were all in the same room, it was much easier to talk to everyone, exchange ideas and work together.
Flights, hotel costs, lunches, dinners, drinks and snacks were all paid for by Vienna.pm with the help of the hackathon sponsors, 123people.at and the Österreichische Bibliothekenverbund (the Austrian Library Network and Services Ltd).
I've uploaded my photos from the weekend to Flickr.
On Sunday and Monday there were a total of three stand-up sessions where each of us talked a bit about what he had achieved so far. brian d foy recorded them:
domm blogged about the first day of the hackathon as well. Ovid wrote about his work at the hackathon.
posted at: 16:54 | path: /conferences | permalink | 0 comments | 0 trackbacks
2010年04月01日
The CPAN Leaderboard as an arcade game High Score screen
The CPAN Leaderboard shows CPAN authors ranked by the number of modules — but use this with care as it doesn't say anything about the quality of one author's distribution.
If CPAN was an arcade game, its high score screen might look a bit like this:
posted at: 15:13 | path: /misc | permalink | 4 comments | 0 trackbacks
