Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osc branch a package into another project for scmsync package #1381

Open
mcepl opened this issue Aug 12, 2023 · 2 comments
Open

osc branch a package into another project for scmsync package #1381

mcepl opened this issue Aug 12, 2023 · 2 comments
Labels

Comments

@mcepl
Copy link
Contributor

mcepl commented Aug 12, 2023

Describe the bug
With a regular (OSC managed) package I can do

 $ osc branch openSUSE:Factory par_text home:mcepl:neovim

to have the package available in another project (because it is required for dependency or it should be build in a different environment or for different platform).

With scmsync managed package I get an error:

tumbleweed-pkg~/b/neovim$ osc branch openSUSE:Factory par_text home:mcepl:neovim
BuildService API error: failed to branch: <status code="404">
  <summary>_link: no such file</summary>
  <details>404 _link: no such file</details>
</status>

tumbleweed-pkg~/b/neovim$ 

Any ideas?

Versions

  • Operating system: Tumbleweed
  • Packages: local build from the master branch (currently tag 1.3.0).

To Reproduce
Steps to reproduce the behavior:

  1. see above

Expected behavior
somehow the package becomes present in the other package as well

@mcepl mcepl added the Bug label Aug 12, 2023
@adrianschroeter
Copy link
Member

for one we will definitive not supporting source merge mechanism of native OBS packages together with git managed sources.

I wonder why you even try to use it, because you may not know that a package is actually git managed?
In that case we should just report an error message pointing to an explanation how to work with gitea instead IMHO.

What we need to find is a tool/workflow how one can setup easily a test build env after ones has forked a package in any git server IMHO.

@hennevogel
Copy link
Member

This is solved by openSUSE/open-build-service#14752 for packages you convert from now on and on build.o.o also for packages that have been converted previously.

What is not solved is that branching does not "transfer" the scmsync attribute 👉🏿 openSUSE/open-build-service#14803

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants