-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg -e generates incorrect expanded manifest #1933
Comments
the manifest is not supposed to be json at all |
Then
|
pkg should handle what better ? I don't understand what you are trying to do, the +MANIFEST is a ucl file, as long as the ucl file is valid the manifest will be parsed correctly |
So if you |
yes I can do that as long as I use a UCL valid syntax |
Hm, that's strange. What is the checksum of generated
No, no, we don't deal with UCL directly at all, it's about calling |
ok I misunderstood the bug, now I got it and I can reproduce |
@vstakhov sounds like a bug in libucl which I can easily reproduce: The first call is generating a UCL output which cannot then be parsed again by the second one |
Indeed,
UCL should escape '+' character in this case (and the whole key in fact). JSON works fine in this case. |
When packages are created with expanded manifest (
-e
option), the resulting manifest file is broken, because it is not correct JSON.The text was updated successfully, but these errors were encountered: