Require github action to keep other repos uptodate with .devcontainer
There is a folder in this repo which is consumed in other repo's (for example, the go.d repo). https://github.com/netdata/community/tree/main/devenv/.devcontainer However, this appears to be kept up to date only manually. Could we have some automation to copy, on change, from this repo to the consuming repos? We already have config drift between the two repos mentioned.
Note that the readme says:
The devenv includes all the dependencies required to develop for the following repositories:
netdata/netdata
netdata/dashboard
netdata/go.d.plugin
netdata/helmchart
And so we should think about pushing at least to those.
I am wondering whether a solution would be to convert the devcontainer.json in this repo into a devcontainer template as per here: https://containers.dev/implementors/templates/ And then each repo could have a well-known named file such as devcontainer_custom.json which would be referenced the devcontainer.json and contain any repo specific settings.
@luisj1983 updating the readme is an alternative option, keep it in mind 😄
@ilyam8 Sure but all that really matters is whether Netdata team want the devcontainer stuff in your repos or not :-D My view is that it adds value by lowering the bar to entry for contributing and ensuring consistency. If the above is a good idea then the only question is whether it gets supported well or poorly; and having to keep files like that manually in sync doesn't feel like the best option (in fact, it feels a lot like more work). Who might own the code and be responsible for its upkeep is different question and a valid concern; one I think I'd be happy to assist with (if that helps at all).