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 1M93Yl-0004pk-0u for garchives@archives.gentoo.org; Tue, 26 May 2009 20:47:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F9AAE033F; Tue, 26 May 2009 20:47:42 +0000 (UTC) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by pigeon.gentoo.org (Postfix) with ESMTP id AC420E033F for ; Tue, 26 May 2009 20:47:41 +0000 (UTC) Received: by ewy9 with SMTP id 9so3787370ewy.34 for ; Tue, 26 May 2009 13:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=HRSCWgx7FX+V9tlTpL31T/wBRwKtHlYt4564VPUlTuo=; b=QA6ma6Ulo1NtcyeNk++k8yY0aNuHAzGVE6sKxOq4UJJt5ek+/GYJtCLl/pF1bOOVmU L4dPMNi7at/Bw0rGmRPsddhC5aiLveoFjWPmBGP5kEGgfZ0ZpQG2mz4l555UdkGUGIQe /1Nxt7XdLPPGKZpvCxhLti4ehj80JB5ntsggI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=i/JpoD03aKdBtvGthIfRurLaKCqUvbhT+p6qgg+sQlGy9cLG/zv4mwtbWJNzNLENsD HlXJuw8UL8t0165WxMRskpIb27n45494qPpayGlMMyp97Xs7jIXawd4P42Q2iIWHrh/4 lGsIqb+TjJ/FJyYjWIk1B9635uWQ7orhMJkQY= Received: by 10.210.29.9 with SMTP id c9mr733976ebc.72.1243370861168; Tue, 26 May 2009 13:47:41 -0700 (PDT) Received: from ?10.0.0.2? ([89.181.35.11]) by mx.google.com with ESMTPS id 10sm6447061eyz.21.2009.05.26.13.47.39 (version=SSLv3 cipher=RC4-MD5); Tue, 26 May 2009 13:47:40 -0700 (PDT) Subject: Re: [gentoo-dev] Google SoC @ Gentoo - Universal Select Tool From: =?ISO-8859-1?Q?S=E9rgio?= Almeida To: gentoo-dev@lists.gentoo.org In-Reply-To: <1243368284.9837.74.camel@localhost> References: <1241470894.6119.80.camel@thedude> <1243368284.9837.74.camel@localhost> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-onDeSIQmMq6THbr9ul2u" Date: Tue, 26 May 2009 21:47:36 +0100 Message-Id: <1243370856.12271.16.camel@thedude> 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 X-Archives-Salt: 83310873-48ec-4a10-a70d-8eff92498692 X-Archives-Hash: 31368eda4706a2403464be4f9503e9c8 --=-onDeSIQmMq6THbr9ul2u Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2009-05-26 at 22:04 +0200, Tiziano M=C3=BCller wrote: > 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 = this > > 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 doo= r > > 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 som= e > > 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 t= o > > these ideas or have any further ideas that can help me on this project. > > Thank you all in advance. >=20 > 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. >=20 > Cheers, > Tiziano >=20 Hello, These are the reasons of my current prototype refactoring phase. All this will be possible. Thanks! Cheers, S=C3=A9rgio --=-onDeSIQmMq6THbr9ul2u Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkocVV4ACgkQQXumuXcKj05r7QCgq5qkD96Tfotz+L9Mg3ia6kbe UJkAoKVJP3WRKnsSX/ixkn6fl3Pduw5y =WUW7 -----END PGP SIGNATURE----- --=-onDeSIQmMq6THbr9ul2u--