OCI recipe ARG variables break quoting
Bug #1902007 reported by
Barry Price
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpad-buildd |
Fix Released
|
High
|
Colin Watson |
Bug Description
My recipe requires a variable to be given a value consisting of several space-separated values.
But setting a "Build-time ARG variable" with e.g.
FOO='bar baz bat'
is actually passed through as:
'--build-
Using no quotes at all is less broken, but still doesn't work:
FOO=bar baz bat
'--build-
I tried double quotes too for the sake of completion, but no joy:
FOO="bar baz bat"
'--build-
Ideally all of the above would do what was intended, but if quotes of some kind are going to be required, the exact syntax should probably be made explicit in the UI.
Related branches
~cjwatson/launchpad-buildd:oci-build-arg-overquoting
- Thiago F. Pappacena (community): Approve
-
Diff: 55 lines (+5/-6)3 files modifieddebian/changelog (+1/-0)
lpbuildd/oci.py (+1/-3)
lpbuildd/tests/test_oci.py (+3/-3)
Changed in launchpad-buildd: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in launchpad-buildd: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
No quoting is expected or required at the web UI side. I think this is just some bit of launchpad-buildd applying overquoting.