Kmaschta
Joined 11 years ago
Joined 11 years ago
That said, you can easily copy a config from one env to another and update that new config in no time.
comfy get env1 > tmp.json; comfy setall env2 tmp.json; comfy set env2 <key> <value>
We built this tool because we had a need (everything is explained in the blog post)
If you do so, you have a system of tags. A config version can be tagged and the tag moved.
So, the integration environment can retrieve the config with the tag 'integration', say. And you can retrieve the latest.
Local: comfy get development Integration: comfy get development -t integration
Change the integration tag to the latest version : 1. Get the latest config hash with `comfy log development` 2. Set the tag integration to the latest `comfy tag move development integration <hash>`
Two days after, developer B deploys its version, but isn't aware that A deployed with the new feature enabled, so the feature is disabled with its deployment on integration.
Ideally, developers should use a centralized configuration management to no suppress each other configs. That's why we use Jenkins or the Atlassian suite for example. But it's heavy to install and maintain sometimes.
The purpose of the tool is to help developers share their config and keep sync with the rest of the team.
But I agree, if it's overkill if you don't need it!