I've forever been confused by the bad repo management design in zypper
with regards to handling of repo name, alias, and description, and
adding/modifying repos.
Specifics:
1) zypper ar -c adds repo instead of checking URL. #507736
2) zypper ar -h
addrepo (ar) [options] <URI> <alias>
addrepo (ar) [options]
The second version is missing the <alias> specification.
3) zypper ar URL://someplace.repo aliasstring
puts aliasstring int othe alias (good) but destroys the name (very bad).
The result is useless unless I am careful with the choce of aliasstring,
and in any case havong identical strings for name and alias is pointless
(ditch one of them altogether).
4) There is no repo description, but there is a useless name/alias
scheme. I suggest to dump the alias in favour of name, and to use what
is the name as description.
5) zypper lr needs to show some useable short name which can easily be
copy/pasted and used(pasted) on the command line, and some informative
description.
6) Adding the repos offered by yast results in a meaningless alias
("repo_somenumber") and an informative description in the name field (of
zypper lr) which is however unusable as a name.
It makes for a frustrating repo management experience :(
Volker
--
Volker Kuhlmann is list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-devel+help@opensuse.org