[rock-devel] improved 'rocket' in new mine 0.22

ROCK Mailing List Archives

Attachments
Entire message
+ (text/plain)
+ (application/pgp-signature)
+ (text/plain)
Author: Clifford Wolf
Date:  
To: ROCK Developers
Subject: [rock-devel] improved 'rocket' in new mine 0.22
Hi,

I've released mine 0.22 today. the postinstall stuff from stf now found its
way into the official mine sources and I have done many improvements in
the 'rocket' tool.

for those who do not know what 'rocket' is: it is the ROCK Linux meta
package manager (like 'apt' for 'dpkg' in debian). it can handle network
archives with .gem package files, search for packages, etc.

the configuration file /etc/rocket.conf has URLs of such .gem archives.
E.g. on my test machine it is just a local archive:

--snip--
archive file:///data/..../pkgs
--snap--

the command 'rocket update' is used to recreate the local package index.
after that it is possible to install and update packages with 'rocket
install'. E.g.:

--snip--
# rocket install cpan-svn-mirror
You requested for install:
        cpan-svn-mirror
The following dependencies are automatically added:
        cpan-term-readkey cpan-class-accessor-fast cpan-class-methodmaker
Do you want to continue? [Y/n]
+ mine -i 'file:///data/..../pkgs/cpan-svn-mirror-0.64-0.gem'
+ mine -i 'file:///data/..../pkgs/cpan-term-readkey-2.30-0.gem'
+ mine -i 'file:///data/..../pkgs/cpan-class-accessor-fast-0.19-0.gem'
+ mine -i 'file:///data/..../pkgs/cpan-class-methodmaker-2.07-0.gem'
--snap--

searching packages is done with 'rocket search' and 'rocket list'. The
first one searches in the package descriptions, the 2nd one in the package
filename. E.g.:

--snip--
# rocket list subversion
i subversion A compelling replacement for CVS
i subversion:apache A compelling replacement for CVS
i subversion:dev A compelling replacement for CVS
. subversion:doc A compelling replacement for CVS
i subversion:server A compelling replacement for CVS
--snap--

there is still much room for further improvements, but it is already pretty
useable now.

creating a .gem archive is pretty easy: simply put the *.gem files in a
directory, run 'rocket index' in this directory to create the packages.db
file and make it accessable with http or ftp.

This is not in ROCK Linux TRUNK right now. So you need to apply the
following two patches and rebuild mine (aka "rocket emerge mine") on your
system:

        https://www.rocklinux.net/submaster/smadm.cgi?i=2005080913162603009
        https://www.rocklinux.net/submaster/smadm.cgi?i=2005080916270420850

please test and send feedback!

yours,
 - clifford

--
+++>+>++++++[<+++++++>-]<..>++>++++++[<+++++>-]<.>>++++++[<+++++++++++>-]<.
>++>>++++[<++++[<+++++++>-]>-]<<.>+>>++++[<++++[<++++++>-]>-]<<.++++++++.<-

---.>---.<<<<-.>>>>---.<---.<<.<+..>.>>---.>>++++>>++++[<++++[<+++++++>-]>-
]<<..----.<<<--------.<<++++..>>>>>+++++++...<<<<<-.>>>>.<++++.---.>+++..<+
+++++.+++.>--.<<<<.>>>>---.<++.<<<+.>>>>+.++++.---.<----.>>--.<<<<<.>.<----
..>.>+++++++++.>>>>>>++++[<++++[<+++++>-]>-]<<.+++++.<<<<<<+.>.>.>-.--.+++.
>++++++.+++.-------.<++.<<<.>.>>>.>-.<--.<<<<++..>.<---..>>>>>>>++++++++++.


if ( (!!strcmp(input, "no")) != 0 ) printf("You did not type 'no'.\n");

_______________________________________________
rock-devel mailing list

http://www.rocklinux.net/mailman/listinfo/rock-devel