build-canaries / nevergreen

:baby_chick: A build monitor with attitude
https://nevergreen.io
Eclipse Public License 1.0
215 stars 38 forks source link

Automatically backup configuration #271

Closed GentlemanHal closed 4 years ago

GentlemanHal commented 5 years ago

Feature Request

What would you like to be able to do? Automatically backup configuration to GitHub or Gitlab.

What problem would it solve? Currently the user needs to manually backup the configuration, making it very easy to be out of date.

Notes This would require saving the access token to allow an automatic update. My suggestion would be to move the actual calling of GitHub/Gitlab to the server which would allow us to encrypt and store the access token in the same way we store tray passwords. This would also have the added side effect of not needing to update the CSP header if the user wanted to use an internal Gitlab.

Edit: The code to call GitHub/Gitlab has now been moved to the server.