From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ms-smtp-03-eri0.texas.rr.com (ms-smtp-03.texas.rr.com [24.93.47.42]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j47MZIAZ026385 for ; Sat, 7 May 2005 22:35:18 GMT Received: from [192.168.0.101] (cpe-24-27-15-220.austin.res.rr.com [24.27.15.220]) by ms-smtp-03-eri0.texas.rr.com (8.12.10/8.12.7) with ESMTP id j47MZFRZ007948 for ; Sat, 7 May 2005 17:35:15 -0500 (CDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: <20050507223706.45c14f52@snowdrop> References: <427D2702.8040001@gentoo.org> <20050507223706.45c14f52@snowdrop> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8c321bcd634f28876b62485e95af5095@gentoo.org> Content-Transfer-Encoding: 7bit From: Kito Subject: Re: [gentoo-dev] [ANNOUNCE] eclectic-0.9.1 Date: Sat, 7 May 2005 17:35:13 -0500 To: gentoo-dev@lists.gentoo.org X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.622) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Archives-Salt: 1ae8c55f-b150-451e-b025-6d3ecd0d4b1f X-Archives-Hash: cb72db723d56fd55d25c4cfaa515e6c5 -----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 > 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 > > 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 > > 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