openSUSE / openSUSE-git

3 stars 5 forks source link

`osc branch` creates empty package with git managed package.. #34

Closed mimi1vx closed 5 months ago

mimi1vx commented 1 year ago
osc branch openSUSE:Factory python-cloup

Note: The branch has been created of a different project,
              devel:languages:python,
      which is the primary location of where development for
      that package takes place.
      That's also where you would normally make changes against.
      A direct branch of the specified package can be forced
      with the --nodevelproject option.

A working copy of the branched package can be checked out with:

osc co home:mimi_vx:branches:devel:languages:python/python-cloup
~ ❯❯❯ osc co home:mimi_vx:branches:devel:languages:python python-cloup
A    home:mimi_vx:branches:devel:languages:python/python-cloup
At revision None.
~ ❯❯❯ cd home:mimi_vx:branches:devel:languages:python/python-cloup
..vel:languages:python/python-cloup ❯❯❯ ls -al
celkem 4
drwxr-xr-x  3 mimi users   18 20. říj 10.25 .
drwxr-xr-x 33 mimi users 4096 20. říj 10.25 ..
drwxr-xr-x  2 mimi users  103 20. říj 10.25 .osc
mcepl commented 5 months ago

This is not relevant any more:

tumbleweed-pkg~/build$ osc branch openSUSE:Factory python-cloup
PackageError: devel:languages:python/python-cloup: Cannot branch a package with <scmsync> set.
tumbleweed-pkg~/build$