* [gentoo-dev] [ANNOUNCE] eclectic-0.9.1
@ 2005-05-07 20:37 Danny van Dyk
2005-05-07 21:37 ` Ciaran McCreesh
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Danny van Dyk @ 2005-05-07 20:37 UTC (permalink / raw
To: Gentoo Development
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
About eclectic
- --------------
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. Up to
now, eclectic can handle mulitple tasks using the following modules:
* bashcomp:
Configure and list bash completetions, thus obsoletes
app-shells/bash-completion-config.
* blas,lapack:
Switch between implementations of virtual/{blas,lapack}.
This obsoletes sci-libs/{blas,lapack}-config (which are bogus).
* profile:
List and switch Gentoo portage profiles. Check if selected
profile is valid in regard to used "ARCH".
* mailer:
Manage the mailwrapper profiles in /etc/mail.
* kernel:
Manage the /usr/src/linux symlink.
Work on further modules is in progress like:
* vi:
Manage the upcoming vi symlink for parallel installs of vi clones.
(vi, nvi, vim, gvim)
* icu and ilasm:
Manage the different free implementation of .NET.
Eclectic has a library concept for shared function. It features common
code for configuration, output and multilib handling.
There is a both a developer guide and a user guide as RST shipped with
the source.
Currently, eclectic's source[2] is hosted at berlios.de due to our decission
to use Subversion as SCM. As soon as GLEP 36[3] has been implemented, we
would like to move to a Gentoo repository.
Questions
- ---------
* What do we need to accomplish to get the status of an "Official
Gentoo Project" ? Is a manager voting necessary ?
* What do the maintainers of Gentoo's various -config and -update
scripts think about converting their scripts into eclectic modules ?
* What is the best place for eclectic in the portage tree? app-admin as
it is an administrative tool? Or rather app-portage as it should be
used together with Gentoo only?
Danny
[1] http://developer.berlios.de/projects/eclectic
[2] http://download.berlios.de/eclectic/eclectic-0.9.1.tar.bz2
[3] http://www.gentoo.org/proj/en/glep/glep-0036.html
- --
Danny van Dyk <kugelfang@gentoo.org>
Gentoo/AMD64 Project, Gentoo Scientific Project
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCfScBaVNL8NrtU6IRAmwLAJ4+xeu5BaN1AGKjaliLe44pU3maZQCeJuiL
p3qKCVVWT9DNhPizDRpZdfk=
=ugc9
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] [ANNOUNCE] eclectic-0.9.1
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
2005-05-08 1:58 ` Aaron Walker
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Ciaran McCreesh @ 2005-05-07 21:37 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 3829 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] [ANNOUNCE] eclectic-0.9.1
2005-05-07 21:37 ` Ciaran McCreesh
@ 2005-05-07 22:35 ` Kito
0 siblings, 0 replies; 9+ messages in thread
From: Kito @ 2005-05-07 22:35 UTC (permalink / raw
To: gentoo-dev
-----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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] [ANNOUNCE] eclectic-0.9.1
2005-05-07 20:37 [gentoo-dev] [ANNOUNCE] eclectic-0.9.1 Danny van Dyk
2005-05-07 21:37 ` Ciaran McCreesh
@ 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
3 siblings, 0 replies; 9+ messages in thread
From: Aaron Walker @ 2005-05-08 1:58 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Danny van Dyk wrote:
> * What is the best place for eclectic in the portage tree? app-admin as
> it is an administrative tool? Or rather app-portage as it should be
> used together with Gentoo only?
0.9.1 is in CVS as app-admin/eclectic.
Cheers
- --
Work is the crab grass in the lawn of life.
-- Schulz
Aaron Walker <ka0ttic@gentoo.org>
[ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCfXI+C3poscuANHARAuhOAKDEJ4fFk2BCCc/fy+lw2aB95kRl2wCg8mBv
QVgEB5MSZsGOSemY2zhQzxA=
=EmR0
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] [ANNOUNCE] eclectic-0.9.1, [gentoo-dev]
2005-05-07 20:37 [gentoo-dev] [ANNOUNCE] eclectic-0.9.1 Danny van Dyk
2005-05-07 21:37 ` Ciaran McCreesh
2005-05-08 1:58 ` Aaron Walker
@ 2005-05-09 0:36 ` Ciaran McCreesh
2005-05-09 1:00 ` Marius Mauch
3 siblings, 0 replies; 9+ messages in thread
From: Ciaran McCreesh @ 2005-05-09 0:36 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
On Sat, 07 May 2005 22:37:22 +0200 Danny van Dyk <kugelfang@gentoo.org>
wrote:
| Work on further modules is in progress like:
I just wrote an etc-update workalike as an eclectic module. Mostly as an
experiment to see how we're going to handle interactive stuff... Sample
session at:
http://dev.gentoo.org/~ciaranm/tmp/eclectic/config-tool.shtml
If you want to play, grab the latest SVN. Usual disclaimer about this
thing being chock full of bugs and merely a proof of concept applies.
No doubt we'll find some practical uses for this thing at some point :)
--
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] [ANNOUNCE] eclectic-0.9.1, [gentoo-dev]
2005-05-07 20:37 [gentoo-dev] [ANNOUNCE] eclectic-0.9.1 Danny van Dyk
` (2 preceding siblings ...)
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
` (2 more replies)
3 siblings, 3 replies; 9+ messages in thread
From: Marius Mauch @ 2005-05-09 1:00 UTC (permalink / raw
To: gentoo-dev
Danny van Dyk wrote:
> * profile:
> List and switch Gentoo portage profiles. Check if selected
> profile is valid in regard to used "ARCH".
Hmm, have to check this out and see if I can obsolete my own little hack
for changing profile.
> * What do we need to accomplish to get the status of an "Official
> Gentoo Project" ? Is a manager voting necessary ?
Just put it as a subproject under base as it doesn't have the substance
for a TLP, and I don't think azarah would mind it ;)
> * What do the maintainers of Gentoo's various -config and -update
> scripts think about converting their scripts into eclectic modules ?
Neither etc-update nor env-update fall into this domain.
> * What is the best place for eclectic in the portage tree? app-admin as
> it is an administrative tool? Or rather app-portage as it should be
> used together with Gentoo only?
Keep it in app-admin as it isn't really portage related.
Nice to finally see this becoming public.
Marius
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] [ANNOUNCE] eclectic-0.9.1, [gentoo-dev]
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
2 siblings, 0 replies; 9+ messages in thread
From: Ciaran McCreesh @ 2005-05-09 2:02 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 730 bytes --]
On Mon, 09 May 2005 04:00:08 +0300 Marius Mauch <genone@gentoo.org>
wrote:
| > * What do the maintainers of Gentoo's various -config and -update
| > scripts think about converting their scripts into eclectic
| > modules ?
|
| Neither etc-update nor env-update fall into this domain.
Heh, although I've already reimplemented etc-update as an eclectic
module just for the hell of it. Blame Jason for asking me about
interactive tools.
| Nice to finally see this becoming public.
Yeah, can't keep the cool toys hidden forever I guess :(
--
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev]
2005-05-09 1:00 ` Marius Mauch
2005-05-09 2:02 ` Ciaran McCreesh
@ 2005-05-09 9:06 ` Aaron Walker
2005-05-17 12:44 ` [gentoo-dev] [ANNOUNCE] eclectic-0.9.1 Paul de Vrieze
2 siblings, 0 replies; 9+ messages in thread
From: Aaron Walker @ 2005-05-09 9:06 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marius Mauch wrote:
> Danny van Dyk wrote:
>
>> * profile:
>> List and switch Gentoo portage profiles. Check if selected
>> profile is valid in regard to used "ARCH".
>
>
> Hmm, have to check this out and see if I can obsolete my own little hack
> for changing profile.
Wasn't available in 0.9.1 but is in 0.9.2. It currently only shows one
possible valid profile though since of course profiles.desc only shows one per
arch.
Judging by some gentoo-commits.log sed/sort/grep -c-foo there's still quite a
few ppl using 2.0.51.19 so looks like we'll have to wait a little bit before we
can update profiles.desc.
Cheers
- --
The happiest time of a person's life is after his first divorce.
-- J.K. Galbraith
Aaron Walker <ka0ttic@gentoo.org>
[ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCfygoC3poscuANHARAqRgAJ4iobDKJPTOoHVO84+4fhRY3rk3hgCfW2VD
4bohppeFObnQc8ZEH5nuZmA=
=oKFm
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] [ANNOUNCE] eclectic-0.9.1
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 ` Paul de Vrieze
2 siblings, 0 replies; 9+ messages in thread
From: Paul de Vrieze @ 2005-05-17 12:44 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
On Monday 09 May 2005 03:00, Marius Mauch wrote:
>
> Just put it as a subproject under base as it doesn't have the substance
> for a TLP, and I don't think azarah would mind it ;)
It should be under the tools project. This is clearly a tool.
Paul
--
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-05-17 12:44 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox