Merge ~cjwatson/launchpad:artifactory-quoting-on-deploy into launchpad:master
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | f2464f79234e6af48c9170f1549d80b46922b9d4 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:artifactory-quoting-on-deploy |
Merge into: | launchpad:master |
Prerequisite: | ~cjwatson/launchpad:artifactory-quoting |
Diff against target: |
148 lines (+34/-12) 3 files modified
lib/lp/archivepublisher/artifactory.py (+7/-0) lib/lp/archivepublisher/tests/artifactory_fixture.py (+24/-9) lib/lp/archivepublisher/tests/test_artifactory.py (+3/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+425385@code.launchpad.net |
Commit message
URL-quote property values for ArtifactoryPath
Description of the change
`ArtifactoryPat
In the process of fixing this, I noticed that the Artifactory fixture's endpoints don't correctly unquote the URL path, so I fixed that.
Testing against a real instance:
>>> (testpath / 'pool' / 'base-files_
>>> (testpath / 'pool' / 'base-files_
{'unquoted': ['foo bar'], 'backslashquoted': ['foo\\ bar\\'], 'urlquoted': ['foo+bar;baz'], 'baz': ['']}