Skip to content

manifestIni and manifestToml differ from Jsonnet 0.22.0 std.jsonnet #799

@He-Pin

Description

@He-Pin

During a stdlib 1:1 audit against local google/jsonnet v0.22.0, the manifest helpers have observable differences.

std.manifestIni({main:{a:"1"}}):

  • Official Jsonnet 0.22.0 errors with field does not exist: sections.
  • Current sjsonnet returns "a = 1\n".

std.manifestToml({main:{a:"1", b:2}}) with -S:

  • Official Jsonnet 0.22.0 returns a string with leading blank lines and two-space indentation under [main].
  • Current sjsonnet returns [main] followed by unindented keys.

We should decide whether to exactly follow official std.jsonnet formatting/strictness or keep the current more lenient/native behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions