Mailinglist Archive: opensuse-buildservice (257 mails)

< Previous Next >
Re: [opensuse-buildservice] suggestion: limited trigger rebuild
  • From: "Dr. Peter Poeml" <poeml@xxxxxxx>
  • Date: Fri, 6 Oct 2006 09:57:44 +0200
  • Message-id: <20061006075744.GF25765@xxxxxxx>
On Wed, Sep 20, 2006 at 11:53:14PM +0200, Marcus Rueckert wrote:
> > currently "trigger rebuild" will affect all build targets
> > if I understand right and might be create a huge load on
> > your system.
>
> you can retrigger per repo/arch already:
>
> curl -d " " -n \
> "http://api.opensuse.org/source/{project}/{pkg}?cmd=rebuild&repo={repo}&arch={arch}";
>
> -n == netrc or use:
> -u/--user <user[:password]> Set server user and password
>
> repo and arch are optional.
>
> so those 3 are valid:
>
> "http://api.opensuse.org/source/ruby/ruby?cmd=rebuild&repo=SUSE_Factory";
> "http://api.opensuse.org/source/ruby/ruby?cmd=rebuild&arch=i586";
> "http://api.opensuse.org/source/ruby/ruby?cmd=rebuild&repo=SUSE_Factory&arch=i586";

By the way, meanwhile osc does support the "single" triggering also.

usage: osc rebuildpac <project> <package> [<repo> [<arch>]]

Regards,
Peter
--
SUSE LINUX Products GmbH Bug, bogey, bugbear, bugaboo:
Research & Development A malevolent monster (not true?);
Some mischief microbic;
What makes someone phobic;
The work one does not want to do.
From: Chris Young (The Omnificent English Dictionary In Limerick Form)
< Previous Next >
This Thread
  • No further messages