1 osc -- opensuse-commander with svn like handling
4 Please send patches to poeml@suse.de, or work directly on
5 https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/python/osc/
10 RPM packages are here (yum repository):
11 http://software.opensuse.org/download/repositories/openSUSE:Tools/
13 To install from svn, do
15 python setup.py install
16 # create a symlink 'osc' in your path pointing to osc.py.
17 ln -s osc-wrapper.py /usr/bin/osc
19 Alternatively, you can directly use osc-wrapper.py from the source dir
22 The program needs the following python packages installed (that's their names
32 osc uses authentication data if it finds it in .netrc, otherwise it will ask
33 for username/password once, and store it in ~/.oscrc.
39 osc ls # list projects
40 osc ls Apache # list packages in a project
41 osc ls Apache subversion # list files of package of a project
44 osc co Apache # entire project
45 osc co Apache subversion # a package
46 osc co Apache subversion foo # single file
51 osc up * # from within a project dir, update all packages
56 osc ci file1 file2 ...
61 osc st file1 file2 ...
63 # initialize a source directory to be a
64 # working copy of project <prj> package <pac>
67 # schedule files foo to be added / deleted
68 osc add file1 file2 ...
69 osc rm file1 file2 ...
71 # add all unknown files AND remove all missing files
75 osc diff # current dir
76 osc diff file1 file2 ...
78 # show build results (xml)
80 osc results [platform]
82 # show logfile (must be run from workingdir)
83 osc log <platform> <arch>
87 # show platforms used by project Apache
90 # show various xml meta
92 osc meta Apache subversion
100 Putting the following in the file ~/.w3m/passwd will make
101 w3m know the credentials for the buildservice servers:
104 host api.opensuse.org
106 realm Authentication required
110 host build.opensuse.org
112 realm openSUSE Build Service
117 chmod 0600 ~/.w3m/passwd