On 08/09/2011 10:57 AM, ext ronan wrote: > Hi slam Amer, > your project is very interesting, > But it seems, that most of the time, the functions of BuildService > onlyaccessing to the API OBS. > How do you create a project for example? > Do you have a wiki forpython BuildService? > > > > Hello, > > Please have a look at python-buildservice which wraps osc in an OOP > fashion. > > http://meego.gitorious.org/meego-infrastructure-tools/python-buildservice > > My gitorious clone has a few useful additions to that; might come in > handy too. > > Usage is simple, for example: > > from buildservice import BuildService > obs = BuildService(oscrc="/path/to/oscrc",apiurl="https://api.meego.com") > print obs.getUserEmail("username") > > > _______________________________________________ > MeeGo-distribution-tools mailing list > [email protected] > http://lists.meego.com/listinfo/meego-distribution-tools
Hello, It's not my project, Anas started it, I just heavily use it :) You are right that it is currently mostly a read only interface to the OBS api, but I actively add methods to the BuildService class on a need to basis. I haven't thought about creating projects, but they could deserve a separate class. There isn't a documentation wiki page that I know of, but I generated some python documentation in my clone (a bit outdated) : http://meego.gitorious.org/~iamer/meego-infrastructure-tools/iamers-python-buildservice/trees/master/doc/build/html You would need to clone the git repo and browse it locally as they are not browsable on gitorious. -- Thanks, Islam Amer
signature.asc
Description: OpenPGP digital signature
_______________________________________________ MeeGo-distribution-tools mailing list [email protected] http://lists.meego.com/listinfo/meego-distribution-tools
