Kmaschta

Joined 11 years ago

Karma
188
Submissions
78
Member since
Mar 21
[ my public key: https://keybase.io/kmaschta; my proof: https://keybase.io/kmaschta/sigs/IdZovAuyndcVgIFLA9y5WqakWZOcix7bj5pAHWfa7u0 ]
View on Hacker News

Recent submissions

Comment · 11 months ago
It's looking nice! Is it open-source?
Comment · 6 years ago
We're adding to the hosting bills just by having this blog post on top HN
Comment · 6 years ago
We already have hard time migrating it to TypeScript :p How such an adapter might work?
Comment · 7 years ago
We initially thought to migrate versions from staging to production with a sort of composition, but we didn't implement that because there was a high risk of mixing credentials between environments.

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>

Comment · 7 years ago
Thanks! Bash is just fine, and if you don't need anything else to share configs with your team, it's totally fine :)

We built this tool because we had a need (everything is explained in the blog post)

Comment · 7 years ago
Comfy is a store of configurations for deployed environment. It's not recommended to store you local config into comfy, but you could.

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>`

Comment · 7 years ago
Feature flags are a good example. One developer A enable a feature and deploy its version on integation.

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.

Comment · 7 years ago
Comfy was created because we used environment variables on multiple servers, for many environments (prod, staging, demo, dev, etc), deployed by a few developers.

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!

Comment · 7 years ago
Thanks!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton