Mailinglist Archive: zypp-devel (227 mails)
| < Previous | Next > |
Re: [zypp-devel] new zypper search?
- From: Jan Kupec <jkupec@xxxxxxx>
- Date: Wed, 16 Apr 2008 19:26:24 +0200
- Message-id: <480636C0.7090800@xxxxxxx>
Just to make it clearer. The purpose is to show more important and
simpler information than the current zypper search listing all solvables
(all available versions/arch) which is quite detailed info. And the
current search does not display summaries, which are quite interesting.
Users currently need to do zypper info, to find out what is the package
about.
So to sum up the proposal in one sentence:
display selectables with summaries by default, show the detailed
solvable list with archs and version if --details is used.
Michael Matz wrote:
See the attachment, if the package is found only in one repo, the repo
name is displayed. But speaking for myself, i'm not keen on showing the
repo in the default view, the --details is enough for me.
I agree :O)
I'll try :O) (https://bugzilla.novell.com/show_bug.cgi?id=304282)
Oh, the alias vs. name problem again :)
It's a little bit different: the alias is always required, as it is the
ID. YaST is the one which feeds URL there if it has no clue what else to
give there. I hope we will solve this in YaST.
Zypper users want to keep the alias short as they work with it.
However, zypper displays the repo Name everywhere except the repo list
of course. But the names are also often too long. I propose to show the
alias in the tables (as soon as YaST stops using URI there), or an
abbreviated name.
See also this thread for the alias vs. name problem discussion:
http://lists.opensuse.org/opensuse-softwaremgmt/2008-04/msg00004.html
yup :O)
That's the point..
That's why i propose to move the Name column to the second position. And
to swap Repository and Type of course :))
j.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
simpler information than the current zypper search listing all solvables
(all available versions/arch) which is quite detailed info. And the
current search does not display summaries, which are quite interesting.
Users currently need to do zypper info, to find out what is the package
about.
So to sum up the proposal in one sentence:
display selectables with summaries by default, show the detailed
solvable list with archs and version if --details is used.
Michael Matz wrote:
Hi,
On Wed, 16 Apr 2008, Jan Kupec wrote:
Would anybody object if a do the following:
$ zypper search zypp
S | Name | Summary | Type | Repository
--+--------+---------------------------------+---------+-----------
i | zypper | Command line package managem... | package | (multiple)
Just drop the Repository column in this case, it doesn't provide any
information if it just contains "multiple".
See the attachment, if the package is found only in one repo, the repo
name is displayed. But speaking for myself, i'm not keen on showing the
repo in the default view, the --details is enough for me.
I would leave out the Type
column by default if all entries are only "package".
I agree :O)
I like the idea of abbreviated output (bonus points for taking the
environment variable $COLUMNS into account ;-) ).
I'll try :O) (https://bugzilla.novell.com/show_bug.cgi?id=304282)
One things that always bugged me in the zypper output are the long
repository names, as by default they use their alias as name, which in
turn by default is often the URL, and hence extremely long.
Oh, the alias vs. name problem again :)
It's a little bit different: the alias is always required, as it is the
ID. YaST is the one which feeds URL there if it has no clue what else to
give there. I hope we will solve this in YaST.
Zypper users want to keep the alias short as they work with it.
However, zypper displays the repo Name everywhere except the repo list
of course. But the names are also often too long. I propose to show the
alias in the tables (as soon as YaST stops using URI there), or an
abbreviated name.
See also this thread for the alias vs. name problem discussion:
http://lists.opensuse.org/opensuse-softwaremgmt/2008-04/msg00004.html
One possible solution would be to show only made up repository numbers in
the table itself, and then follow the table with an index of which repo is
meant by which number: ala:
-------------------------
S | R | Type | Name | Version | Arch
--+---+---------+--------+------------+-------
i | 1 | package | zypper | 0.10.4-8 | x86_64
v | 2 | package | zypper | 0.11.0-4.2 | x86_64
v | 3 | package | zypper | 0.10.6-2 | x86_64
v | 2 | package | zypper | 0.11.0-4.2 | i586
v | 3 | package | zypper | 0.10.6-2 | i586
Repos:
1 | @System
2 | zypp:svn
3 | factory
-------------------------
That solution might be too nerdy, though
yup :O)
(and only required when the
repo names are "too long") :-/
That's the point..
$ zypper search --details zypper
S | Repository | Type | Name | Version | Arch
--+------------+---------+--------+------------+-------
i | @System | package | zypper | 0.10.4-8 | x86_64
v | zypp:svn | package | zypper | 0.11.0-4.2 | x86_64
v | factory | package | zypper | 0.10.6-2 | x86_64
v | zypp:svn | package | zypper | 0.11.0-4.2 | i586
v | factory | package | zypper | 0.10.6-2 | i586
I can move the Name column to the second position here, too.
It's probably not a good idea to have different column orders depending on
--details or not. I've no better idea, though :-/
That's why i propose to move the Name column to the second position. And
to swap Repository and Type of course :))
j.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |