[opensuse-buildservice] osc service rr -> 404 no source service defined!
Hi, I have a problem with running source service on server. Package: https://build.opensuse.org/package/show/home:etamPL/dot2tex Running locally works: etam@etam-laptop:~/obs/home:etamPL/dot2tex> osc service run Cloning into '/tmp/tmpHw7eH2/tmpnetp6S/dot2tex'... ERROR(1): '' HEAD is now at 0a73795 Bump version to 2.9.0 Cleaning: /tmp/tmpHw7eH2/tmpnetp6S /tmp/tmpHw7eH2/dot2tex-2.9.0 Compressed _service:tar_scm:dot2tex-2.9.0.tar to tar_scm:dot2tex-2.9.0.tar.bz2 But running remotely fails: etam@etam-laptop:~/obs/home:etamPL/dot2tex> osc service remoterun Server returned an error: HTTP Error 404: Not Found could not trigger service run for project 'home:etamPL' package 'dot2tex' <status code="404"> <summary>no source service defined!</summary> <details>404 no source service defined!</details> </status> I have everything synced: etam@etam-laptop:~/obs/home:etamPL/dot2tex> osc up At revision 28680a71b8b60071795797dab6afce9d. etam@etam-laptop:~/obs/home:etamPL/dot2tex> osc status ? _service:recompress:tar_scm:dot2tex-2.9.0.tar.bz2 Please help. -- Adam Mizerski
On 2016-02-20 21:14:06 +0100, Adam Mizerski wrote:
But running remotely fails: etam@etam-laptop:~/obs/home:etamPL/dot2tex> osc service remoterun Server returned an error: HTTP Error 404: Not Found could not trigger service run for project 'home:etamPL' package 'dot2tex' <status code="404"> <summary>no source service defined!</summary> <details>404 no source service defined!</details> </status>
Hmm since the _service file is part of the link target, the backend doesn't "see" it when triggering a service run. As a workaround you can do the following: - osc up -u # checks out the unexpanded sources - copy the _service file into the wc - osc add _service - osc ci - osc up -e # checks out the expanded sources Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
W dniu 20.02.2016 o 21:34, Marcus Hüwe pisze:
On 2016-02-20 21:14:06 +0100, Adam Mizerski wrote:
But running remotely fails: etam@etam-laptop:~/obs/home:etamPL/dot2tex> osc service remoterun Server returned an error: HTTP Error 404: Not Found could not trigger service run for project 'home:etamPL' package 'dot2tex' <status code="404"> <summary>no source service defined!</summary> <details>404 no source service defined!</details> </status>
Hmm since the _service file is part of the link target, the backend doesn't "see" it when triggering a service run. As a workaround you can do the following: - osc up -u # checks out the unexpanded sources - copy the _service file into the wc - osc add _service - osc ci - osc up -e # checks out the expanded sources
Marcus
Thanks! Works now. I've added the original _service file from linked package to make project.diff still apply cleanly. Should I make a bug report or something? -- Adam Mizerski
Adam Mizerski
Package: https://build.opensuse.org/package/show/home:etamPL/dot2tex
$ osc ls home:etamPL/dot2tex _link project.diff # -> home:jimfunk dot2tex (latest) _service _service:recompress:tar_scm:dot2tex-2.8.7.tar.bz2 dot2tex.changes dot2tex.spec You should run osc linktobranch to convert your package to a proper branch. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Samstag, 20. Februar 2016, 22:08:43 CET wrote Andreas Schwab:
Adam Mizerski
writes: Package: https://build.opensuse.org/package/show/home:etamPL/dot2tex
$ osc ls home:etamPL/dot2tex _link project.diff # -> home:jimfunk dot2tex (latest) _service _service:recompress:tar_scm:dot2tex-2.8.7.tar.bz2 dot2tex.changes dot2tex.spec
You should run osc linktobranch to convert your package to a proper branch.
Yes, keep in mind that services always only run on un-expanded sources. So there is indeed no _service file in your package so far ... -- 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
participants (4)
-
Adam Mizerski
-
Adrian Schröter
-
Andreas Schwab
-
Marcus Hüwe