Mailinglist Archive: opensuse-buildservice (375 mails)

< Previous Next >
Re: [opensuse-buildservice] Adding Build-service function to Eclipse! Any suggestions?
  • From: Peter Poeml <poeml@xxxxxxx>
  • Date: Thu, 24 Apr 2008 10:34:12 +0200
  • Message-id: <20080424083412.GI21028@xxxxxxx>
On Wed, Apr 23, 2008 at 11:15:55PM +0200, Marcus Hüwe wrote:
On 2008-04-23 16:10:26 -0400, Michael Hutchinson wrote:
I'd been considering using osc, but since the build service API looks
relatively straightforward, it's probably easier to do it directly
from C#. The thing that IMO might be a bit more challenging is
performing local builds...

Well perfoming local builds shouldn't be too hard. Basically it consists
of 3 things:
- getting the prjconf (can be retrieved via the api)
- getting the buildconfig (can be retrieved via the api too)
- calling the /usr/bin/build script with some parameters etc.

- downloading of needed packages from the api and caching them

(btw. that's how osc does it, too)

So independent from your preferred language you will probably just need to
do these steps.

Or, if the working copies are "osc compatible", just call osc for this
part of the job.

Nobody is going to rewrite "build" in Java of C#, either, or is anyone? :-)

"WARNING: This bug is visible to non-employees. Please be respectful!"

SUSE LINUX Products GmbH
Research & Development
< Previous Next >