Community OBS - Refurbished and re-floated

PSA: 4.1.0.24 is now operational on the OBS. Please let me know of any issues :slight_smile:

6 Likes

How do we get an account for OBS for use in SailfishOS’ OBS?

Assuming we go through OpenSUSE’s Portal?

No. msg me with the username you want and an email and then you use the old Mer bugzilla to setup a password
Username is 2-20 characters long and only use A-Z a-z 0-9 and _

1 Like

Is there any reading about how to use sailfish OBS other than http://openbuildservice.org/help/manuals/ ?

(For example “Click the Repositories tab, then the Add from a Distribution link” is not present and I don’t know how to add a sailfishos release to a build. Plain “Add repository” only lists a “SailfishOS latest” which resolves to sailfish_latest_armv7hl.)

1 Like

I will put somethng together :slight_smile:

If you want to explore look here: Show home:lbt:apps / harbour-dice - SailfishOS Open Build Service

You’ll need a git repo that contains an rpm/ dir and your source. SDK stuff should work fine

Login and you will have a home project (link at the top right of the obs pages)

Edit the Advanced/Meta and add entries just like mine:
https://build.sailfishos.org/project/meta/home:lbt:apps

Go to the Users ‘tab’ and add ‘cibot’ as a maintainer so she’ll be able to update your src when a git tag happens.

Then create a package with your app name (there’s a link)

Create a file called _service locally and upload it to that package

I made one like this: (edit to make xml visible!)

<services>
  <service name="webhook">
  <param name="repourl">https://github.com/lbt/harbour-roll.git</param>
  <param name="branch">harbour-dice</param>
  </service>
</services>

Note that the OBS will update that file and add another section to it

That’s it.

Now if you add https://webhook.sailfishos.org/webhook/ to your github/lab webhook setup : https://github.com/lbt/harbour-roll/settings/hooks then whenever you tag on the branch in the webhook it will build

Click on repositories in the OBS and “go to download repository” and you’ll see your rpms and the repodata etc

Quick and dirty because I’m off to a BBQ so more later :smiley:

(harbour-dice is my pure openGL/physics dice simulator btw)

9 Likes

Well thank you very much @lbt - this is one of the fastest tracks I’ve read!
I assume the git repo and branch are in an XML, I’ll let you edit when you have time - enjoy the bbq!

(For the curious, I’ve managed to build a patchmanager version that should work with busybox and did not manage yet to build irremote)

One of the issues with updating an existing app from the obs repos that I’ve seen (other than no signature):

There is an update candidate for ‘patchmanager’ from vendor ‘meego’, while the current vendor is ‘’

1 Like

you spelt _service with a trailing s in the irremote package :slight_smile:

I never implemented signing for the community OBS but I think that may happen at some point.

The vendor change is deliberately part of libzypp (I think) and is intended to avoid accidentally switching packages if two repos provide it

1 Like

Ah yes, one thing I forgot - you must give cibot access to your projects…

Go to the Users ‘tab’ and add ‘cibot’ as a maintainer

2 Likes

Thanks again:)
For irremote there is more stuff needed, I’ll get back to it later (android-headers)

I’ve managed to get a really simple QT/QML app and one more complicated C++ app running.
https://build.sailfishos.org/project/subprojects/home:poetaster

I’m asking myself if the subproject route is asking for trouble (seems ok?) and
Is it fine if I add

  <repository name="3.4.0.24_i486">
    <path project="sailfishos:3.4.0.24" repository="latest_i486"/>
    <arch>i586</arch>
  </repository>
  <repository name="3.4.0.24_armv7hl">
    <path project="sailfishos:3.4.0.24" repository="latest_armv7hl"/>
    <arch>armv8el</arch>
  </repository>

I also noticed that the overview page for my user doesn’t show packages since they are in subprojects. is that a bug or a feature?

I think it would be a great thing, to update the release targets on the Community OBS together with the EA Releases. By doing that we could check and prepare if something is breaking in the new “chum” ecosystem and around. (Somehow this is a “reminder” about this request OBS targets update as a part of release process, but with chum and increased OBS usage the situation gets more important :wink:)

2 Likes

With OBS, I would be happy if the targets for proper releases would appear in timely manner. That would be already great improvement. As for EA, it is OK to skip them.

1 Like

Is it only me having some Issues with the webhooks due to SSL certificate problems?

hi
i must be a dau
so i have now a login for https://bugs.merproject.org/
but how that that help me here ?
Please Log In - SailfishOS Open Build Service
thanks !
P

The same credentials should work there, too. (At least they did for me)

How can I fix the state “downloading X dod packages” my packages (pyparsing / packaging) seem to be stuck in for some days?
They depend on some official packages from Jolla.

According to Show sailfishos:4.3.0.12:aarch64 - SailfishOS Open Build Service , the download on demand repo seems to be broken, but the status page says that the last update was 2022-02-07 17:45:05+00:00

@takimata: I have pinged @lbt regarding it on Saturday and this morning. It is something that OBS administrators have to fix. Hopefully, it will be fixed soon. Not much we can do on our side…

edit: Seems to be fixed already, thanks!