opserver / Opserver

Stack Exchange's Monitoring System
https://opserver.github.io/Opserver/
MIT License
4.5k stars 827 forks source link

Recommended method for managing configs #300

Closed stijnherreman closed 6 years ago

stijnherreman commented 6 years ago

What is the recommended way for managing your own configs, after having cloned this repo? Should you create a branch with your own configs, and then regularly merge from upstream?

How do you do it internally at SO?

NickCraver commented 6 years ago

At SO what we do is maintain another repo with configs and merge that in on a build, simply copying the folder into \Config. But, the .config files are intentionally ignored from git, so you can just leave them in the directory as you pull latest.

In ASP.NET Core, I'll switch to their configuration system which will allow many more options already built by others, namely:

stijnherreman commented 6 years ago

That sounds like a good method, thanks.