From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1M92tD-0005RF-My for garchives@archives.gentoo.org; Tue, 26 May 2009 20:04:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03645E0450; Tue, 26 May 2009 20:04:46 +0000 (UTC) Received: from smtp.tmcs.ch (113.245.131.213.static.inetbone.net [213.131.245.113]) by pigeon.gentoo.org (Postfix) with ESMTP id A84A0E0450 for ; Tue, 26 May 2009 20:04:45 +0000 (UTC) Received: from [192.168.0.100] (33-34.3-85.cust.bluewin.ch [85.3.34.33]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.tmcs.ch (Postfix) with ESMTPSA id ED86415F1040 for ; Tue, 26 May 2009 22:04:44 +0200 (CEST) Subject: Re: [gentoo-dev] Google SoC @ Gentoo - Universal Select Tool From: Tiziano =?ISO-8859-1?Q?M=FCller?= To: gentoo-dev@lists.gentoo.org In-Reply-To: <1241470894.6119.80.camel@thedude> References: <1241470894.6119.80.camel@thedude> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-zNIwWTv2mZLE4fUo6kol" Organization: Gentoo Date: Tue, 26 May 2009 22:04:44 +0200 Message-Id: <1243368284.9837.74.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.26.1.1 X-Archives-Salt: 003d2413-9d3d-4203-9501-eba9cbe0d6fa X-Archives-Hash: d3ccc1b8abbb8de7dcf31603064adde9 --=-zNIwWTv2mZLE4fUo6kol Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Montag, den 04.05.2009, 22:01 +0100 schrieb S=C3=A9rgio Almeida: > Gentoo Dev's, >=20 > My name is S=C3=A9rgio Almeida, I am Portuguese and I am a student for th= is > year's Google SoC coding the Universal Select Tool project for Gentoo > being S=C3=A9bastien Fabbro (bicatali) my mentor. >=20 > Abstract: >=20 > Universal Select Tool is an utility to manage system configuration. > This tool is similar to the unmaintained eselect utility of Gentoo or > Exherbo's eclectic. The idea is to create a tool that manages both > system settings and user settings with profile creation possibilities. > The utility will use mostly concepts from "modules", "softenv", and > both "eselect" and "eclectic". >=20 > My initial proposal does not get in-depth with implementation details > and I need to make some decisions as soon as possible. Implementation > language will be python as it is easy to maintain, easy to code and > faster and more flexible than bash. See attachment for more details. >=20 > Besides introducing myself, the purpose of this e-mail is a > call-to-ideas to all Gentoo developers, mainly all eselect-* and > *-config developers. >=20 > Here are the main interest ideas: >=20 > * keep eselect structure of modules - actions >=20 > * symlinking, environment and aliases actions can consist of something > like: >=20 > # module moo comments > description "Example Module description" > version "Example Module Version" > author "moo@farm.moo" > # action system moo > description "Moo Action Description" > symlink "regexp" "regexp" > env "regexp" "regexp" > alias "regexp" "regexp" > # end moo > =20 > These should get the job done for most of the modules and opens the door > to automatic module creation prior to a successful emerge (if some USE > flag set) >=20 > * Actions that consist of code blocks that support any scripting > language (what about binaries?) to do more complex actions (full module > example): >=20 > # module moo comments > description "Example Module description" > version "Example Module Version" > author "moo@farm.moo" > =20 > # action user moo > description "Example Module will moo for any user" > type runnable > runner /bin/bash > # file moo.bash > #!/bin/bash > do_moo() { > echo "This is the Example Module mooing" > } > do_moo() > # end moo.bash > # end moo >=20 > * actions can be run system-wide and per-user: > # action user moo > # action system moo >=20 > * automatic module loading and profile management can be managed by some > env.d python scripts that are user-aware and follow some database > =20 > I've been given this difficult task of unifying all of these tools > together and as you all can understand, I won't be having the time to > read through all eselect-* modules and *-config utilities code. >=20 > Please drop me a line here or at freenode if you have anything to add to > these ideas or have any further ideas that can help me on this project. > Thank you all in advance. What I'd like to see is the possibility to ... localize messages (will be difficult since modules need translations as well, but maybe you find a way :) ... encapsulation of methods to set/list/change such that instead of a CLI- a NCurses- or GUI-Frontend could be developed. Cheers, Tiziano --=20 Tiziano M=C3=BCller Gentoo Linux Developer, Council Member Areas of responsibility: Samba, PostgreSQL, CPP, Python, sysadmin, GLEP Editor E-Mail : dev-zero@gentoo.org GnuPG FP : F327 283A E769 2E36 18D5 4DE2 1B05 6A63 AE9C 1E30 --=-zNIwWTv2mZLE4fUo6kol Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEABECAAYFAkocS1wACgkQGwVqY66cHjD9MwCfVFrs6RB3bZVX72W9eVEFPrKF 7KkAmwbXQTsCt8RDmaBG42GWITO0P+J2 =U/2e -----END PGP SIGNATURE----- --=-zNIwWTv2mZLE4fUo6kol--