buildtools icon indicating copy to clipboard operation
buildtools copied to clipboard

buildozer dict_add/dict_set does not allow for / in values

Open oliviernotteghem opened this issue 4 years ago • 1 comments

The current buildozer syntax for dict_add and dict_set will corrupt value if it contains a/ char.

Repro: $ buildozer 'dict_add d applicationid:@string/hello' //:foo

Result:

foo(
    name = "foo",
    d = {"applicationid": "@string//:/hello"},
)

Expected:

foo(
    name = "foo",
    d = {"applicationid": "@string/hello"},
)

oliviernotteghem avatar Jul 15 '21 20:07 oliviernotteghem

@vladmos

larsrc-google avatar Aug 04 '21 07:08 larsrc-google