mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
Revert half introduced incompatible changes
This commit is contained in:
parent
5a1183a3d3
commit
b8a915b8a2
7
NEWS
7
NEWS
@ -5,12 +5,7 @@
|
|||||||
via 'sslcertck = 0' in .oscrc.
|
via 'sslcertck = 0' in .oscrc.
|
||||||
- 'osc list' option -D now only limits non-'new' requests. In state 'new' all are shown.
|
- 'osc list' option -D now only limits non-'new' requests. In state 'new' all are shown.
|
||||||
- suggest 'osc list' --bugowner option. Not implemented.
|
- suggest 'osc list' --bugowner option. Not implemented.
|
||||||
- implemented 'osc ls .' to take proj/pack name from current directory.
|
- added 'osc rq help' as convenience alias to 'osc help rq'.
|
||||||
* Incompatible change: 'osc ls' now defaults to 'osc ls .',
|
|
||||||
* Use 'osc ls /' if you really want to list all projects.
|
|
||||||
* This is meant as a proof of concept. I intend to generalize this usage of '.'
|
|
||||||
for all osc commands. Feedback welcome.
|
|
||||||
- added 'osc req help' as convenience alias to 'osc help req'.
|
|
||||||
- 'osc in' to be done. Its usage just prints a suggested zypper command line.
|
- 'osc in' to be done. Its usage just prints a suggested zypper command line.
|
||||||
- Incompatible change: osc se now prints Project Package, instead of Package Project
|
- Incompatible change: osc se now prints Project Package, instead of Package Project
|
||||||
for easier copy&paste.
|
for easier copy&paste.
|
||||||
|
@ -204,12 +204,7 @@ class Osc(cmdln.Cmdln):
|
|||||||
also required.
|
also required.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
ls / # list all projects
|
ls # list all projects
|
||||||
ls . # take name package and/or project name from current
|
|
||||||
# local directory, but list corresponding server contents
|
|
||||||
ls # same as 'ls .' if ./.osc/ exists; same as 'ls /' otherwise.
|
|
||||||
ls [-l] . package # take only project name from local directory.
|
|
||||||
|
|
||||||
ls Apache # list packages in a project
|
ls Apache # list packages in a project
|
||||||
ls -b Apache # list all binaries of a project
|
ls -b Apache # list all binaries of a project
|
||||||
ls Apache apache2 # list source files of package of a project
|
ls Apache apache2 # list source files of package of a project
|
||||||
@ -230,8 +225,6 @@ class Osc(cmdln.Cmdln):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
args = slash_split(args)
|
args = slash_split(args)
|
||||||
args = expand_proj_pack(args)
|
|
||||||
|
|
||||||
if subcmd == 'll':
|
if subcmd == 'll':
|
||||||
opts.verbose = True
|
opts.verbose = True
|
||||||
if subcmd == 'lL' or subcmd == 'LL':
|
if subcmd == 'lL' or subcmd == 'LL':
|
||||||
|
Loading…
Reference in New Issue
Block a user