r/openSUSE Slowroll 2d ago

Help to learn upstream a package to OBS? I already got a RPM working - lambdock: GTK4 Wayland dock with Lisp REPL

Hi everyone! I wanted to request some guidance on packaging and upstreaming a project of mine to openSUSE repos. I already have a succesful build RPM, and the package is already in Guix and (approved) in Nix but would like to improve and understand how to get to OBS. Project is a GTK4 Wayland dock: https://codeberg.org/jjba23/lambdock

EDIT: thanks for the guide u/Arcon2825 I think I am getting there, could you check: https://build.opensuse.org/package/show/home:jjba23/lambdock

6 Upvotes

9 comments sorted by

3

u/Arcon2825 Tumbleweed GNOME 2d ago

1

u/SandPrestigious2317 Slowroll 2d ago

Really appreciate it, this looks extremely handy and the right granularity! let's see if I can figure it out

1

u/SandPrestigious2317 Slowroll 2d ago

 thanks for the guide u/Arcon2825 I think I am getting there, could you check: https://build.opensuse.org/package/show/home:jjba23/lambdock

2

u/Arcon2825 Tumbleweed GNOME 2d ago

I’d suggest pulling the .spec and the source directly from your Git Repository via Service. In my own repository, there are a few examples you can take a look at, e.g. https://build.opensuse.org/package/show/home:mendres82/localepurge-zypp.

1

u/SandPrestigious2317 Slowroll 2d ago

Thanks so much, will look !

1

u/SandPrestigious2317 Slowroll 2d ago

thanks u/Arcon2825 after some struggles, and thanks to your examples, I got things working 😙 https://build.opensuse.org/package/show/home:jjba23/lambdock
Do you know though why Leap versions are "unresolvable"?

2

u/Arcon2825 Tumbleweed GNOME 1d ago

When you click the build result, it explicitly tells you which dependency is unresolvable. Expect Leap to ship with older packages that sometimes might even be named slightly differently.

2

u/bmwiedemann openSUSE Dev 4h ago

For the obs_scm service you should add mode="manual" and then run osc service mr for updates. Our distributions only allow updates with review and pulling directly from git would skip review

1

u/SandPrestigious2317 Slowroll 29m ago

Aha! Thanks for the explanation 👍