Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6071

Implement global config file parser

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.34.0
    • Affects Version/s: None
    • Component/s: Preferences
    • None
    • 3
    • Needed
    • Hide

      Compass now accepts a global configuration file, either in EJSON or YAML. Currently, the set of options largely corresponds to our privacy settings, however, more options will be added in the near future. Options can be listed via <path/to/compass> --help.

      The location of this global configuration file is /etc/mongodb-compass.conf on macOS and Linux, and <path\to\compass>\..\mongodb-compass.cfg on Windows.

      Show
      Compass now accepts a global configuration file, either in EJSON or YAML. Currently, the set of options largely corresponds to our privacy settings, however, more options will be added in the near future. Options can be listed via <path/to/compass> --help . The location of this global configuration file is /etc/mongodb-compass.conf on macOS and Linux, and <path\to\compass>\..\mongodb-compass.cfg on Windows.
    • Iteration Jellyfish, Iteration Kraken

      Accept YAML and EJSON. Display an error message with showErrorBox() when parsing fails.

      This involves adding e2e tests to verify that the global config file takes precedence over CLI and UI options and UI options are not configurable if set in the global config file.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: