Mailinglist Archive: zypp-devel (47 mails)
| < Previous | Next > |
Re: [zypp-devel] zypper bad design issues
- From: Jano Kupec <jkupec@xxxxxxx>
- Date: Thu, 28 May 2009 16:55:30 +0200
- Message-id: <4A1EA5E2.6070907@xxxxxxx>
Volker Kuhlmann wrote:
https://bugzilla.novell.com/show_bug.cgi?id=507736#c1 :
Well, the neither the man page nor the help text is very verbose about
this, but it actually means "check whether there's a valid repo at that
url when adding it with addrepo". Without this option, the repo is alway
added (without checking), and you only see an eventual error if you
refresh the repo.
So this is actually not a bug, but i will improve the man page and help
text, so that it's obvious.
---------
as for the alias/name vs. name/description stuff, Duncan already
explained, but i should probably mention these in the vocabulary section
of the zypper man page as well.
Something like:
Alias
A short string that uniquely identifies a repository. Can be used in
commands and options that need a repository specified. The alias is
usually not visible in graphical package managers like YaST Software
Management. That's also why the aliases set by such applications are not
very meaningful. Use 'zypper nr' to change them to something more
pleasant to work with in zypper such case.
Name
A descriptive name of the repository.
--
cheers,
jano
Ján Kupec
YaST team
---------------------------------------------------------(PGP)---
Key ID: 637EE901
Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901
---------------------------------------------------------(IRC)---
Server: irc.freenode.net
Nick: jniq
Channels: #zypp #yast #suse #susecz
---------------------------------------------------------(EOF)---
1) zypper ar -c adds repo instead of checking URL. #507736
https://bugzilla.novell.com/show_bug.cgi?id=507736#c1 :
Well, the neither the man page nor the help text is very verbose about
this, but it actually means "check whether there's a valid repo at that
url when adding it with addrepo". Without this option, the repo is alway
added (without checking), and you only see an eventual error if you
refresh the repo.
So this is actually not a bug, but i will improve the man page and help
text, so that it's obvious.
---------
as for the alias/name vs. name/description stuff, Duncan already
explained, but i should probably mention these in the vocabulary section
of the zypper man page as well.
Something like:
Alias
A short string that uniquely identifies a repository. Can be used in
commands and options that need a repository specified. The alias is
usually not visible in graphical package managers like YaST Software
Management. That's also why the aliases set by such applications are not
very meaningful. Use 'zypper nr' to change them to something more
pleasant to work with in zypper such case.
Name
A descriptive name of the repository.
--
cheers,
jano
Ján Kupec
YaST team
---------------------------------------------------------(PGP)---
Key ID: 637EE901
Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901
---------------------------------------------------------(IRC)---
Server: irc.freenode.net
Nick: jniq
Channels: #zypp #yast #suse #susecz
---------------------------------------------------------(EOF)---
| < Previous | Next > |