e8fdba7593
* Remove support for ancient zypper versions Even SLES11 has zypper 1.x. * zypper_repository: don't silently ignore repo changes So far when a repo URL changes this got silently ignored (leading to incorrect package installations) due to this code: elif 'already exists. Please use another alias' in stderr: changed = False Removing this reveals that we correctly detect that a repo definition has changes (via repo_subset) but don't indicate this as change but as a nonexistent repo. This makes us currenlty bail out silently in the above statement. To fix this distinguish between non existent and modified repos and remove the repo first in case of modifications (since there is no force option in zypper to overwrite it and 'zypper mr' uses different arguments). To do this we have to identify a repo by name, alias or url. * Don't fail on empty values This unbreaks deleting repositories * refactor zypper_repository module * add properties enabled and priority * allow changing of one property and correctly report changed * allow overwrite of multiple repositories by alias and URL * cleanup of unused code and more structuring * respect enabled option * make zypper_repository conform to python2.4 * allow repo deletion only by alias * check for non-existant url field and use alias instead * remove empty notes and aliases * add version_added for priority and overwrite_multiple * add version requirement on zypper and distribution * zypper 1.0 is enough and exists * make suse versions note, not requirement based on comment by @alxgu |
||
---|---|---|
.. | ||
__init__.py | ||
apk.py | ||
dnf.py | ||
homebrew.py | ||
homebrew_cask.py | ||
homebrew_tap.py | ||
layman.py | ||
macports.py | ||
openbsd_pkg.py | ||
opkg.py | ||
pacman.py | ||
pkg5.py | ||
pkg5_publisher.py | ||
pkgin.py | ||
pkgng.py | ||
pkgutil.py | ||
portage.py | ||
portinstall.py | ||
slackpkg.py | ||
svr4pkg.py | ||
swdepot.py | ||
urpmi.py | ||
yum_repository.py | ||
zypper.py | ||
zypper_repository.py |