Community OBS - Refurbished and re-floated

cool. 3.4 planned? I’m still on unsupported hardware… and we ask you if we need credentials?

yes, I need to figure out how but I’m sure I can get the old versions up eventually.

For access you need a merproject bugzilla account and just ask me for that via irc msg or pm on here.
I need an email and the account name you’d like to use.

But signing up will not be opened, will it? I suppose there’s no motivation in doing so.

You mean different sign up methods apart from pinging @lbt?

Oh, I can ping lbt of course :slight_smile:

Signup is still open and hasn’t changed for the last several years … I’m just a one-man captcha machine!!! :rofl:

(We were hoping to merge with sailfishos logins but that idea has been shelved)

3 Likes

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)

7 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

1 Like

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.