Mailinglist Archive: opensuse-buildservice (126 mails)

< Previous Next >
Re: [opensuse-buildservice] osc, disable spec file auto format
On Freitag, 13. Februar 2015, 14:17:52 wrote Ruediger Meier:
On Friday 13 February 2015, Adrian Schröter wrote:
On Freitag, 13. Februar 2015, 13:24:25 wrote Adrian Schröter:
On Freitag, 13. Februar 2015, 13:17:31 wrote Ruediger Meier:


It's unfixable. Old versions of "obs-service-format_spec_file"
(the ones we have in any stable openSUSE release) will always
revert spec files which were formatted by newer fixed versions.
You see these kind of stupidly commited changes in many osc logs.
It's a pain for any reviewer.

so what, a maintenance update for that package should be possible.
Note: the one installed on the system of the packager is used, not
the one inside of some distro.

another note: this is only true, because this particular service is
configured as "localonly" in openSUSE:* projects.

Could you do me a favour and test the current version from
openSUSE:Tools project if it is fixing your problems already?

Because I'm not root I did it manually like this:

python-libmount.spec > new.spec
$ diff python-libmount.spec new.spec

... looks ok

good, I created maintenace update requests now.

We will take care of a maintenance update then.

To solve the problem of reverted and re-reverted spec files you
would keep any client installation in sync. Good luck!

same as with osc and build package ....

I'am already using latest git HEAD "osc" client locally installed in
my /home. How could I teach it to not use globally (broken) services in
/usr/lib/obs/service/ but from another directory?

this path is currently hard coded in osc/ around line 400.

Either patch it in your copy and create a pull request turning this
into a ~/.oscrc option :)


Adrian Schroeter
email: adrian@xxxxxxx

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip
Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups