[opensuse-buildservice] Re: [PATCH] allow 'osc results PROJECT', as an alternative to 'osc prjresults PROJECT'. Flagged 'ls' without arguments as deprecated. This should really list relative to the working directory rather than all projects. It's now consistent with running 'osc r' in PRJ/PKG working directory.
Hi, On 2010-12-02 23:43:44 +0100, OBS osc wrote:
From: Juergen Weigert <jw@suse.de>
--- osc/commandline.py | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/osc/commandline.py b/osc/commandline.py index 62ed8c5..722ab02 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -222,7 +222,7 @@ class Osc(cmdln.Cmdln): """${cmd_name}: List sources or binaries on the server
Examples for listing sources: - ls # list all projects + ls # list all projects (deprecated) Hmm I really don't like this change. IMHO we shouldn't start deprecating some UI commands unless we have a complete proposal for a reworked (consistent) UI. Introducing such a "transitional" syntax like "osc ls /" doesn't improve the situation (IMHO).
Any opinions? If not I would like to revert some parts of your last commits. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Dec 03, 10 15:44:59 +0100, Marcus Hüwe wrote:
Hi,
On 2010-12-02 23:43:44 +0100, OBS osc wrote:
From: Juergen Weigert <jw@suse.de> 1 files changed, 6 insertions(+), 8 deletions(-)
Examples for listing sources: - ls # list all projects + ls # list all projects (deprecated)
I basically wanted to get 'ls /' establised and advertised, so that we have a chance to free 'ls' some time in future for a more useful use. osc ls / osc lsproj osc ls --all-projects All would do. I believe we need a transitional period where both old and new way of 'list all projects' exist simultaneously.
Hmm I really don't like this change. IMHO we shouldn't start deprecating some UI commands unless we have a complete proposal for a reworked (consistent) UI.
The plan exists, but did not see much discussion: - osc/PROJ_PACK.txt - http://en.opensuse.org/openSUSE:Build_Service_Concept_OscProjPack cheers, JW- -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de back to ascii! __/ _---|____________\/ \ | 0911 74053-508 __/ (____/ /\ (/) | _____________________________/ _/ \_ vim:set sw=2 wm=8 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) SuSE. Supporting Linux since 1992. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Juergen Weigert
-
Marcus Hüwe