Skip to content
This repository

Handle many Parrot installations of your very own

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Build.PL
Octocat-spinner-32 Changes
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 MANIFEST.bak
Octocat-spinner-32 README.md
Octocat-spinner-32 ignore.txt
README.md

App-Parrot-Handler

parrot-handler provides an interface for handling multiple Parrot installations on the same machine. It is strongly inspired by tools like Perlbrew and tool rvm.

parrot-handler requires an installed Perl version 5.10.0 or greater. It assumes it is being installed on a UNIX or UNIX-like system such as Linux or OS X, and that you have installed the tools you need to build Parrot. Later versions will be more flexible about operating system, but will always assume you have installed the tools you need to build Parrot.

Usage example (details may change without warning):

$ parrot-handler install supported
Fetching http://www.parrot.org/release/supported
Extracting supported parrot.2.9.1.tar.gz
Configuring supported
Building supported
Testing supported
Installing supported
Done! Parrot supported is available to use.
$ parrot-handler use supported
Using supported (v2.9.1) as default parrot.
$ which parrot
/home/brian/.parrots/used/bin/parrot
$ parrot-handler install from ~/Projects/parrot as alex
Fetching ~/Projects/parrot
Configuring alex
Building alex
Testing alex
Installing alex
Done! Parrot alex (v2.8.0) is available to use.
$ parrot-handler list
Available parrots:
    alex (v2.8.0)
    supported (v2.9.1)

INSTALLATION

To install this module, run the following commands:

$ perl Build.PL
$ ./Build
$ ./Build test
$ ./Build install

TESTING

The tests run by Build test are mainly just about sanity checks - seeing whether parrot-handler thinks it can do the things we claim it does. The full tests are not run by default, because they rely on external factors such as your connection to the Internet or your build chain. It will take a while if you want to test everything.

If you want to run every single test, have a little spare time, and your machine looks exactly like mine, you can set the TEST_EVERYTHING environment variable to 1.

$ TEST_EVERYTHING=1 ./Build test

There are also specific flags you can set within the test files themselves. See the test_* subroutines in the various test classes under t/Test/App/Parrot/ for specifics.

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the perldoc command.

perldoc App::Parrot::Handler

You can also look for information at:

RT, CPAN's request tracker
    http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-Parrot-Handler

AnnoCPAN, Annotated CPAN documentation
    http://annocpan.org/dist/App-Parrot-Handler

CPAN Ratings
    http://cpanratings.perl.org/d/App-Parrot-Handler

Search CPAN
    http://search.cpan.org/dist/App-Parrot-Handler/

LICENSE AND COPYRIGHT

Copyright (C) 2010 Brian Wisti

This program is distributed under the MIT (X11) License: http://www.opensource.org/licenses/mit-license.php

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.