Re: Some invalid DOAP files



On Fri, Apr 16, 2010 at 01:22:27PM -0400, Owen Taylor wrote:
> On Fri, 2010-04-16 at 10:31 -0500, Shaun McCance wrote:
> > A few modules have DOAP files that aren't valid RDF. This is
> > what they have:

I've fixed almost everything I could find, with the following
exceptions:

ERROR: contacts.doap is not valid:
   doap:category property should be one of the standard GNOME categories

ERROR: dates.doap is not valid:
   doap:category property should be one of the standard GNOME categories

ERROR: devilspie.doap is not valid:
   doap:category property should be one of the standard GNOME categories

ERROR: libgconf-bridge.doap is not valid:
   doap:category property should be one of the standard GNOME categories

ERROR: tasks.doap is not valid:
   doap:category property should be one of the standard GNOME categories


All of these repositories use custom category URLs instead of the
standard GNOME categories.

> Maybe someone wants to come up a fix for:
[..]
> (With a quick look, startElementNS in the elseL of self.__depth % 2 == 0
> needs to check if self.__object is non-NULL and raise an exception.)

That seemed to work.

http://git.gnome.org/repositories.doap will now only contain non-pending
repositories. Further, finish-import will only clear the pending flag if
the DOAP file has a valid syntax.

-- 
Regards,
Olav


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