Adam Spiers napsal(a):
Hi all,
Such is the value of the openSUSE Build Service from my perspective that I now have over 40 repositories registered on my main SUSE machine! I found that zypper was slightly awkward for managing this number of repositories, so I found a few hours of spare time to knock up the following; hope it's of use to somebody. Patches welcome!
Nice :-). I don't have patches right now, just some suggestions: The help says that the default is the 'l' command, however if I run rypper with no arguments at all, it prints the help. Maybe it should be equivalent to 'rypper l'? rypper l prints the following warning: $ LC_ALL=C ./rypper l Argument "^[[?1034h#" isn't numeric in numeric comparison (<=>) at ./rypper line 193. id alias enabled uri ... Caused by $ LC_ALL=C zypper lr -d | cat -v | head -1 ^[[?1034h# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service Not sure why zypper prints the escape sequence (it's the 11.1 version), maybe a zypper bug. rypper fails to parse localized zypper messages, the easies workaround would be $ENV{LC_MESSAGES} = "C" before running zypper: $ LC_MESSAGES=cs_CZ.UTF-8 ./rypper -e id alias refresh ------------------- $ Michal -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org