1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
patchback[bot] a2c93f5e99
zypper_repository: Improve .repo file idempotency (#3474) (#3528)
* 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>
(cherry picked from commit f0fcb221cd)

Co-authored-by: Dominik Wombacher <dominik@wombacher.cc>
2021-10-08 07:56:34 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
3330-bugfix-keycloak-authentication-flow-requirements-not-set-correctly.yml.yml Keycloak: Fix bug on keycloak_authentication, requirement not always updated (#3330) (#3446) 2021-09-26 13:48:48 +02:00
3400-fix-gitLab-api-searches-always-return-first-found-match-3386.yml Fix: GitLab API searches always return first found match (#3400) (#3448) 2021-09-26 19:49:08 +02:00
3401-nmcli-needs-type.yml nmcli: amended the routing-rules4 key values as list (#3401) (#3467) 2021-09-29 05:45:08 +00:00
3422-open-iscsi-mutual-authentication-support.yaml open-iscsi: adding mutual authentication support and updating authentication parameters description (#3422) (#3447) 2021-09-26 13:49:02 +02:00
3425-mail_add_configurable_ehlo_hostname.yml mail: adding capability to specify ehlo hostname (#3425) (#3427) 2021-09-24 07:41:21 +02:00
3426-copy-permissions-along-with-file-for-jboss-module.yml Copy the permissions along with file for jboss module (#3426) (#3469) 2021-09-29 05:44:59 +00:00
3450-callback_opentelemetry-exception_handling.yml [opentelemetry] minor changes in the import, docs and exception (#3450) (#3491) 2021-10-01 15:08:00 +02:00
3453-fix-gitlab_group-require_two_factor_authentication-cant_be_null.yml Fix require_two_factor_authentication can't be null (#3453) (#3457) 2021-09-27 22:11:54 +02:00
3473-gitlab_deploy_key-fix_idempotency.yml Fix: gitlab_deploy_key idempotency (#3473) (#3512) 2021-10-04 21:42:04 +02:00
3474-zypper_repository_improve_repo_file_idempotency.yml zypper_repository: Improve .repo file idempotency (#3474) (#3528) 2021-10-08 07:56:34 +02:00
3478-yaml-callback.yml yaml callback: prevent plugin from modifying PyYAML (#3478) (#3494) 2021-10-02 20:22:35 +02:00
3496-callback_opentelemetry-enrich_stacktraces.yml [opentelemetry][callback] enrich stacktrace errors (#3496) (#3523) 2021-10-07 07:45:15 +02:00
3498-callback_opentelemetry-only_in_ci.yml [opentelemetry][callback] add option to support enabling plugin in the CI (#3498) (#3524) 2021-10-07 22:16:28 +02:00
3514-ufw_insert_or_delete_biased_when_deletion_enabled.yml [ufw] Insert or delete biased when deletion enabled - as for append or delete. (#3514) (#3525) 2021-10-07 22:15:40 +02:00