improved 'rocket' in new mine 0.22

Clifford Wolf <[email protected]>
Newsgroups gmane.linux.distributions.rock.devel
Message-ID <[email protected]>
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
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFC+L4IPNIEsfpKDdERAuCOAJ4+zmmUQ4JMpBp7JTilVur75Le45ACeJxwT
pPCO+U984Ze2FEkHtXsq4SU=
=zYIK
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.