You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/packaging/os
Robin Roth bb68df525c refactor zypper module
* refactor zypper module

Cleanup:
* remove mention of old_zypper (no longer supported)
  * requirement goes up to zypper 1.0, SLES 11.0, openSUSE 11.1
  * allows to use newer features (xml output)
  * already done for zypper_repository
* use zypper instead of rpm to get old version information, based on work by @jasonmader
* don't use rpm, zypper can do everything itself
* run zypper only twice, first to determine current state, then to apply changes

New features:
* determine change by parsing zypper xmlout
* determine failure by checking return code
* allow simulataneous installation/removal of packages (using '-' and '+' prefix)
  * allows to swap out alternatives without removing packages depending
    on them
* implement checkmode, using zypper --dry-run
* implement diffmode
* implement 'name=* state=latest' and 'name=* state=latest type=patch'
* add force parameter, handed to zypper to allow downgrade or change of vendor/architecture

Fixes/Replaces:
* fixes #1627, give changed=False on installed patches
* fixes #2094, handling URLs for packages
* fixes #1461, fixes #546, allow state=latest name='*'
* fixes #299, changed=False on second install, actually this was fixed earlier, but it is explicitly tested now
* fixes #1824, add type=application
* fixes #1256, install rpm from path, this is done by passing URLs and paths directly to zypper

* fix typo in package_update_all

* minor fixes

* remove commented code block
* bump version added to 2.2
* deal with zypper return codes 103 and 106
9 years ago
..
__init__.py Reorganization. 10 years ago
apk.py Replace choices=BOOLEANS by type='bool', fix #1326 9 years ago
dnf.py Mark conf_file as a path, for various user expansion 9 years ago
homebrew.py Sprinkle some LANG/LC_* where command output is parsed (#2019) 9 years ago
homebrew_cask.py Fix homebrew_cask examples 9 years ago
homebrew_tap.py Merge pull request #251 from kdisneur/hotfix/tap-prefixed-by-homebrew 9 years ago
layman.py added check_mode support 9 years ago
macports.py Adding author's github id 10 years ago
openbsd_pkg.py fix the spelling of vim's flavor in the example 9 years ago
opkg.py added version added 9 years ago
pacman.py Remove dead code from pacman module 9 years ago
pkg5.py Replace choices=BOOLEANS by type='bool', fix #1326 9 years ago
pkg5_publisher.py Replace choices=BOOLEANS by type='bool', fix #1326 9 years ago
pkgin.py pkgin: Fix bad regexp which did not catch packages such as p5-SVN-Notify 9 years ago
pkgng.py add chroot flag to pkgng in order to allow installation of packages into chroot environments, e.g. jails (#1218) 9 years ago
pkgutil.py added missing version_added 9 years ago
portage.py Use boolean instead of "yes" + choice for most option 9 years ago
portinstall.py Update for modules which import json. 9 years ago
slackpkg.py minor doc fix 9 years ago
svr4pkg.py svr4pkg: assume command worked only on known-to-be-good returncodes 10 years ago
swdepot.py fixed a typo in swdepot module 9 years ago
urpmi.py Update for modules which import json. 9 years ago
yum_repository.py Describing the _none_ value of the proxy option (#2053) 9 years ago
zypper.py refactor zypper module 9 years ago
zypper_repository.py Zypper repository rewrite (#1990) 9 years ago