Re: Getting descriptions for cgit



Le vendredi 20 mars 2009 à 17:44 +0100, Vincent Untz a écrit :
> Le vendredi 20 mars 2009, à 11:27 -0500, Shaun McCance a écrit :
> > I wonder if we could define some sort of non-RDF project
> > info file format that people actually wouldn't mind using.
> > Something flexible and well-defined enough to provide more
> > information that could be picked up by Pulse, but still
> > plain-text enough that humans would write and read it.
> 
> We certainly could. Something like:
> 
> [Project]
> name=gnome-panel
> short-descr=The GNOME Panel
> short-descr[fr]=Tableau de bord GNOME
> long-descr=blablabla\nSecond line
> long-descr[fr]=blablabla\nDeuxième ligne
> licenses=GPLv2+;LGPLv2.1+;
> maintainers=markmc;vuntz;
> branches=gnome-2-24;gnome-2-26;
> last-stable-version=2.26.0
> last-devel-version=2.25.92
> 
> [Maintainer vuntz]
> name=Vincent Untz
> mail=vuntz gnome org
> 
> [Maintainer markmc]
> ...
> 
> [Branch gnome-2-24]
> git-branch=gnome-2-24
> last-version=2.24.3
> all-versions=2.24.0;2.24.1;2.24.2;2.24.3;
> 
> [Version 2.26.0]
> date=2009-03-16
> url=http://download.gnome.org/sources/gnome-panel/2.26/gnome-panel-2.26.0.tar.bz2
> md5sum=...
> filesize=...
> 
> ...
> 
> And it's certainly not hard to write a script do convert this to DOAP if
> we want.
> 
> Now, does it make sense to have such a format? I don't know :-)

Why always reinvent the wheel :-(
Despite his verbosity, DOAP is standard, there are tools to parse it, it
can be used by other GNOME infrastructure apps, etc.
Is it such a big deal for programmers to read/produce XML syntax?

Claude



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]