mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f0fcb221cd
* If repo option points to .repo file, download for later parsing * Parse downloaded .repo file content (ini format) * Validate downloaded file, map values to repodata, workaround to ignore old .repo related code * Integration Test adjusted to install python package 'requests' first * Revert "Integration Test adjusted to install python package 'requests' first" This reverts commit 0d18352c2238d098831ba6d59b66e731fa8f0cd9. Not allowed to introduce new dependencies at this point, module_utils usage required * Remove python 'requests' dependency, using 'fetch_url' and 'to_text' from 'ansible.module_utils' instead * Prefer alias (name) if given instead repo (url) * If gpgkey was given in .repo file ensure key get automatically imported * ConfigParser Import made Python2 compatible * New .repo code moved below existing run-time parameters checks to keep previous logic * Obsolete workaround removed * two pylint/pep8 errors fixed * name added to autorefresh assert * Missing assert for 'Delete test repo' added * name added to priority option assert * name added to check repo is updated by url assert * name added to check repo is updated by name assert * name added to check add a repo by releasever assert * name added to check remove added repo assert * name added to check add a repo by basearch assert * name added to check remove added repo #2 assert * Bugfix to avoid 'KeyError' Exception in if statements * Refactoring of configparser related code, usage of module_utils, py2 compatibility * Removal of some leftover from earlier testing * Integration tests for add/remove repositories by url to .repo file added * Additional name added to list of test repos that has to be removed * Test added to verify cleanup of local .repo file after removal via zypper * Changelog fragment related to PR #3474 added * yamllint error resolved * Refactoring to reduce indentation and removal of else statements * Integration tests added for loading .repo file from local path * Test .repo file added * Dependency to setup_remote_tmp_dir added * New entry added to 'remove repositories added during test' * Support for .repo file from local path * Changelog: Ref to https://github.com/ansible-collections/community.general/issues/3466 added Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de> |
||
---|---|---|
.. | ||
apk.py | ||
apt_repo.py | ||
apt_rpm.py | ||
copr.py | ||
flatpak.py | ||
flatpak_remote.py | ||
homebrew.py | ||
homebrew_cask.py | ||
homebrew_tap.py | ||
installp.py | ||
layman.py | ||
macports.py | ||
mas.py | ||
openbsd_pkg.py | ||
opkg.py | ||
pacman.py | ||
pacman_key.py | ||
pkg5.py | ||
pkg5_publisher.py | ||
pkgin.py | ||
pkgng.py | ||
pkgutil.py | ||
portage.py | ||
portinstall.py | ||
pulp_repo.py | ||
redhat_subscription.py | ||
rhn_channel.py | ||
rhn_register.py | ||
rhsm_release.py | ||
rhsm_repository.py | ||
rpm_ostree_pkg.py | ||
slackpkg.py | ||
snap.py | ||
sorcery.py | ||
svr4pkg.py | ||
swdepot.py | ||
swupd.py | ||
urpmi.py | ||
xbps.py | ||
yum_versionlock.py | ||
zypper.py | ||
zypper_repository.py |