[COMPASS-6071] Implement global config file parser Created: 30/Aug/22 Updated: 29/Oct/23 Resolved: 20/Sep/22 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Preferences |
| Affects Version/s: | None |
| Fix Version/s: | 1.34.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Anna Henningsen | Assignee: | Anna Henningsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Epic Link: | COMPASS-5816 | ||||||||||||||||||||||||
| Story Points: | 3 | ||||||||||||||||||||||||
| Documentation Changes: | Needed | ||||||||||||||||||||||||
| Documentation Changes Summary: | 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. |
||||||||||||||||||||||||
| Sprint: | Iteration Jellyfish, Iteration Kraken | ||||||||||||||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 28/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: feat: add support for CLI args/global config file
|
| Comment by Githook User [ 21/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: feat: add support for CLI args/global config file
|
| Comment by Githook User [ 21/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: feat: add support for CLI args/global config file
|
| Comment by Githook User [ 20/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: feat: add support for CLI args/global config file
|
| Comment by Githook User [ 20/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: feat: add support for CLI args/global config file
|
| Comment by Githook User [ 19/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: feat: add support for CLI args/global config file
|
| Comment by Githook User [ 19/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 19/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 19/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 19/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 19/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 17/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! fixup! fixup! fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 16/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! fixup! fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 16/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 16/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 16/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 16/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: fixup! feat: add support for CLI args/global config file |
| Comment by Githook User [ 16/Sep/22 ] |
|
Author: {'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}Message: feat: add support for CLI args/global config file |