On Tue, 29 Apr 2008, Marcus Hüwe wrote:
A common library would make sense for things like working with project dirs and package dirs etc. This should be done in a "unique" way e.g. it wouldn't make sense if each client has its own subdir (osc -> .osc, client1 -> .client1...).
Would that need a library? Wouldn't it be sufficient to establish a documented standardized convention how to store data locally?
Hmm if I think about it again I would say no:) - if there's standardized way how to store the data everything is fine. The only drawback is that each client has to implement it from scratch - nevertheless this shouldn't be too hard because it's just about parsing and interpreting xml files...
Actually it is very straighforward. Don't see any reason for support library functions here: _apiurl https://api.opensuse.org _osclib_version 0.99 _package alpine _project home:dstoecker The following two are from server (at least _meta is, I'm sure). _files: <directory name="alpine" rev="34" vrev="1" srcmd5="3d3c9aa4d3e8977f875752064d197838"> <entry name="all-1.10_20080316.patch.gz" md5="feea012e1438dba9092ca49ae22a17c7" size="168769" mtime="1205825205" /> <entry name="alpine-1.10.tar.bz2" md5="c507684620766ed091186785a0dccbca" size="4861929" mtime="1205825256" /> <entry name="alpine.spec" md5="c83d88a072b15fa631ce5872a1fcd6a6" size="3100" mtime="1205825258" /> </directory> _meta: <package project="home:dstoecker" name="alpine"> <title>University of Washington Pine mail user agent</title> <description>Alpine -- an Alternatively Licensed Program for Internet News & Email -- is a tool for reading, sending, and managing electronic messages. Alpine is the successor to Pine and was developed by Computing & Communications at the University of Washington. Though originally designed for inexperienced email users, Alpine supports many advanced features, and an ever-growing number of configuration and personal-preference options. </description> <person role="maintainer" userid="dstoecker"/> <build> <disable repository='SLES_9'/> </build> <url>ftp://ftp.cac.washington.edu/alpine/</url> </package> Ciao -- http://www.dstoecker.eu/ (PGP key available)