helpers
helpers copied to clipboard
Version control the thin environment
We want to have a way to version control the thin env (similar to what we want to do for the containers, there should be an issue on GH), e.g.,
- use a changelog checked in
- when we install the thin env, we save in it the version of the changelog
- check at which version the user has installed the thin env
- if the changelog has a major release after the changelog, the user is invited to re-install it (doing
source setenv.shand maybetmux.pyfrom scratch)
The question is where to add the hook to check the changelog vs the actual version?
- Maybe the simplest is as a git hook? I don't like that while you are trying to commit you get a notification like that
- Or when we run one of the
docker bash? This is the same place that we should use to check the container being in sync, so maybe it's not bad
FYI @Shayawnn
@heanhsok you can pass it to @sandeepthalapanane but probably 90% of the complexity is in coming up with a plan