App::Magpie::App::Command::checkout - check-out or update a given package
version 1.110690
$ magpie checkout perl-Foo-Bar $ magpie co -d ~/rpm/cauldron -q perl-Foo-Bar $ eval $( magpie co -s perl-Foo-Bar ) # to get list of available options $ magpie help checkout
This command will check out a package from Mageia repository, or update a local check-out if it already exists. It uses the mgarepo command underneath, so you might want to look at this command for more information.
mgarepo
The "shell" option (--shell / -s) is especially useful if you eval the result of this command, to go directly in the fresh check-out directory. In that case, you may want to add the following to your ~/.bashrc:
--shell
-s
eval
function cco() { eval $(magpie co -d ~/rpm/cauldron -q -s $*); }
Jerome Quelin <jquelin@gmail.com>
This software is copyright (c) 2011 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install App::Magpie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Magpie
CPAN shell
perl -MCPAN -e shell install App::Magpie
For more information on module installation, please visit the detailed CPAN module installation guide.