[opensuse-buildservice] _service file
In home:olh/build-compare a single _service file is enough to download the files required for the pkg. This works due to the flat layout of the source files. In openSUSE:Tools/build-compare a full checkout of the pkg exists, without _service file. This means one has to checkout the git repo, copy the files to the OBS checkout, then commit them to OBS. My idea to copy the _service file from home:olh into openSUSE:Tools appearently fails: broken: /usr/lib/obs/service/source_validators/60-spec-filelist: line 12: echo: write error: Broken pipe I wonder if such setup is supposed to work anyway? Should the server side download and extract the files, then copy them over the existing files after 'osc service rr'? If that is not doable each service has to be disabled and 'osc service lr && osc commit' has to be used. Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Monday 24 August 2015, 17:33:26 wrote Olaf Hering:
In home:olh/build-compare a single _service file is enough to download the files required for the pkg. This works due to the flat layout of the source files.
In openSUSE:Tools/build-compare a full checkout of the pkg exists, without _service file. This means one has to checkout the git repo, copy the files to the OBS checkout, then commit them to OBS.
My idea to copy the _service file from home:olh into openSUSE:Tools appearently fails: broken: /usr/lib/obs/service/source_validators/60-spec-filelist: line 12: echo: write error: Broken pipe
I wonder if such setup is supposed to work anyway?
It looks like the source validator service, which is enabled inside of openSUSE:Tools is not supporting _service generated spec files. One option is to fix that... (I have not validated that this is the reason, since the setup does not exist atm)
Should the server side download and extract the files, then copy them over the existing files after 'osc service rr'? If that is not doable each service has to be disabled and 'osc service lr && osc commit' has to be used.
Olaf
-- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Aug 25, Adrian Schröter wrote:
On Monday 24 August 2015, 17:33:26 wrote Olaf Hering:
In home:olh/build-compare a single _service file is enough to download the files required for the pkg. This works due to the flat layout of the source files.
In openSUSE:Tools/build-compare a full checkout of the pkg exists, without _service file. This means one has to checkout the git repo, copy the files to the OBS checkout, then commit them to OBS.
My idea to copy the _service file from home:olh into openSUSE:Tools appearently fails: broken: /usr/lib/obs/service/source_validators/60-spec-filelist: line 12: echo: write error: Broken pipe
I wonder if such setup is supposed to work anyway?
It looks like the source validator service, which is enabled inside of openSUSE:Tools is not supporting _service generated spec files.
One option is to fix that...
How should we proceed here? I can copy home:olh/build-compare/_service back to openSUSE:Tools/build-compare to see what that issue above is. But is a flat checkout actually supported? What happens now is that even 'service lr' leaves the tar.xz and the extracted directory behind. If I adjust the package to have the source files in a tar.xz the extracted directory will most likely remain because extract_file does no cleanup. Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Sep 02, Olaf Hering wrote:
I can copy home:olh/build-compare/_service back to openSUSE:Tools/build-compare to see what that issue above is.
Forgot to mention, home:olh:bc/build-compare builds fine. Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Aug 25, Adrian Schröter wrote:
On Monday 24 August 2015, 17:33:26 wrote Olaf Hering:
My idea to copy the _service file from home:olh into openSUSE:Tools appearently fails: broken: /usr/lib/obs/service/source_validators/60-spec-filelist: line 12: echo: write error: Broken pipe
I wonder if such setup is supposed to work anyway?
It looks like the source validator service, which is enabled inside of openSUSE:Tools is not supporting _service generated spec files.
One option is to fix that...
(I have not validated that this is the reason, since the setup does not exist atm)
Its now in state "broken". Olaf -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Olaf Hering