On Monday 03 May 2010 12:32:56 Graham Cobb wrote:
> On Monday 03 May 2010 10:05:04 Andreas Jaeger wrote:
> > On Monday 03 May 2010 10:51:38 Jeremiah Foster wrote:
> > > [...]
> > > Good stuff. I look forward to pushing sources into OBS. I think it
> > > would be great if I could just set up a cron job to push a tag from my
> > > git repo into OBS. Is that sort of automated building possible on the
> > > OBS side? i.e. can a process push to the OBS or does it have to be a
> > > human?
> > 
> > The command line client for obs called osc allows to do quite a lot of
> > scripting.  And if that fails, you can access the public API directly
> > (via curl or osc).  So, you need to setup the cron job on your site but
> > should be able to push to obs from it without problems,
> 
> While we are asking questions...

Let me answer as part of "upstream" obs - I do not know what MeeGo will do 
exactly.

> Will I be able to run the build itself on my own system?  I.e. replicate
> the MeeGo OBS environment (when it exists) on my own system so that I can
> do builds locally but be confident they will work when I submit them to
> the real OBS?

obs supports local "osc build" so that you can build on your own local system.
 
> My reasoning is that for Maemo today I automatically build about 120
> packages every night.  I don't suppose that the MeeGo OBS wants to support
> each developer doing so many builds every day.  I also do not want all the
> results from those builds necessarily going straight into some repository
> that users might be using (we haven't worked out the repositories yet, but
> I wouldn't want every nightly build to end up in extras-devel for Maemo --
> I wouldn't want to release until code is tested).

You could use a home project:
* build and test locally
* upload to home project
* Build it for all platforms and let others test it
* do a submit request to the MeeGo project once you're satisfied

For details check:
 http://en.opensuse.org/Build_Service/Collaboration
 
> So, I assume I will want to build locally.  But I really want confidence
> that if my local build succeeds, the real OBS build will also succeed (no
> problems with build dependencies, for example) so I want to reproduce the
> > OBS as closely as possible.

Btw. check this page for additional information about obs:
http://en.opensuse.org/Build_Service

Andreas
-- 
 Andreas Jaeger, Program Manager openSUSE,  a...@{novell.com,opensuse.org}
  Twitter: jaegerandi | Identica: jaegerandi
   SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
    Maxfeldstr. 5, 90409 Nürnberg, Germany
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to