Interacting with PAUSE using CLI

Interesting and most certainly word a try

perlancar's blog

Any CPAN author has to interact with PAUSE, the website you go to to upload files if you want to publish your work on CPAN. There is no API provided, so you have to use a browser to upload files manually.

Well, not really. There are some modules you can use, like CPAN::Uploader to upload files or WWW::PAUSE::CleanUpHomeDir to delete old releases in your PAUSE home directory. And if you use Dist::Zilla, by default you will use CPAN::Uploader when you release your distribution, so you don’t have to go to PAUSE manually. These modules all work by scraping the website since, like it is said above, there is no API.

WWW::PAUSE::Simple is another module you can use which: 1) provides more functions (aside from uploading, currently can also list/delete/undelete/reindex files, as well as list distributions and cleanup older releases, more functions will be added in the future); 2) comes…

View original post 789 more words

Advertisements
Interacting with PAUSE using CLI

Maintenance releases of Test::Timer

Over the last week or so I have released several maintenance releases of Test::Timer

It all started with finally getting around to evaluating a PR from p-alik. I decided to use the new review feature, this was strictly necessary, but it was fun to try it out.

Then based on a blog post from Github on their pages solution I set up a few an experimental Github Pages solutions and chose Test::Timer to be my first Perl distribution to get a Github homepage.

0.16 2016-12-29 Maintenance release, update not required

- Elimination of warnings in test suite, PR from p-alik

I am still in the proces of refining the theme, so it is not the standard, I might get back to this in a later blog post.

Anyway I wanted to communicate the new homepage to MetaCPAN, after consulting the #distzilla channel on IRC I got some good advice and exchanged Dist::Zilla::Plugin::GitHub::Meta for Dist::Zilla::Plugin::GithubMeta, this was but crazy, but quite easy. The two plugins for Dist::Zilla however resemble each other quite a lot, so a consolidation of the two would have been nice.

0.17 2016-12-30 Maintenance release, update not required

- Exchanged use of Test::Exception for Test::Fatal

- Exchanged use of: Dist::Zilla::Plugin::GitHub::Meta for 
 Dist::Zilla::Plugin::GithubMeta to specify a proper homepage attribute
 
 Ref: https://metacpan.org/pod/Dist::Zilla::Plugin::GithubMeta

But apparently the two distributions was not completely compatible, so the bug reporting facility fell back to the de facto standard rt.cpan.org. So after receiving some more excellent advice on IRC, a release with Github issues reenabled could make it to CPAN – and everything seem to be indexed and working correctly on MetaCPAN now.

0.18 2016-12-30 Maintenance release, update not required

- Reenabled Github issues over RT, the Dist::Zilla plugins not completely 
compatible

So my dist.ini ended up looking as follows:

[GithubMeta]
homepage = https://jonasbn.github.io/perl-test-timer/
issues = 1

Anyway all the maintenance is completed now, I still want to get my head around tweaking the Github Pages theme and Jekyll.

At the same time I plan to get the TODO list for Test::Timer migrated to Github issues and then find the time to do an actual feature release – the tool-chain is working, so that is not stopping me.

Happy new year,

jonasbn

Maintenance releases of Test::Timer