Since the introduction of the new git workflow, basically the handling of the source and building the package became separated. Although osc fork is a way to achieve a la previous osc branch for git, it'd be also handy if we have a simple way to create a new OBS project tied with the existing (possibly already forked) git repo.
Suppose you have a package foo in OBS devel project abc:bar, corresponding gitea repo is abc-bar/foo.
And now you forked the git repo to user/foo, and modified something. Now you want to test builds -- that is, create a new OBS project home:user:branches:abc:bar that refers to abc:bar, and put the package foo from the gitea repo user/foo with scmsync meta.
Or, use an OBS project name corresponding to gitea owner/repo name, such as home:user:git:user-foo, referring to the devel proj abc:bar. And the package will be home:user:git:user-foo/foo .
Maybe there can be better ways, but hopefully you get an idea.
I'd just like to avoid cumbersome copy&paste of obs meta at each time.
Since the introduction of the new git workflow, basically the handling of the source and building the package became separated. Although
osc forkis a way to achieve a la previousosc branchfor git, it'd be also handy if we have a simple way to create a new OBS project tied with the existing (possibly already forked) git repo.Suppose you have a package
fooin OBS devel projectabc:bar, corresponding gitea repo isabc-bar/foo.And now you forked the git repo to
user/foo, and modified something. Now you want to test builds -- that is, create a new OBS projecthome:user:branches:abc:barthat refers toabc:bar, and put the packagefoofrom the gitea repouser/foowith scmsync meta.Or, use an OBS project name corresponding to gitea owner/repo name, such as
home:user:git:user-foo, referring to the devel projabc:bar. And the package will behome:user:git:user-foo/foo.Maybe there can be better ways, but hopefully you get an idea.
I'd just like to avoid cumbersome copy&paste of obs meta at each time.