Merge ~cjwatson/launchpad:artifactory-quoting into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | dfa04bec7fc1a79612b0a09def1540b675045930 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:artifactory-quoting |
Merge into: | launchpad:master |
Diff against target: |
186 lines (+109/-14) 3 files modified
lib/lp/archivepublisher/artifactory.py (+29/-8) lib/lp/archivepublisher/tests/artifactory_fixture.py (+27/-6) lib/lp/archivepublisher/tests/test_artifactory.py (+53/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+425378@code.launchpad.net |
Commit message
Fix quoting of semicolons in Artifactory properties
Description of the change
Despite what the Artifactory documentation says, semicolons in properties must be quoted in order to avoid being confused with property separators. The exact observed behaviour of the implementation doesn't seem to be documented anywhere I've found, and it's quite strange in places, but I've done the best I could to make the test fixture agree with reality as closely as possible.
To post a comment you must log in.
I never heard the term "framing" for this kind of problems before. If time permits, maybe you can rephrase the explanation and just mention that separators must be escaped/quoted.
(Except this is a common term which I am unaware of :-) )