Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1672

Use python-style syntax for YAML configuration files

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't Do
    • Affects Version/s: 3.1.6, 3.2.4
    • Fix Version/s: None
    • Component/s: console, server
    • Labels:
      None

      Description

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

      Indeed, according to Wikipedia:

      YAML 1.2 is a superset of JSON, another minimalist data serialization format where braces and brackets are used instead of indentation.

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jbmusso Jean-Baptiste Musso
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified