Mailinglist Archive: opensuse-buildservice (199 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: [opensuse-packaging] New Source Service mode actived!
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Tue, 14 Jun 2011 11:57:07 +0200
  • Message-id: <10906987.Zxhixl4B8b@scherben>
Am Friday, 10. June 2011, 15:46:01 schrieb Greg KH:
On Fri, Jun 10, 2011 at 03:42:32PM -0700, Greg KH wrote:
On Fri, Jun 10, 2011 at 12:02:28PM +0200, Adrian Schröter wrote:
Am Friday, 10. June 2011, 10:24:58 schrieb Adrian Schröter:
Am Thursday, 9. June 2011, 10:19:42 schrieb Greg KH:
On Thu, Jun 09, 2011 at 06:11:48PM +0200, Adrian Schröter wrote: is running now with the new source service mode.

We recommend to upgrade to osc 0.132 version as available in
project if you work with source services.

The difference to the old way source service were handled is that
the new mode, no "source service" commits are generated. This
means, the
history just contains the commits done by the user, which makes
like revision diffs much easier. The source service result is
handled as
an internal commit, like with source links. Builds are still done
those internal commits.

A manual service run trigger is handled as commit by the user, so
it is
part of the history.

This solves also the blocking of commits (403 errors) during a
service run.

Nice job.

But I'm getting the build system error "services only work on
when trying to link in a package that contains a branch (i.e. the osc
package itself into openSUSE:Tumbleweed).

This has nothing todo with this change, it was always not supported.

But I enabled project wide services in openSUSE:Tools to validate all
sources, like
we plan to do for Factory.

Is this just a side-affect of a package link that I shouldn't do for
source packages, or a bug somewhere else?

A not yet supported case.

Michael is just about to add code to support also this situation.

This is now active.

However, you osc package in openSUSE:Tumbleweed is currently a wild mix of
a simple link (not using a branch) plus manual committed files of an old
of osc.

It is? Wierd, I don't know what happened, I'll go fix that up...

Either remove everything in the package beside the _link file or make it
a branch.

I've removed everything and started over and there is only a _link file
there now, hopefully that works.

Hm, nope, I'm now getting the error:
openSUSE:Tools/osc: conflict in file osc-0.132.3.tar.gz

How can there be a conflict when all that is there is a _link file?

This conflict is in the old revision you specify inside of the openSUSE:Tools
project. You used
an old srcmd5 revision which meanwhile conflicts with the latest version of osc
in openSUSE:Factory
(where openSUSE:Tools is linking to in this revision).

I created that link by doing:
osc linkpac -f -r 7a54e058bcc918a53ac55b8d4159a08a openSUSE:Tools osc
was that not correct?

except for using the not working revision, yes.

I think you can solve by updating to current revision:

osc setlinkrev openSUSE:Tumbleweed osc

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups