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] 01004bd27b
[PR #7046/c7fa11d5 backport][stable-7] snap: Only treat --- as an info separator when it's preceded by newline (#7063)
snap: Only treat `---` as an info separator when it's preceded by newline (#7046)

* Only treat `---` as an info separator when it's preceded by newline

The code for splitting the output of `snap info` for multiple snaps
can't assume that `---` separates snaps any time it appears in the
output; it needs to treat that as the separator only when it's at the
start of a line. Otherwise it breaks if any snap uses `---` in its
description text, which, e.g., the `bw` snap does as of the date of
this commit.

Fixes #7045.

* Add changelog fragment

* Add a comment explaining why \n is necessary before ---

* Update changelogs/fragments/7046-snap-newline-before-separator.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Jonathan Kamens <jik@jik5.kamens.us>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit c7fa11d576)

Co-authored-by: Jonathan Kamens <jik@kamens.us>
2023-08-04 08:43:53 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
6914-proxmox_kvm-enable-force-restart.yml Revert "[stable-7] Revert new features to be able to do 7.2.1 release (#7042)" 2023-07-31 16:29:37 +02:00
6976-proxmox-vm-info-not-require-node.yml Revert "[stable-7] Revert new features to be able to do 7.2.1 release (#7042)" 2023-07-31 16:29:37 +02:00
7020-redfish-utils-pagination.yml Revert "[stable-7] Revert new features to be able to do 7.2.1 release (#7042)" 2023-07-31 16:29:37 +02:00
7043-ejabberd-user-deprecate-logging.yml [PR #7043/d17ec06d backport][stable-7] ejabberd_user: deprecate parameter logging (#7058) 2023-08-02 11:46:13 +02:00
7046-snap-newline-before-separator.yml [PR #7046/c7fa11d5 backport][stable-7] snap: Only treat --- as an info separator when it's preceded by newline (#7063) 2023-08-04 08:43:53 +02:00