You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Jean-Baptiste Musso (JIRA)" <ji...@apache.org> on 2017/04/30 17:32:04 UTC

[jira] [Created] (TINKERPOP-1672) Use python-style syntax for YAML configuration files

Jean-Baptiste Musso created TINKERPOP-1672:
----------------------------------------------

             Summary: Use python-style syntax for YAML configuration files
                 Key: TINKERPOP-1672
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1672
             Project: TinkerPop
          Issue Type: Improvement
          Components: console, server
    Affects Versions: 3.2.4, 3.1.6
            Reporter: Jean-Baptiste Musso
            Assignee: Jean-Baptiste Musso
            Priority: Trivial


YAML configuration files could be made less verbose and more human-readable/editable by removing curly braces and commas.

Indeed, according to [Wikipedia|https://fr.wikipedia.org/wiki/YAML]:
{quote}
YAML 1.2 is a superset of JSON, another minimalist data serialization format where braces and brackets are used instead of indentation.
{quote}

Most .yaml configuration files in the current codebase have these extra curly braces and commas. We could clean these files and use python-style nesting/indendation. Tools such as http://www.yamllint.com could help with the transition.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)