[Mageia-dev] announcing magpie
nicolas vigier
boklm at mars-attacks.org
Wed Feb 2 16:33:52 CET 2011
On Wed, 02 Feb 2011, Per Øyvind Karlsen wrote:
> 2011/2/1 Jerome Quelin <jquelin at gmail.com>:
> > hi,
> >
> > i'm happy to report that magpie 1.110320 is now available.
> >
> > On 11/01/24 16:42 +0100, Jerome Quelin wrote:
> >> in my mdv->mageia conversion, i promised to gather the various scripts
> >> i'm using to maintain the bulk of perl packages and provide them for
> >> everyone to use.
> >>
> >> so i'm pleased to announce magpie: MAGeia Perl Integration Easy
> >
> > magpie now features a new command: checkout (alias co).
> >
> > it is *not* meant to replace "mgarepo co", it does in fact use mgarepo
> > underneath. so what does this command add?
> >
> > - the possibility to check out in a given directory
> > $ magpie co -d ~/rpm/cauldron perl
> >
> > - the fact that it will either check out *or* update the local check-out
> > if it already exists:
> > $ magpie co -d ~/rpm/cauldron perl
> > # check-out if 1st run, update otherwise
> >
> > - finally, the possibility to dump a shell command to execute to change
> > directory in the fresh check-out:
> >
> > # add this in your ~/.bashrc
> > function cco() { eval $(magpie co -d ~/rpm/cauldron -q -s $*); }
> > # then, one can do a fresh checkout/update + cd by issuing:
> > $ cco perl
> >
> > nothing revolutionary, but it saves some keystrokes here and there.
> >
> > in the future, i intend to make this command to accept a perl module to
> > automatically check-out the matching package:
> > $ magpie co Foo::Bar
> Hm, for such seemingly trivial feature additions, wouldn't it make more sense
> to just implement it in repsys..?
Jerome makes his scripts in perl. And mgarepo is in python. So it makes
sense to distribute it separatly. And some of the features can still be
implemented later in mgarepo if it appears they are useful to a lot of
people ...
More information about the Mageia-dev
mailing list