Re: [gentoo-dev] SRC_URI in metadata.xml

2012-08-13 Thread Diego Elio Pettenò
On 13/08/2012 03:25, Dirkjan Ochtman wrote: > IMO RELAX NG (or Schematron) would be much better than XML Schema. They are generally idempotent enough that you don't have to worry about which one you choose... Relax NG works for me, I would have to convert them to rnc anyway to load into emacs's nx

Re: [gentoo-dev] SRC_URI in metadata.xml

2012-08-13 Thread Gilles Dartiguelongue
Le vendredi 10 août 2012 à 16:21 +0200, Jeroen Roovers a écrit : > On Fri, 10 Aug 2012 14:03:23 +0200 > Gilles Dartiguelongue wrote: > > > Since you are proposing this, a side question is: > > Why should we write SRC_URI in ebuilds if that info is now available > > in metadata.xml ? (granted that

Re: [gentoo-dev] SRC_URI in metadata.xml

2012-08-13 Thread Dirkjan Ochtman
On Sun, Aug 12, 2012 at 1:53 AM, Diego Elio Pettenò wrote: > Can we have xmlschema instead? You know so that things like broken email > addresses in can be caught... https://bugs.gentoo.org/show_bug.cgi?id=384457 IMO RELAX NG (or Schematron) would be much better than XML Schema. Cheers, Dirkj

Re: [gentoo-dev] SRC_URI in metadata.xml

2012-08-11 Thread Diego Elio Pettenò
On 11/08/2012 15:43, Alec Warner wrote: > If you want metadata.dtd patched; please file a bug against www@ and > someone will look at it (you may have to poke us a few times... ;)) Can we have xmlschema instead? You know so that things like broken email addresses in can be caught... -- Diego El

Re: [gentoo-dev] SRC_URI in metadata.xml

2012-08-11 Thread Alec Warner
On Sat, Aug 11, 2012 at 1:55 PM, Corentin Chary wrote: > On Fri, Aug 10, 2012 at 10:12 PM, Diego Elio Pettenò > wrote: >> On 10/08/2012 13:05, Corentin Chary wrote: >>> Right, our proposal is not here to replace SRC_URI, it's here to fix >>> the cases where SRC_URI can't be sanely used to guess n

Re: [gentoo-dev] SRC_URI in metadata.xml

2012-08-11 Thread Corentin Chary
On Fri, Aug 10, 2012 at 10:12 PM, Diego Elio Pettenò wrote: > On 10/08/2012 13:05, Corentin Chary wrote: >> Right, our proposal is not here to replace SRC_URI, it's here to fix >> the cases where SRC_URI can't be sanely used to guess new upstream >> versions (strange mangling rules, unbrowsable di

Re: [gentoo-dev] SRC_URI in metadata.xml

2012-08-10 Thread Diego Elio Pettenò
On 10/08/2012 13:05, Corentin Chary wrote: > Right, our proposal is not here to replace SRC_URI, it's here to fix > the cases where SRC_URI can't be sanely used to guess new upstream > versions (strange mangling rules, unbrowsable directories, etc...). Yes I guess Jeroen was just saying why we sho

Re: [gentoo-dev] SRC_URI in metadata.xml

2012-08-10 Thread Corentin Chary
On Fri, Aug 10, 2012 at 4:21 PM, Jeroen Roovers wrote: > On Fri, 10 Aug 2012 14:03:23 +0200 > Gilles Dartiguelongue wrote: > >> Since you are proposing this, a side question is: >> Why should we write SRC_URI in ebuilds if that info is now available >> in metadata.xml ? (granted that we might sti

Re: [gentoo-dev] SRC_URI in metadata.xml

2012-08-10 Thread Diego Elio Pettenò
On 10/08/2012 07:21, Jeroen Roovers wrote: > 3) SRC_URI can change over time, and across versions (even with all the >variables in place). I agree with Jeroen here — in particular see things that come from alioth such as sys-apps/pcsc-lite and app-crypt/ccid: the SRC_URI actually has to change

Re: [gentoo-dev] SRC_URI in metadata.xml

2012-08-10 Thread Jeroen Roovers
On Fri, 10 Aug 2012 14:03:23 +0200 Gilles Dartiguelongue wrote: > Since you are proposing this, a side question is: > Why should we write SRC_URI in ebuilds if that info is now available > in metadata.xml ? (granted that we might still want to keep > over-riding this information in ebuilds) 1) T