Your message dated Tue, 19 May 2020 19:32:09 +0000
with message-id <[email protected]>
and subject line Bug#959887: fixed in confget 2.2.0-4+deb10u1
has caused the Debian Bug report #959887,
regarding [confget/python] Misparses INI file values containing an equal sign
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
959887: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959887
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: confget
Version: 2.2.0-1
Severity: important
Tags: upstream patch

Control: notfound -1 2.3.4-1

Hi,

This bug report will serve mainly to justify a stable upload of confget
that fixes the parsing of values containing "=" in INI files.
The problem was fixed upstream in version 2.3.4 and so is not present in
unstable and testing.

The problem may be reproduced trivially:

    # Create a test.ini file containing a weird key/value pair
    (buster-amd64)root@straylight:/cftest# cat > test.ini
    [whee]
    key=value=another=third

    # The C implementation finds a variable named "key" with the weird value
    (buster-amd64)root@straylight:/cftest# confget -f test.ini -s whee key
    value=another=third

    # The Python implementation finds the "whee" section, but then finds
    # a variable named "key=value=another" inside
    (buster-amd64)root@straylight:/cftest# python3 -c 'import confget; ccfg = 
confget.Config([], filename="test.ini"); cbak = confget.BACKENDS["ini"](ccfg); 
print(repr(cbak.read_file()))'
    {'': {}, 'whee': {'key=value=another': 'third'}}
    (buster-amd64)root@straylight:/cftest#

The fix is trivially backported from the upstream source; I will provide
it as a justification for a stable upload shortly.

G'luck,
Peter

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8), 
LANGUAGE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: confget
Source-Version: 2.2.0-4+deb10u1
Done: Peter Pentchev <[email protected]>

We believe that the bug you reported is fixed in the latest version of
confget, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Pentchev <[email protected]> (supplier of updated confget package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 06 May 2020 19:12:09 +0300
Source: confget
Architecture: source
Version: 2.2.0-4+deb10u1
Distribution: buster
Urgency: medium
Maintainer: Peter Pentchev <[email protected]>
Changed-By: Peter Pentchev <[email protected]>
Closes: 959887
Changes:
 confget (2.2.0-4+deb10u1) buster; urgency=medium
 .
   * Fix the Python module's handling of values containing "=":
     - add the test-ini-eq patch to add a test for such values
     - add the python-value-eq patch to fix the problem
     - Closes: #959887
Checksums-Sha1:
 2cf8b959c0a7e7c203ea98da52b0a243584d107e 2759 confget_2.2.0-4+deb10u1.dsc
 31c5df4201abe79e0e2b6cc71c05aad119e19242 10972 
confget_2.2.0-4+deb10u1.debian.tar.xz
Checksums-Sha256:
 fac7cf6b99d297a19e979767dfbc6fde192952e7691dda0f3de3ff71103446b5 2759 
confget_2.2.0-4+deb10u1.dsc
 5a95b332edca7527ea863c4c1cb8fc209b93dc81b0a828d89a4fb71e88246148 10972 
confget_2.2.0-4+deb10u1.debian.tar.xz
Files:
 35670deeaead780480f6e8c96f7a40c6 2759 text optional confget_2.2.0-4+deb10u1.dsc
 81e8f507d4fd86d85419cb6588ee6e98 10972 text optional 
confget_2.2.0-4+deb10u1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAl6+8j0QHHJvYW1AZGVi
aWFuLm9yZwAKCRBlHu+wJSffE2+QEADDYJS8Z08HvRoN4z2aVRG5ntKQMBMeeBx0
SiRlQYyL0UhbyDGfgOrmah2SdWHn8+q+JlsnlzTnh+kv1617SxKLDEsnZqK90BVB
naUqvtm0K6VM5KkiEa1yh+vpDdhbuq8Hm9YjqJP0crv1eVkANBdJFyxD587ktcJn
AlLS89MrPWxuq4puPnthkOSa9upP+5cy85GIwlcswR3rwfz4b/OFUg2LP8VF5eEE
WxgtifmGegk2XRZYkngX5DnD1b6A25/CmuuTU1nIXPrZM8LHBQdBA5fFnGJTxtpV
XTQTol4ZrsXrIzfZTIfnVH6UG/oX5UG8OKenORpEWFq+YBiNLY5rFzk8DxesD0Kj
rnhpukX1+bJQ+bB/NdZ08a8zB2qga+FTR82MeOP9r/OchxKdaG+fnnep+i6KeYlD
oNm6lD8IL86itjRNvMZ2zGypUaq9szaTGAUDu1Fz4MPJUCyI7XMZAb9oxBQIZKpB
PAYLuTQ3O/uNVHDXsAdAPMdtracIhsgGbTXjwXHq5kSVq5qviL4mMK4ogy6ZUJDp
VWsjeErAqoCf963h4K32m9ixzq3MKKgcsoJ4KwVB0yzaGlkQrZLYnRQ/oOdiZHVb
rhoC1xJT0drbH/wXnCUMzDQU/KeohzJOkhSVU5RcguSSM/JQCguZk0blHb2Z+BhW
OPB9CWaYCA==
=FL4k
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to