osc co home:you |
Check out you(r) home project.
|
cd home:you |
Change into the new directory.
|
osc mkpac ctris |
Create new package named ctris.
|
cd ctris |
Change into the new package directory.
|
vi ctris.spec |
Start writing the new spec file.
|
wget -q http://www.hackl.dhs.org/data/download/download.php?file=ctris-0.42.tar.bz2 -O ctris-0.42.tar.bz2 |
Download the sources into the directory. (Note: checksum/signature validation should also be done as next step, if any of them are provided.)
|
osc addremove |
Mark files to be added and/or removed from your package directory.
|
osc ci -m "First checkin of the ctris package" |
Submit your files/changes back to the remote build instance.
|
osc meta pkg $PRJ $PKG -eosc co $PRJ $PKG
osc branch home:lrupp ctris |
Creates a branch of the package below your home project.
|
osc co home:you:branches:home:lrupp/ctris |
Check out the branched package.
|
cd home:you:branches:home:lrupp/ctris |
Change into the new directory.
|
vi ctris.spec |
Do changes in spec file (or other files).
|
wget -q http://www.hackl.dhs.org/data/download/download.php?file=ctris-0.42.tar.bz2 -O ctris-0.42.tar.bz2 |
Download newer source tarballs (as example).
|
osc build ctris.spec |
Do a test build of the package.
|
rm ctris-0.41.tar.bz2 |
Cleanup before submitting, please. ;-)
|
osc vc |
Add a new package changelog entry.
|
osc ci -m "updated package to latest upstream version" |
Submit your files/changes to the remote build instance.
|
osc results |
Check the build results of your changes.
|
osc sr -m "Hi! I updated your package to the latest version. Have fun!" |
Create a submit request against the original project.
|
osc request -M |
Check the current status of your own requests.
|
osc meta prj -e |
Either use the WebUI or edit the project configuration manually and add a build target repository.
|
osc build |
Builds a package with the default values (for distribution and architecture) from the file ~/.oscrc.
|
osc build Fedora_22 x86_64 |
Builds a package with given repository and architecture.
|
osc lbl | less |
Shows the build log of a local build (pipe into pager to allow scrolling and searching).
|
osc chroot |
Jump into the chroot environment of the current local build. Might be useful for debugging and/or fixing a package.
|
osc ci -m "fixed package build for Fedora" |
Submit your files/changes to the remote build instance.
|
osc results |
Shows the build results of a package or project.
|
osc prjresults |
Shows project-wide build results.
|
osc request list home:lrupp |
Check for (open) submit requests against a repository.
|
osc request show -d $ID |
Deeply inspect submit request with id $ID (show diff).
|
osc request accept $ID -m "Thank you for your contribution :-)" |
Accept a pending request.
|
osc request decline $ID -m "Sorry, but you forgot to add missing files" |
Decline a pending request.
|
osc request supersede -m "He did it better than me - use his submit request please" $ID $SUPERSEDING_ID |
Superseede a pending submit request with another one.
|
osc branch -N -M openSUSE:Backports:SLE-12:Update/glibc7 |
Create a branch pointing to a not yet existing package for a project and package in maintenance mode like the package hub project.
|
osc meta prj $PRJ |
Show meta informatoin about a project.
|
osc meta pkg $PRJ $PKG |
Show meta information about a package.
|
osc meta user $USER |
Show information about a user.
|
osc meta prjconf $PRJ |
Show meta information about a project.
|
osc updatepacmetafromspec |
Update package meta data with metadata taken from spec file.
|
--help option and man page. Please refer to this material if you want to get more information.No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.