Mailinglist Archive: opensuse-buildservice (200 mails)

< Previous Next >
Re: [opensuse-buildservice] new osc user interface proposal

Hello,

On May 23 18:12 Marcus Hüwe wrote (excerpt):
The current user interface is quite "inconsistent"

I appreciate very much any new user interface which is consistent
from the users's point of view.
Feel free to change the current interface as needed.
All what matters is consistency.


A very general wish:

The new user interface should do a bidirectional communication
with its user whenever something is missing or wrong.

Not the traditional two-times unidirectional way:
First an unidirectional command sent by the user.
Then an unidirectional (error)-message as response.

Examples:

Traditional way:
----------------------------------------------------------------
user@host$ osc cat openSUSE:11.4 grep
Wrong number of arguments.
user@host$
----------------------------------------------------------------

Bidirectional communication way:
----------------------------------------------------------------
user@host$ osc cat openSUSE:11.4 grep
api.opensuse.org: enter file name (? for help)
api.opensuse.org: ----------------------------------------------------------------

Traditional way:
----------------------------------------------------------------
user@host$ osc cat openSUSE:1.4 grep grep.spec
expanding link...
Server returned an error: HTTP Error 404: Not Found
openSUSE:1.4
user@host$
----------------------------------------------------------------

Bidirectional communication way:
----------------------------------------------------------------
user@host$ osc cat openSUSE:1.4 grep grep.spec
api.opensuse.org: project 'openSUSE:1.4' not found
api.opensuse.org: enter project name (? for help)
api.opensuse.org:
----------------------------------------------------------------

Note that bidirectional communication happens only when something
is missing or wrong. When using complete right commands the new
user interface should work in the traditional way so that it can
also be used in scripts without artificial "--silent" parameters.


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH -- Maxfeldstrasse 5 -- 90409 Nuernberg -- Germany
HRB 16746 (AG Nuernberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer
< Previous Next >
References