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/changelogs
snipfoo 0a0dbcf21f
[stable-2.16] Fix condition for unquoting configuration strings from ini files (#82388)
* Add prefix to `origin` when configuration variables come from ini files

Fixes ansible#82387

This change was suggested by @bcoca in
https://github.com/ansible/ansible/pull/82388#discussion_r1424235728 and
https://github.com/ansible/ansible/pull/82388#discussion_r1424249732

When configuration variables come from an ini file, their `origin` is
now set to `ini: <file>`. Similarly, once supported, YAML configuration
files will have their `origin` as `yaml: <file>`.

Consequently, since unquoting configuration strings should happen if and
only if they come from an ini file, this condition boils down to testing
whether their `origin` starts with `ini:`.

* Do not add prefix to `origin` but explicitly pass `origin_ftype`

So as not to rely on a specific format of the `origin` string,
as suggested by @sivel in
https://github.com/ansible/ansible/pull/82388#issuecomment-1881714871
(cherry picked from commit 5f4e332e37)

Co-authored-by: snipfoo <79416808+snipfoo@users.noreply.github.com>
4 weeks ago
..
fragments [stable-2.16] Fix condition for unquoting configuration strings from ini files (#82388) 4 weeks ago
CHANGELOG-v2.16.rst New release v2.16.13rc1 (#84195) 1 month ago
README.md Convert non-docs *.rst files to *.md (#81217) 1 year ago
changelog.yaml New release v2.16.13rc1 (#84195) 1 month ago
config.yaml [changelog config] Ansible Base -> ansible-core (#73739) 4 years ago

README.md

Changelogs

As part of the release process a version-specific CHANGELOG-vX.Y.rst will be generated from fragments in the fragments directory.

On release branches once a release has been created, consult the branch's version-specific file for changes that have occurred in that branch. The devel branch does not have a generated changelog, only changelog fragments.