[csw-maintainers] website does not reflect real package versions ?
Maciej (Matchek) Bliziński
maciej at opencsw.org
Mon Oct 17 09:58:47 CEST 2011
2011/10/15 Ben Walton <bwalton at opencsw.org>:
> Maciej: Is anything other than interface code required to provide the
> new URL with the backend query to get a file list?
There is one relatively small obstacle - the timestamp serialization.
Currently, the pickled version serializes a Python object instead of a
portable string representation. When that's done, we can serialize
all package metadata to JSON and send them via REST.
Here's one starting point: GetMtime().
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/gar/v2/lib/python/package_stats.py#L191
The fix would be to make sure that the string representation is used
when serializing, and conversions to datetime.datetime are done when
necessary.
Maciej
More information about the maintainers
mailing list