You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Emmanuel Bourg <eb...@apache.org> on 2009/05/27 14:57:53 UTC

[all] Incorrect release info in the doap files

I noticed that most of the Commons components listed on 
projects.apache.org have an empty release history. This is due to an 
incorrect syntax in the doap files. The releases are defined with:

   <revision>
     <name>commons-codec</name>
     <created>2004-07-10</created>
     <version>1.3</version>
   </revision>

but it should be:

   <Version>
     <name>commons-codec</name>
     <created>2004-07-10</created>
     <revision>1.3</revision>
   </Version>

that's, the "revision" tags become "Version" (case sensitive), and 
"version" becomes "revision".

The following projects use the right syntax:

CLI
Configuration
Modeler
Pool
Validator

Could everyone look at their projects and fix the files please?

Thank you,

Emmanuel Bourg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [all] Incorrect release info in the doap files

Posted by sebb <se...@gmail.com>.
On 27/05/2009, Dennis Lundberg <de...@apache.org> wrote:
> Emmanuel Bourg wrote:
>  > I noticed that most of the Commons components listed on
>  > projects.apache.org have an empty release history. This is due to an
>  > incorrect syntax in the doap files. The releases are defined with:
>  >
>  >   <revision>
>  >     <name>commons-codec</name>
>  >     <created>2004-07-10</created>
>  >     <version>1.3</version>
>  >   </revision>
>  >
>  > but it should be:
>  >
>  >   <Version>
>  >     <name>commons-codec</name>
>  >     <created>2004-07-10</created>
>  >     <revision>1.3</revision>
>  >   </Version>
>  >
>  > that's, the "revision" tags become "Version" (case sensitive), and
>  > "version" becomes "revision".
>  >
>  > The following projects use the right syntax:
>  >
>  > CLI
>
>
> I've been trying to find a definite resource for the syntax to use, I
>  don't understand the RDF schema at http://usefulinc.com/ns/doap.

There are several examples, e.g.:

http://trac.usefulinc.com/doap/browser/trunk/doap/examples/doap-doap.rdf

Unfortunately none of them include multiple Version stanzas.

>  That being said, the validator at W3C doesn't like the new syntax any
>  better than the old one:
>
>  http://www.w3.org/RDF/Validator/ARPServlet?URI=http%3A%2F%2Fsvn.eu.apache.org%2Frepos%2Fasf%2Fcommons%2Fproper%2Fcli%2Ftrunk%2Fdoap_cli.rdf&PARSE=Parse+URI%3A+&TRIPLES_AND_GRAPH=PRINT_TRIPLES&FORMAT=PNG_EMBED
>
>  Are you only allowed to have one Version under the release element?

No, you can have as many as you like.

>
>  > Configuration
>  > Modeler
>  > Pool
>  > Validator
>  >
>  > Could everyone look at their projects and fix the files please?
>  >
>  > Thank you,
>  >
>  > Emmanuel Bourg
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  > For additional commands, e-mail: dev-help@commons.apache.org
>  >
>  >
>
>
>
> --
>
> Dennis Lundberg
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [all] Incorrect release info in the doap files

Posted by Dennis Lundberg <de...@apache.org>.
Emmanuel Bourg wrote:
> I noticed that most of the Commons components listed on
> projects.apache.org have an empty release history. This is due to an
> incorrect syntax in the doap files. The releases are defined with:
> 
>   <revision>
>     <name>commons-codec</name>
>     <created>2004-07-10</created>
>     <version>1.3</version>
>   </revision>
> 
> but it should be:
> 
>   <Version>
>     <name>commons-codec</name>
>     <created>2004-07-10</created>
>     <revision>1.3</revision>
>   </Version>
> 
> that's, the "revision" tags become "Version" (case sensitive), and
> "version" becomes "revision".
> 
> The following projects use the right syntax:
> 
> CLI

I've been trying to find a definite resource for the syntax to use, I
don't understand the RDF schema at http://usefulinc.com/ns/doap.

That being said, the validator at W3C doesn't like the new syntax any
better than the old one:

http://www.w3.org/RDF/Validator/ARPServlet?URI=http%3A%2F%2Fsvn.eu.apache.org%2Frepos%2Fasf%2Fcommons%2Fproper%2Fcli%2Ftrunk%2Fdoap_cli.rdf&PARSE=Parse+URI%3A+&TRIPLES_AND_GRAPH=PRINT_TRIPLES&FORMAT=PNG_EMBED

Are you only allowed to have one Version under the release element?

> Configuration
> Modeler
> Pool
> Validator
> 
> Could everyone look at their projects and fix the files please?
> 
> Thank you,
> 
> Emmanuel Bourg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [all] Incorrect release info in the doap files

Posted by Henri Yandell <fl...@gmail.com>.
On Thu, May 28, 2009 at 3:47 AM, sebb <se...@gmail.com> wrote:
> On 28/05/2009, sebb <se...@gmail.com> wrote:
>> On 28/05/2009, Henri Yandell <fl...@gmail.com> wrote:
>>  > On Wed, May 27, 2009 at 5:57 AM, Emmanuel Bourg <eb...@apache.org> wrote:
>>  >
>>  >  > Could everyone look at their projects and fix the files please?
>>  >
>>  >
>>  > Just as a note - there's no reason why someone can't do all of them if
>>  >  they want.
>>
>>
>> BTW, the DOAPs are referenced from
>>
>>  http://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/files.xml
>>
>>
>>  >  Should be a simple regex.
>>
>>
>> Not totally simple, as revision only needs to be converted if it is
>>  the container.
>>
>
> And as I found out just now, it's very easy to get the script wrong ;-)
>
> Sorry for all the commit noise; I think I've fixed all the incorrect fixes now.

:)

I did the same with the Shale website last night. Doubled up the Attic
banner and had to unregex it. Fun fun :)

Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [all] Incorrect release info in the doap files

Posted by Emmanuel Bourg <eb...@apache.org>.
sebb a écrit :
> I've now done the other Commons proper projects in trunk.
> 
> There will be some other incorrect DOAP files in branches, but none of
> them are currently listed in files.xml so they won't affect the
> projects web-site.
> 
> Also added Exec and Proxy to files.xml as they were missing.

Thank you sebb!

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [all] Incorrect release info in the doap files

Posted by sebb <se...@gmail.com>.
On 28/05/2009, Rahul Akolkar <ra...@gmail.com> wrote:
> On Thu, May 28, 2009 at 6:47 AM, sebb <se...@gmail.com> wrote:
>  > On 28/05/2009, sebb <se...@gmail.com> wrote:
>  >> On 28/05/2009, Henri Yandell <fl...@gmail.com> wrote:
>  >>  > On Wed, May 27, 2009 at 5:57 AM, Emmanuel Bourg <eb...@apache.org> wrote:
>  >>  >
>  >>  >  > Could everyone look at their projects and fix the files please?
>  >>  >
>  >>  >
>  >>  > Just as a note - there's no reason why someone can't do all of them if
>  >>  >  they want.
>  >>
>  >>
>  >> BTW, the DOAPs are referenced from
>  >>
>  >>  http://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/files.xml
>  >>
>  >>
>  >>  >  Should be a simple regex.
>  >>
>  >>
>  >> Not totally simple, as revision only needs to be converted if it is
>  >>  the container.
>  >>
>  >
>  > And as I found out just now, it's very easy to get the script wrong ;-)
>  >
>  > Sorry for all the commit noise; I think I've fixed all the incorrect fixes now.
>  >
>
> <snip/>
>
>  Thanks for the fixing [all] sebb.

I've now done the other Commons proper projects in trunk.

There will be some other incorrect DOAP files in branches, but none of
them are currently listed in files.xml so they won't affect the
projects web-site.

Also added Exec and Proxy to files.xml as they were missing.

Of couse they might not all be up-to-date - that can be dealt with later.

BTW, in case anyone has not used it yet, I just discovered the SVN
--depth option.

This comes in very handy for jobs such as this where one only wants to
check out part of a directory tree - the depth is "sticky", i.e. is
remembered. For example (pseudo-code):

svn co commons/proper --depth immediates commons-proper
cd commons-proper
for each directory
do
  svn co --depth files <directory>/trunk
done

>
>  -Rahul
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [all] Incorrect release info in the doap files

Posted by Rahul Akolkar <ra...@gmail.com>.
On Thu, May 28, 2009 at 6:47 AM, sebb <se...@gmail.com> wrote:
> On 28/05/2009, sebb <se...@gmail.com> wrote:
>> On 28/05/2009, Henri Yandell <fl...@gmail.com> wrote:
>>  > On Wed, May 27, 2009 at 5:57 AM, Emmanuel Bourg <eb...@apache.org> wrote:
>>  >
>>  >  > Could everyone look at their projects and fix the files please?
>>  >
>>  >
>>  > Just as a note - there's no reason why someone can't do all of them if
>>  >  they want.
>>
>>
>> BTW, the DOAPs are referenced from
>>
>>  http://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/files.xml
>>
>>
>>  >  Should be a simple regex.
>>
>>
>> Not totally simple, as revision only needs to be converted if it is
>>  the container.
>>
>
> And as I found out just now, it's very easy to get the script wrong ;-)
>
> Sorry for all the commit noise; I think I've fixed all the incorrect fixes now.
>
<snip/>

Thanks for the fixing [all] sebb.

-Rahul

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [all] Incorrect release info in the doap files

Posted by sebb <se...@gmail.com>.
On 28/05/2009, sebb <se...@gmail.com> wrote:
> On 28/05/2009, Henri Yandell <fl...@gmail.com> wrote:
>  > On Wed, May 27, 2009 at 5:57 AM, Emmanuel Bourg <eb...@apache.org> wrote:
>  >
>  >  > Could everyone look at their projects and fix the files please?
>  >
>  >
>  > Just as a note - there's no reason why someone can't do all of them if
>  >  they want.
>
>
> BTW, the DOAPs are referenced from
>
>  http://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/files.xml
>
>
>  >  Should be a simple regex.
>
>
> Not totally simple, as revision only needs to be converted if it is
>  the container.
>

And as I found out just now, it's very easy to get the script wrong ;-)

Sorry for all the commit noise; I think I've fixed all the incorrect fixes now.

>  >  Hen
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  >  For additional commands, e-mail: dev-help@commons.apache.org
>  >
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [all] Incorrect release info in the doap files

Posted by sebb <se...@gmail.com>.
On 28/05/2009, Henri Yandell <fl...@gmail.com> wrote:
> On Wed, May 27, 2009 at 5:57 AM, Emmanuel Bourg <eb...@apache.org> wrote:
>
>  > Could everyone look at their projects and fix the files please?
>
>
> Just as a note - there's no reason why someone can't do all of them if
>  they want.

BTW, the DOAPs are referenced from

http://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/files.xml

>  Should be a simple regex.

Not totally simple, as revision only needs to be converted if it is
the container.

>  Hen
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>  For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [all] Incorrect release info in the doap files

Posted by Henri Yandell <fl...@gmail.com>.
On Wed, May 27, 2009 at 5:57 AM, Emmanuel Bourg <eb...@apache.org> wrote:

> Could everyone look at their projects and fix the files please?

Just as a note - there's no reason why someone can't do all of them if
they want.

Should be a simple regex.

Hen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


[math] Re: [all] Incorrect release info in the doap files

Posted by Brent Worden <br...@gmail.com>.
DOAP for [math] has been updated.

Emmanuel Bourg wrote:
> I noticed that most of the Commons components listed on 
> projects.apache.org have an empty release history. This is due to an 
> incorrect syntax in the doap files. The releases are defined with:
>
>   <revision>
>     <name>commons-codec</name>
>     <created>2004-07-10</created>
>     <version>1.3</version>
>   </revision>
>
> but it should be:
>
>   <Version>
>     <name>commons-codec</name>
>     <created>2004-07-10</created>
>     <revision>1.3</revision>
>   </Version>
>
> that's, the "revision" tags become "Version" (case sensitive), and 
> "version" becomes "revision".
>
> The following projects use the right syntax:
>
> CLI
> Configuration
> Modeler
> Pool
> Validator
>
> Could everyone look at their projects and fix the files please?
>
> Thank you,
>
> Emmanuel Bourg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

-- 
Thanks,

Brent Worden


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org