Skip to content

Provide an easy way to create an OBS branched project for a git-based package #1771

@tiwai

Description

@tiwai

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions