Mailinglist Archive: opensuse-buildservice (239 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Build a whole project with osc
- From: Marcus Hüwe <suse-tux@xxxxxx>
- Date: Wed, 21 May 2008 18:58:28 +0200
- Message-id: <20080521165828.GC3687@xxxxxxxxxxxxxxxxxxx>
On 2008-05-21 18:23:37 +0200, Dominique Leuenberger wrote:
the buildorder calculation.
It is possible that the BS "knows" about subpackages so that they can
be used to calculate the buildorder (without having a
"missing dependencies" status).
If you want to know how it exactly works have a look at the code which I
attached to my first mail in this thread (the interesting thing is the
%map hash which maps subpackages to the corresponding buildservice
package).
Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
Yes basically you're right but it mainly depends on the implementation ofnew oscOn 2008-05-21 18:05:18 +0200, Michal Marek wrote:On 21.05.2008 at 19:23, Marcus Hüwe <suse-tux@xxxxxx> wrote:
Marcus Hüwe wrote:
On 2008-05-09 20:15:25 +0100, Carlos Goncalves wrote:
Hi,
As requested by darix, I'm emailing oS-buildservice to ask for a
buildorder of aKDE:KDE4:UNSTABLE:Desktop)feature - capability to build a whole project (eg.
with one single command.Hmm I think we need one additional api call to retrieve the
parses allproject.
This new call could look like this:
'POST:/build/$project/$repository/$arch/_buildorder'
Then we could upload all spec files to the backend, the backend
isn't toospecs and calculates the buildorder. Calculating the buildorder
hardnew
Note that the build order might change as you build packages and
easydependencies show up. It's probably not too hard but it isn't that
BuildRequireseither ;-).Hmm no. My plan was to send _all_ spec files (or just only
and Provides (we also need to associate this information to aparticular
package)) to the backend.
Imagine the following:
- package "foo" requires "bar-devel"
- package "bar" was added locally ("bar" also provides "bar-devel")
the provides of bar-devel is normally not detected by BS. If you check
in whatever spec file that creates a bar-devel rpm, and another that
Requires: bar-devel, the latter one will stay on Missing dependencies
until bar has built a single time and it will start using this.
the buildorder calculation.
It is possible that the BS "knows" about subpackages so that they can
be used to calculate the buildorder (without having a
"missing dependencies" status).
If you want to know how it exactly works have a look at the code which I
attached to my first mail in this thread (the interesting thing is the
%map hash which maps subpackages to the corresponding buildservice
package).
Marcus
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |