1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 01:06:17 +02:00

cleanup done jobs and update documentation

This commit is contained in:
Adrian Schröter 2009-09-04 18:43:28 +00:00
parent 6648377870
commit fec7d58df2
3 changed files with 12 additions and 45 deletions

1
NEWS
View File

@ -4,7 +4,6 @@
- support for running source services locally. Happens by default on source update
and build.
- added missing code for 'osc sr -l [ID]'
- allow osc req as shortcut for osc request.
- allow osc cat with one parameter, if it is a url.
- make osc getpac really get the package (instead of branch only)!
- expanded several tabs to spaces.

17
README
View File

@ -1,13 +1,16 @@
osc -- opensuse-commander with svn like handling
Please send patches to poeml@suse.de, or work directly on
https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/python/osc/
Patches can be submitted via
* mail to opensuse-buildservice@opensuse.org
* Bugzilla: https://bugzilla.novell.com/enter_bug.cgi?product=openSUSE.org&component=BuildService
* or work directly on svn, if you got write acces
https://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/python/osc/
INSTALLATION:
RPM packages are here (yum repository):
RPM packages are here (rpm-md repository):
http://download.opensuse.org/repositories/openSUSE:/Tools/
To install from svn, do
@ -117,12 +120,12 @@ case that some sections already have the correct format).
KEYRING USAGE
Osc now can store passwords in Gnome keyring instead of ~/.oscrc. To use it,
you need python-gnomekeyring and keyring daemon running.
Osc now can store passwords in keyrings instead of ~/.oscrc. To use it,
you need python-keyring and either python-keyring-kde or -gnome.
If you want to switch to using Gnome keyring you need to delete apiurl section
If you want to switch to using a keyring you need to delete apiurl section
from ~/.oscrc and you will be asked for credentials again, which will be then
stored in Gnome keyring.
stored in the keyring application.
USAGE EXAMPLES:

39
TODO
View File

@ -1,19 +1,7 @@
CRITICAL:
- there is no way to list my old requests, regardless of their state,
the online help is misleading about comma seperated lists.
osc request list -s revoked,revoked openSUSE:Tools -> lists 37
osc request list -s accecpted openSUSE:Tools -> lists 113
osc request list -s accecpted,revoked openSUSE:Tools -> lists 0
- hitting the wrong build service is a legal risk.
osc has no guard against forgetting -A. Add automatic pickup from current path.
- webpage can create a _link in a fully populated package.
Need to prevent his somehow.
- cat -E <srcmd5> -r 3 <file> should expand through the third revision of the link to a
named md5sum revision of the file. Or is this nonsense???
- canonical option parser.
-A, -e, -u, -E <n>, should be univeral to all subconmmands that work on prj/pkg objects.
With all subcommands that work on prj/pkg, the following should all be synonyms:
@ -25,10 +13,7 @@ CRITICAL:
The current working directory or its descendants should provide defaults
for apiurl, prj and/or pkg.
- checkout working directories should be real directories. No more colons.
A prj / package nameing collision shall be resolved by renaming the project to
have a .prj suffix
- _real_ SSL support, with certificate verification
MAJOR:
@ -46,10 +31,6 @@ NORMAL:
- status: implement -u option as in svn [3]
- implement (svn-like) switch command
- implement 'mv' command
- _real_ SSL support, with certificate verification
- copypac: put the current release number into the spec file before sending it
- for this, it is required to scan all current binaries, pick the highest release number
and put it into the spec file... otherwise clients won't regard the copied package as newer
- commit: check if errors during PUT are handled sensibly, so the change is
not committed to localmeta
- add switch to commit to change repository options, like to e.g. disable publishing?
@ -67,32 +48,16 @@ MINOR:
scapy-1.0.4-12.13.noarch.rpm
scapy-1.0.4-12.13.src.rpm
but it works packagewise. A project wide binary listing would also be cool
- new command: osc getbinaries [<project>] [<package>] [<rpm>]+ [1]
-> see incarnations of obs_mirror_project, in particular James Oakleys
obs_mirror_project.py
this can peruse the new get_binarylist() and get_binary_file() functions
- adjust zsh completion to work with cmdln.py implementation
- add support for adding tags to packages?
- evaluate password storage alternatives
- use http://code.google.com/p/iniparse/ instead of ConfigParser, with
write capability, for the change
15:16 < DuDE> mt: Projekte anlegen geht nur, wenn es ein Subprojekt ist von einem Projekt wo Du Schreibrechte hast
15:16 < mt> DuDE: wofür?
15:16 < DuDE> mt: dass jeder einfach so top-level-Projekte anlegen kann, war einmal. Chaos-Reduzierung
15:17 < DuDE> mt: ueblich ist heutzutage ein Request auf opensuse-buildservice@
15:18 < DuDE> mt: kannst Du das gleiche mal eben mit osc -H probieren? Mich wuerde mal interessieren, ob da eine sinnvollere Meldung im Body mitkommt
15:19 < mt> DuDE: reply: 'HTTP/1.1 403 Forbidden\r\n'
15:20 < DuDE> mt: das ist gut, dann sollte osc kein "try again" anbieten, sondern die Meldung rueberbringen
JW:
FIXME: osc co overwrites local changes without warning.
FIXME: when branching, the user should be added to bugowner, for the branch project.
FIXME: 'osc req' shall default to 'osc req list -M -B -s all',
FIXME: 'osc rq' shall default to 'osc rq list -M -B -s all',
where -B shows requests related to packages where I am the bugowner.
FIXME: 'osc log openSUSE:Factory PKG' should also point to the bsdevelproject