I'm using a source service in one of my projects. The following
API request lists the sources:
b'<directory name="test-image-luks" rev="12" vrev="12" srcmd5="ce38832ce2fae353397f3f0682704f64">\n <serviceinfo code="succeeded" xsrcmd5="d06180ee167908b06321b653fb2e8f3f"/>\n <entry name="_service" md5="dd99151953bf37f5d40e6ca0bb874293" size="805" mtime="1613060070"/>\n</directory>\n'
On the backend the result files of the _service call are stored
and on the web interface I can also see which files were stored
My question is, is there an API endpoint I can use to actually list
and download the files stored by the _service call ?
Public Key available via: https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
Marcus Schäfer Am Unterösch 9
Tel: +49 7562 905437 D-88316 Isny / Rohrdorf
I have a local install OBS running. Everything works accordingly thanks to the well written documentation. Recently, I have started testing _service. I have added the _service by using the command osc add https://github.com/FreeCAD/FreeCAD.git . When I have run the commit command: osc commit -m "test", I get the following output.
Transmitting file data
Committed revision 20.
Waiting for server side source service run
The waiting goes forever. From my understanding, I know source server (bs_srcserver) needs to connect to source service server (bs_service) in order to run _service. However, I do not see anything happening using strace on bs_service. Also, I have checked the logs in /srv/obs/log, /srv/www/obs/api/log and /srv/obs/service/log and they are no error messages. Also, I have tried to add token using the command osc token --create and triggering it using osc token --trigger <TOKEN> <PROJECT> <PACKAGE>, the result is still the same (Waiting for server side source service run). If anyone has any good suggestions, please let me know. Thanks!
Is there a way to forcibly ignore module dependencies like you can for
package dependencies? Since OBS still doesn't support resolving
unversioned module dependencies (e.g. php modules depend on "nginx"
module, satisfied by any version of the nginx modules), is it possible
to make it pretend that dependency doesn't exist so the content can
still be accessed?
Thanks in advance and best regards!
真実はいつも一つ！/ Always, there's only one truth!
Recently I tried to configure OBS to build a binary package for Cubietruck SBC runing openSUSE Leap 15.3. By default, the 15.3 has configured the repository path containing openSUSE:Leap:15.3/standard. Since there is no arm7l architecture enabled for standard, the package status is unresolvable. If I add (or change to) the repository path openSUSE:Leap:15.3/ports, I get nothing more, the build is still in unresolvable state and a red triangle with white excamation mark show up in repository status.
Is something misconfigured in OBS? Or am I doing something wrong?
is there any plan to release 2.11? We have installed 2.10 as it's the latest
version suggested for production environments. However, it turns out 2.10 has
several bugs which are supposed to be fixed in 2.11 that make obs pretty much
impossible to use after initial configuration.
The most problematic bugs being:
* open-build-service #8683 - archlinux repositories doesn't work
* obs-sign #25 - SHA-1 signatures are no longer accepted by Debian and Ubuntu
* Gitlab Tag Push Hooks doesn't work
All of these have been fixed, with some of the fixes being done more than two
years ago. Applying the fixes manually solves the problems, but any update on
the server means the fixes need to be applied again.
I think the fixes for bugs that make repositories unusable should be either
backported to 2.10, or 2.11 should be released with these fixes. Is there any
chance this will happen? Open Build Service is an amazing piece of software,
but these bugs make it unnecessarily painful to use.
I've just started using OBS and I'm having trouble integrating it with AD/LDAP. I've created a service account, OBS users and Admin Groups in Active directory then I've followed the example provided in the obs-admin-guide/User Guide to configure the "options.yml" configuration file.
I keep receiving "Authentication Failed" messages when trying to login into OBS using an Active Directory user.
I've tested my svc account/user and password (for the ldap bind) via ldapsearch and it works fine.
Verified logs under /srv/www/obs/api/logs.
production.log - only shows INFO. I can see the moment I try to login, but nothing else.
Any tips or any other logs/tools I could check at this point?
I try to edit "_service" and switch from '<service name="tar_scm">' to
'<service name="obs_scm">'. However I get error in OBS:
Files could not be expanded: service error: 400 remote error:
/usr/lib/obs/service//tar.service No such file or directory
I saw comment, elsewhere examples that 'tar' is not needed in OBS, only
at buildtime, however:
1) source code is much larger (~70MB of obscpio archive) than TAR.GZ
compressed archive (~24MB);
2) this source code con not be build for other distributions than openSUSE.
Indeed, if I add mode="buildtime" (for build in OBS) or mode="localonly"
(for recompress in local computer) – it works, but how to use TAR.GZ or
TAR.XZ compression in OBS prior buidtime (as it was with '<service
name="tar_scm">')? If not, how long '<service name="tar_scm">' will be
P.S. _service content:
<service name="tar"/><!-- mode="buildtime" mode="localonly" -->
<service name="recompress"><!-- mode="buildtime" mode="localonly" -->
We're back with exciting news about UI and Reporting Improvements for the Continuous Integration with OBS and GitHub/GitLab. Check out our latest blog post and let us know what you think.
SUSE Software Solutions Germany GmbH
HRB 36809, AG Nürnberg
Geschäftsführer: Felix Imendörffer
I have branched a package so I can get it to build on 15.3. I have
modified the spec and it now builds. My mods are not something that
should be used. Anyway, I want to use the resulting built RPM. For
some reason, and unlike all other things I have in OBS, the results
are not being published. I don't see why. Where would I look to find
the reason? I am mainly a web user on obs. But I can try/look wherever
I need to to sort this out.
The repository is:
Any pointers are appreciated.