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 1MsKss-0000eq-BT for garchives@archives.gentoo.org; Mon, 28 Sep 2009 18:23:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1550E0764; Mon, 28 Sep 2009 18:23:36 +0000 (UTC) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.31.24]) by pigeon.gentoo.org (Postfix) with ESMTP id 5D475E0764 for ; Mon, 28 Sep 2009 18:23:36 +0000 (UTC) Received: from [85.179.4.201] (helo=[192.168.0.3]) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1MsKsp-0005QI-8u for gentoo-dev@lists.gentoo.org; Mon, 28 Sep 2009 20:23:35 +0200 Message-ID: <4AC0FF26.4030608@hartwork.org> Date: Mon, 28 Sep 2009 20:23:34 +0200 From: Sebastian Pipping User-Agent: Thunderbird 2.0.0.22 (X11/20090820) 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 To: Gentoo Dev Subject: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Df-Sender: 874396 X-Archives-Salt: f0894ea1-f93e-4743-99ab-622a9dcae97a X-Archives-Hash: 64f7a89e462cf05e0a4a63ceb5db9dab Hello there! This may look like like a lot of text but it actually isn't. Please read on. Thanks. During the last few days rbu and I have been teaming up on a proposal implementation improving on some of the issues that persist around layman-global.txt. (previously summarized in [1]) Both layman and the feed aggregator (planet) behind overlays.gentoo.org work with a database of information on repositories. These databases are not shared so changes do not propagate. That's not cool. What we have done for now: - Extended layman-global.txt format to repositories.xml format adding - A list of feed URIs .. for the planet side - Several source URIs .. for mirroring and several protocols - Owner name i.e. the name of the person to contact - quality classification (core, stable, testing, experimental, graveyard) .. to better guide users - project/person distinction .. for the planet side mainly - Created DTDs and Relax NG schemas for both the old and new format - Wrote a converter script from layman-global.txt format to repositories.xml format and back. It also adds "generated file" style warnings. The scripts have no dependencies other than plain Python. - Prepared a patch against layman trunk at r38 that adds support for - repositories.xml format - display of owner names (in addition to e-mail addresses) We have more or less the following future process in mind: - Collect feedback from the list (right now) and adjust the format and process as needed - Give birth to repositories.xml online - Decide about the final web location of repositories.xml - Put an initial repositories.xml on gentoo infra - Set up the repositories.xml to layman-global.txt converter script on the same machine to propagate all changes over to layman-global.txt in an automated fashion so we can keep it alive and up-to-date while still only editing its replacement - Revise layman patch until wrobel wants it upstream and put our a new layman release after - Setup script to create planet config from repositories.xml (Script creation is in progress.) - Take layman-global.txt offline in a year or so Here is a sample entry for each XML formats: layman-global.txt ===================================================================== http://git.goodpoint.de/?p=overlay-sping.git Gentoo overlay of Sebastian Pipping ===================================================================== repositories.xml ===================================================================== Gentoo overlay of Sebastian Pipping http://git.goodpoint.de/?p=overlay-sping.git sebastian@pipping.org Sebastian Pipping git://git.goodpoint.de/overlay-sping.git http://git.goodpoint.de/?p=overlay-sping.git.git;a=atom ===================================================================== The code and schemas can be found at [2]. Now please ask questions and let us know what you think. Sebastian [1] http://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg35095.html [2] http://git.goodpoint.de/?p=overlays-xml-specification.git;a=summary