Cheatography
https://cheatography.com
How to submit packages to SUSE Package Hub
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Targets
Default target for submitting packages:
openSUSE:Backports:SLE-12
Please use the following targets if default target doesn't provide dependencies:
openSUSE:Backports:SLE-12-SP1
or
openSUSE:Backports:SLE-12-SP2 |
Submit a single package
Submitting package hello from project devel:project to target openSUSE:Backports:SLE-12:
osc sr devel:project hello openSUSE:Backports:SLE-12
|
Submit multiple packages
osc branch -M -N openSUSE:Backports:SLE-12/newpackage1
|
osc branch -M -N openSUSE:Backports:SLE-12/newpackage2
|
osc branch -M -N openSUSE:Backports:SLE-12-/newpackage3
|
osc co home:<mylogin>:branches:openSUSE:Backports:SLE-12
|
osc copypac -e -K devel:project/newpackage1 home:<mylogin>:branches:openSUSE:Backports:SLE-12/newpackage1.openSUSE_Backports_SLE-12
|
osc copypac -e -K devel:project/newpackage2 home:<mylogin>:branches:openSUSE:Backports:SLE-12/newpackage2.openSUSE_Backports_SLE-12
|
osc copypac -e -K devel:project/newpackage3 home:<mylogin>:branches:openSUSE:Backports:SLE-12/newpackage3.openSUSE_Backports_SLE-12
|
cd home:<mylogin>:branches:openSUSE:Backports:SLE-12
|
|
Branching existing package
Branching package hello which already exists in target openSUSE:Backports:SLE-12
osc branch openSUSE:Backports:SLE-12 hello
|
|