All apps/osc

osc

osc

Command-line interface to work with an Open Build Service

Runs as osc|macOS, Linux, Windows|openbuildservice.org

Command form

ai-draft · 3 tasks · 23 fields

Check out, branch and commit packages with osc. Building, requests, project metadata and the other commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui osc

osc checkout

Check out a package
Check out a packageExample values, fixed in this page — nothing here reaches a terminal
Basic
Project*
string
Package*
string
Revision
string
Place package in current directory
--current-dir
TasksEach one presets the form for one job
Check out a package
projectpackagerevisioncurrent_dir
ParametersOnly these flags are editable in the form
Revision
string
--revision-r
Keep _link unexpanded
boolean
--unexpand-link-u
Meta data instead of sources
boolean
--meta-M
Place package in current directory
boolean
--current-dir-c
Output directory
path
--output-dir-o
Run source services
boolean
--source-service-files-s
Project
string · positional 0
Package
Omit to check out the entire project.
string · positional 1

osc branch

Branch a package
Branch a packageExample values, fixed in this page — nothing here reaches a terminal
Basic
Source project*
string
Source package*
string
Check out afterwards
--checkout
TasksEach one presets the form for one job
Branch and check out
source_projectsource_packagecheckout
ParametersOnly these flags are editable in the form
Check out afterwards
boolean
--checkout-c
Force, overwrite target
boolean
--force-f
Message
string
--message-m
Revision
string
--revision-r
Do not follow the devel project
boolean
--nodevelproject
Disable building the branch
boolean
--disable-build
Source project
string · positional 0
Source package
string · positional 1
Target project
Use . for the default.
string · positional 2
Target package
string · positional 3

osc commit

Commit changes
Commit changesExample values, fixed in this page — nothing here reaches a terminal
Basic
Log message*
string
Directory or files
any
TasksEach one presets the form for one job
Commit with a message
messagepaths
ParametersOnly these flags are editable in the form
Log message
string
--message-m
No log message
boolean
--no-message-n
Read message from file
path
--file-F
Allow empty commit
boolean
--force-f
Directory or files
Omit to commit the current directory.
path · positional 0 · repeatable
SourcesEvery flag above is checked against these
man
osc co PROJECT [PACKAGE] [FILE] osc co PROJECT # entire project osc co PROJECT PACKAGE # a package -r rev, --revision rev: checkout the specified revision. NOTE: if you checkout the complete project this option is ignored! -u, --unexpand-link: if a package is a link, check out the _link file instead of the expanded sources -M, --meta: checkout out meta data…
manualDebian unstable

manpages.debian.org

man
osc branch SOURCEPROJECT SOURCEPACKAGE osc branch SOURCEPROJECT SOURCEPACKAGE TARGETPROJECT|. TARGETPACKAGE -c, --checkout: Checkout branched package afterwards using "co -e -S"('osc bco' is a shorthand for this option) -f, --force: force branch, overwrite target -m TEXT, --message TEXT: specify message TEXT -r rev, --revision rev: branch against a specific…
manualDebian unstable

manpages.debian.org

man
osc ci # current dir osc ci <dir> osc ci file1 file2 ... -m TEXT, --message TEXT: specify log message TEXT -n, --no-message: do not specify a log message -F FILE, --file FILE: read log message from FILE, '-' denotes standard input. -f, --force: Allow empty commit with no changes. When committing a project, allow removing packages even if other packages depen…
manualDebian unstable

manpages.debian.org

Before it fills your prompt, Otty checks the installed osc against its version. A form that does not match your version is not offered.