public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kito <kito@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [ANNOUNCE] eclectic-0.9.1
Date: Sat, 7 May 2005 17:35:13 -0500	[thread overview]
Message-ID: <8c321bcd634f28876b62485e95af5095@gentoo.org> (raw)
In-Reply-To: <20050507223706.45c14f52@snowdrop>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Very cool. Good work gentlemen.

On May 7, 2005, at 4:37 PM, Ciaran McCreesh wrote:

> On Sat, 07 May 2005 22:37:22 +0200 Danny van Dyk <kugelfang@gentoo.org>
> wrote:
> | During the last few months, ciaranm, ka0ttic, slarti and me have been
> | working on "eclectic" [1], a modular administration and configuration
> | framework for Gentoo. Eclectic is completely written in bash and
> | unifies different tasks in one tool with a consistent user  
> interfaces.
>
> Might as well post a sample module... This one's the kernel symlink
> manager thingie, which I wrote mainly as a test / demo thing but it can
> be vaguely useful too:
>
> http://svn.berlios.de/viewcvs/*checkout*/eclectic/trunk/modules/ 
> kernel.eclectic
>
> Note the ebuild-like format that should be nice and easy for everyone  
> to
> get their heads around.
>
> So what's this like from a user perspective?
>
> ciaranm@snowdrop ~ 0 2.30 $ eclectic kernel
> Usage: eclectic kernel <action> <options>
>
> Standard actions:
>   help                      Display help text
>   usage                     Display usage information
>   version                   Display version information
>
> Extra actions:
>   list                      List available kernel symlink targets
>   set                       Set a new kernel symlink target
>   show                      Show the current kernel symlink
>
> ciaranm@snowdrop ~ 0 2.30 $ eclectic kernel show
> Current kernel symlink:
>   linux-2.6.12-rc1
> ciaranm@snowdrop ~ 0 2.10 $ eclectic kernel list
> Available kernel symlink targets:
>   [1]   linux-2.6.10
>   [2]   linux-2.6.11
>   [3]   linux-2.6.11-rc5
>   [4]   linux-2.6.12-rc1
> ciaranm@snowdrop ~ 0 2.01 $ sudo eclectic kernel set 1
> ciaranm@snowdrop ~ 0 2.01 $ eclectic kernel show
> Current kernel symlink:
>   linux-2.6.10
>
> It's all in colour, of course.
>
> But wait, it gets sneakier. Say we install a kernel-config symlink to
> eclectic. Then this will also work:
>
> ciaranm@snowdrop ~ 0 1.50 $ kernel-config list
> Available kernel symlink targets:
>   [1]   linux-2.6.10
>   [2]   linux-2.6.11
>   [3]   linux-2.6.11-rc5
>   [4]   linux-2.6.12-rc1
>
> I added this sneaky little hack in that checks the binary name, and if
> it's foo-config or foo-update, it treats it as eclectic foo [...]. So
> you don't even get to whine about the stupid name :)
>
> By the way, this could also implement GLEP 24 (consistent tool naming).
> See, if you run eclectic with no arguments:
>
> ciaranm@snowdrop ~ 0 1.36 $ eclectic
> Usage: eclectic <module name> <options>
>
> Built-in modules:
>   help                      Display a help message
>   list-modules              Find and display available modules
>   usage                     Display a usage message
>   version                   Display version information
>
> Extra modules:
>   bashcomp                  Manage contributed bash-completion scripts
>   blas                      Manage installed BLAS implementations.
>   kernel                    Manage the /usr/src/linux symlink
>   lapack                    Manage installed LAPACK implementations.
>   mailer                    Manage the mailwrapper profiles in  
> /etc/mail
>   profile                   Manage the /etc/make.profile symlink
>
> Automagically generated list of all the modules available.
>
> *shrug* it's probably full of bugs still.
>
> | There is a both a developer guide and a user guide as RST shipped  
> with
> | the source.
>
> Rendered versions here for the lazy:
>
> http://dev.gentoo.org/~ciaranm/tmp/eclectic/
>
> |  * What do we need to accomplish to get the status of an "Official
> |    Gentoo Project" ? Is a manager voting necessary ?
>
> I'm staying out of this one...
>
> Oh, we have an IRC channel if you have development questions. You can
> figure out the name easily enough :)
>
> -- 
> Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
> Mail            : ciaranm at gentoo.org
> Web             : http://dev.gentoo.org/~ciaranm
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFCfUKiJ0rMK/3OwgsRApNMAKChukknZzvb0B/hbmigWph3/d5aiwCeKWl1
M/mVz6D7rR/+KMXNJu23myY=
=AXv5
-----END PGP SIGNATURE-----

-- 
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2005-05-07 22:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-07 20:37 [gentoo-dev] [ANNOUNCE] eclectic-0.9.1 Danny van Dyk
2005-05-07 21:37 ` Ciaran McCreesh
2005-05-07 22:35   ` Kito [this message]
2005-05-08  1:58 ` Aaron Walker
2005-05-09  0:36 ` [gentoo-dev] [ANNOUNCE] eclectic-0.9.1, [gentoo-dev] Ciaran McCreesh
2005-05-09  1:00 ` Marius Mauch
2005-05-09  2:02   ` Ciaran McCreesh
2005-05-09  9:06   ` [gentoo-dev] Aaron Walker
2005-05-17 12:44   ` [gentoo-dev] [ANNOUNCE] eclectic-0.9.1 Paul de Vrieze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8c321bcd634f28876b62485e95af5095@gentoo.org \
    --to=kito@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox