This is a very old article. It has been imported from older blogging software, and the formatting, images, etc may have been lost. Some links may be broken. Some of the information may no longer be correct. Opinions expressed in this article may no longer be held.

OK, so I decided to hack in support for submitting CPAN testers reports into cpanminus. I’ve uploaded the result to CPAN in case anybody else wants to use it. After CPANPLUS and cpanminus, the logical name for it was cpantimes.

Here’s how to use it…

  1. Install cpantimes using your current CPAN client. You will also want Test::Reporter and Test::Reporter::Transport::Metabase.
    $ cpanm App::cpantimes Test::Reporter Test::Reporter::Transport::Metabase
  2. Set up a Metabase profile. You will need this in order for your reports to be accepted by CPAN testers.
    $ metabase-profile

    $ mkdir $HOME/.cpantesters
    $ mv metabase_id.json $HOME/.cpantesters
    $ chmod 400 $HOME/.cpantesters/metabase_id.json
  3. Now just use cpant whenever you’d normally use cpanm. Test reports will be silently submitted every time you install a distribution. You can even set up a shell alias so that when you type cpanm you get cpantimes.

cpantimes is still at a very early stage of development. I literally started it yesterday evening. But have a play and let me know if you discover any bugs.