Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-10-02 Thread Sebastian Pipping
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastian Pipping wrote: > I have created another script yesterday that can auto-merge information > from gitosis.conf into repositories.xml. With that script in a Git hook > setting up new Git-based Gentoo-hosted overlays requires changes at only > a

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-10-01 Thread Sebastian Pipping
Tiziano Müller wrote: > A simple rule of thumb is: use attributes for values with predefined > contents, use elements otherwise. So, make "name" an element please. Okay, let's give it a try. http://git.goodpoint.de/?p=overlays-xml-specification.git;a=commitdiff;h=8b10c5c7fd5b42bb5540fd686e0d97f5d

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-10-01 Thread Sebastian Pipping
Tiziano Müller wrote: >> What if that metadata format changes later or is extended by >> additional required entries? > How about using the power of xml and version the schemas? As long as the > metadata-file specifies the respective dtd/xsd/relaxng you know exactly > how to validate (and parse)

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-10-01 Thread Robert Buchholz
On Thursday 01 October 2009, Tiziano Müller wrote: > Am Mittwoch, den 30.09.2009, 18:17 +0200 schrieb Sebastian Pipping: > > Ciaran McCreesh wrote: > > > Sure. Just periodically fetch the repository centrally. Have a > > > master list of sync URLs with expected repository names, and use > > > that

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-10-01 Thread Tiziano Müller
Am Mittwoch, den 30.09.2009, 18:17 +0200 schrieb Sebastian Pipping: > Ciaran McCreesh wrote: > > Sure. Just periodically fetch the repository centrally. Have a master > > list of sync URLs with expected repository names, and use that to > > generate the full master list that includes metadata. > >

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-10-01 Thread Tiziano Müller
Am Mittwoch, den 30.09.2009, 17:57 +0200 schrieb Sebastian Pipping: > Fabian Groffen wrote: > > Point remains that it looks in-consistant, for repo, name is an > > attribute, while for owner it is a sub-element. Why having attributes > > in the first place anyway? > > It's closer to the original

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-30 Thread Sebastian Pipping
Ciaran McCreesh wrote: > Sure. Just periodically fetch the repository centrally. Have a master > list of sync URLs with expected repository names, and use that to > generate the full master list that includes metadata. > > Added bonus: you can quickly remove any repository that no longer > exists.

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-30 Thread Ciaran McCreesh
On Wed, 30 Sep 2009 18:00:13 +0200 Sebastian Pipping wrote: > Ciaran McCreesh wrote: > > On Wed, 30 Sep 2009 17:51:02 +0200 > > Sebastian Pipping wrote: > >> At the moment moving overlay meta info into the overlays does not > >> seem like a good idea to. It would mean that any script working > >

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-30 Thread Sebastian Pipping
Ciaran McCreesh wrote: > On Wed, 30 Sep 2009 17:51:02 +0200 > Sebastian Pipping wrote: >> At the moment moving overlay meta info into the overlays does not seem >> like a good idea to. It would mean that any script working with >> overlays needs to check the repo out to get to that data. That >>

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-30 Thread Sebastian Pipping
Fabian Groffen wrote: > Point remains that it looks in-consistant, for repo, name is an > attribute, while for owner it is a sub-element. Why having attributes > in the first place anyway? It's closer to the original layman-global.txt which also makes the converter scripts simpler (and faster) th

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-30 Thread Ciaran McCreesh
On Wed, 30 Sep 2009 17:51:02 +0200 Sebastian Pipping wrote: > At the moment moving overlay meta info into the overlays does not seem > like a good idea to. It would mean that any script working with > overlays needs to check the repo out to get to that data. That > doesn't sound like fun to me.

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-30 Thread Sebastian Pipping
Ciaran McCreesh wrote: > On Mon, 28 Sep 2009 20:23:34 +0200 > Sebastian Pipping wrote: >> Now please ask questions and let us know what you think. > > Here's an alternative idea: > > * Move the repository information into the overlays themselves. Require > overlays to provide a file containing

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-30 Thread Fabian Groffen
On 30-09-2009 17:36:47 +0200, Sebastian Pipping wrote: > Tiziano Müller wrote: > > Am Montag, den 28.09.2009, 20:23 +0200 schrieb Sebastian Pipping: > >> repositories.xml > >> = > >>>> name="sping" > >> quality="exp

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-30 Thread Sebastian Pipping
Tiziano Müller wrote: > Am Montag, den 28.09.2009, 20:23 +0200 schrieb Sebastian Pipping: >> repositories.xml >> = >> > name="sping" >> quality="experimental" >> status="unofficial"> >> Gentoo overlay of Seb

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-30 Thread Ciaran McCreesh
On Mon, 28 Sep 2009 20:23:34 +0200 Sebastian Pipping wrote: > Now please ask questions and let us know what you think. Here's an alternative idea: * Move the repository information into the overlays themselves. Require overlays to provide a file containing the description, homepage, owner in

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-30 Thread Tiziano Müller
Am Montag, den 28.09.2009, 20:23 +0200 schrieb Sebastian Pipping: > repositories.xml > = > name="sping" > quality="experimental" > status="unofficial"> > Gentoo overlay of Sebastian Pipping > http://git

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-29 Thread Sebastian Pipping
volk...@gentoo.org wrote: > I think we > should introduce a field even with a lang parameter > like we already have in metadata.xml. Done. http://git.goodpoint.de/?p=overlays-xml-specification.git;a=commit;h=c13a394fe1a868012548b2be5fb58359b3bc2891 Sebastian

Re: [gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-29 Thread volkmar
On Mon, Sep 28, 2009 at 08:23:34PM +0200, Sebastian Pipping wrote: > Hello there! > > > This may look like like a lot of text but it actually isn't. > Please read on. Thanks. Thanks for your good work. I agree with your changes it was indeed needed. Actually, during my GSOC, I've noted layman-

[gentoo-dev] [rfc] layman-global.txt, repositories.xml, layman, overlays.gentoo.org

2009-09-28 Thread Sebastian Pipping
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 la