OBS: cannot branch libmtp and geany

Dear all,

due to some reason I would like to branch and use https://build.opensuse.org/package/show/GNOME%3AApps/geany and https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp.

For https://build.opensuse.org/package/show/GNOME%3AApps/geany :

Failed to branch: package is developed at https://src.opensuse.org/GNOME/geany#factory. Fork it instead

However:

2 derived packages

For https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp :
“Not found” (It is actually not displayed this way, there are just no results…)
However:

8 derived packages

Including people well known like @ecsos and @Sauerland here…

On the other hand, I do have some branched packages: https://build.opensuse.org/project/show/home:C7NhtpnK

So, what am I doing wrong this time? TIA!

Package sources gets step by step migrated from OBS to src.opensuse.org (github). As the source is no longer on OBS, it can’t be branched. Instead you need to fork the project on github, make your changes and merge your request.

https://en.opensuse.org/openSUSE:Git_Packaging_Workflow

1 Like

I only work on this sort of thing at the console level.
Geany is now in Git. For that, you need to use “osc fork”.
MTP is still in OBS and should still work with “osc branch”.

Thank you, Sirs!

Well, osc and GH both on CLI — instead OBS on GUI (web browser) here at mine, so far — is too heavy for me. I am sadly not into it. Using OBS just for very basic needs has been easy. But the current workflow looks not to be made for non-Pros…

Additionally: does this actually mean that OBS will become obsolete/deprecated in the future?

I hereby explicitly state that I have used OBS on GUI (web browser), so far. This is use for dummies… :slight_smile:

(Missing in my initial post.)

A little bit of answer from myself: https://en.opensuse.org/openSUSE:OBS_to_Git

We are moving source management to Git. We are not moving the build out of OBS — projects will continue to be built in OBS.

OK, so I still could add and use additional repos (as some others do). But my current workflow (just branching some specific packages from other repos instead of adding/using whole repos and then changing vendor to the package there) doesn’t seem to work for me any more due to my lack of skills (osc, GH: CLI…). What a pity!

No guarantee of accuracy.
I mean, the build via that annoying git only works via the console.
Maybe it works somehow via src.opensuse.org as well.
In my opinion, there isn’t any proper documentation either. (I know what’s coming next: ‘But it’s written there and there.’ I stand by my opinion anyway.)
The whole thing has become so complicated and also much more time-consuming than before that I’m glad I can use it via the console.
(Please, no arguments or comments like ‘it’s sooo much better’. I’ve had that discussion so many times. I’m still absolutely convinced that it isn’t. For me, it has zero added value.)
I’m just going to assume that soon all repos will run via Git. :frowning:

You can still do it via the GUI with MTP.
With Geany, you’ll have to get to grips with OSC fork.
But that’s when the real work and time-wasting begins. Once it’s working with OSC, it’s almost as fast as before. Provided you’ve found where the package is actually built in OBS.

1 Like

Thank you! I guess that some users here don’t share some of your opinion like this — but I do. Thank you for daring to speak out.


OK. So, I am out here…

Well, how?

Again, some lesson learned: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp shows

8 derived packages

and I have always been trying to branch this one. Now, I noticed:

Links to openSUSE:Factory / libmtp

That one does the job.

Sorry! I haven’t experienced this pattern so far with my other items so far. That was new to me.


I have it on my list now. When there is time AND motivation, I will look around.

Well, maybe, does anybody know more about his?

Hmm.
Normally, you go to the web GUI at https://build.opensuse.org/package/show/devel:libraries:c_c++/libmtp, which displays
There, you then click on ‘Branch’.
Or you go to your home repo, click on ‘branch’ there, and then specify the repo ‘devel:libraries:c_c++’ and the package ‘libmtp’.

‘8 derivative packages’ simply means that 8 others have already branched it.
I don’t know what the link is for.

With Git, you would either just need to enter
osc fork devel:libraries:c_c++ libmtp or
osc fork devel:libraries:c_c++ libmtp --target-project=home:.
In the console, that is.
And then an osc co home: libmtp

I have set up my gitea account:
https://en.opensuse.org/openSUSE:Git_Packaging_Workflow

And now my first package from git is here:

So as Eric says:
It is working.

libmtp

It’s OK, I know how to cope with. Haven’t actually set it permanently. But the steps are clear now. Maybe, I don’t need it any more quite soon: https://bugzilla.opensuse.org/show_bug.cgi?id=1261532#c3.


geany

I now have https://src.opensuse.org/C7NhtpnK/geany

Mirror von https://src.opensuse.org/GNOME/geany.git

But how to I get it into OBS by GUI — without osc, any chance?


Thank you, Sirs, so far!

Thank you, Sirs, so far!


libmtp

It’s OK, I know how to cope with. Haven’t actually set it permanently. But the steps are clear now. Maybe, I don’t need it any more quite soon: https://bugzilla.opensuse.org/show_bug.cgi?id=1261532#c3.


geany

I now have https://src.opensuse.org/C7NhtpnK/geany

Mirror von https://src.opensuse.org/GNOME/geany.git

But how to I get it into OBS by GUI — without osc, any chance?

Deleted…Sorry i missunderstood your question.

That’s exactly what I don’t know. I tried it once, but it never worked.

Running osc fork devel:libraries:c_c++ libmtp --target-project=home:your_name
in the console works.
After that, you’ll be able to see it in your repo in OBS.

What a pity!

Well, yes. But in that case, I don’t even need osc at all because I can do it directly in OBS GUI. The questions holds for cases like geany which are already managed by SCM (https://src.opensuse.org/GNOME/geany#factory in that case).

Maybe some more info by @Sauerland (https://build.opensuse.org/package/show/home:Sauerland:branches:GNOME:Apps/geany and https://src.opensuse.org/Sauerland/geany#factory)? Would appreciate it!

Read my post.
I have set up my git with the instruction in the link and after:

osc fork GNOME:Apps geany

I do many things here on my Computer and send it afterwards to OBS:

osc ci -n

OK, I see…

Well, osc is needed then. I would like to avoid it. Of course, I could learn and use some basic commands — but I would rather like to avoid it and do it all by GUI in https://build.opensuse.org/ and https://src.opensuse.org/ solely.

Is there any chance that it could be possible in the future?


Thank you, Sirs!

Nobody knows here…

But you do not use many osc commands, maybe only:
osc vc - to write the changelog file
osc ci -n - to transfer it from you Computer to the OBS
osc up - to get the OBS with your Computer to the same level

and now
osc fork to get them from git to the OBS

Rest can be done in the OBS graphically…

See here:
https://en.opensuse.org/openSUSE:OSC

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.