Releases: cashapp/hermit
Releases · cashapp/hermit
v0.39.1
fix: log source url on http download failure (#400) context: when hitting a download error the log only has the url in hermit manifest but not the one from the source. we are trying to figure out why hermit is getting 429 which does seem to come from github straight instead of the internal source url.
v0.39.0
feat: support extending a parent environment (#398) Adds a new environment configuration to bin/hermit.hcl ``` inherit-parent = true ``` Setting this inherits the Hermit environment from a parent directory, inheriting environment variables and packages. This should be useful in larger monorepos where we want to have a single root environment with most tooling, but want to still allow subprojects to have their own owerwrites and environment variables. Note, the packages in parent environment won't have access to the child environment even when being called from the child environment. This means that any package calling another package in the parent environment will still call the parent package even if that is overwritten in the child environment. Though this can be potentially confusing, it should give more consistent behaviour between parent and child environments. Also, package dependencies can not cross environments. So, it is not possible to have a package dependency from a child environment package to a parent environment package. Finally, for the time being, all hermit operations apply only to the currently active environment. So, it is not possible to upgrade, install, or uninstall parent packages from the child environment
v0.38.2
fix: clear binaries dir before relink and make sure link paths are th… …e same (#393) These changes fixes two bugs happen when hermit download and relink due to manifest destination changes for a given package. 1. relink is skipped due to only checking the existance for the link. Instead, link destination should also be checked. 2. relink failed due to link exists previously. => solved by remove the link directories prior to creation
v0.38.1
fix: double-checked locking fail (#392) We use double-checked locking to avoid locks on the fast-path, but I modified the behaviour in #390 to cache the result before the lock, removing the second check. Face palm. This fixes #391
v0.38.0
fix: buggy lock-free fast-path check (#390) The fast-path check to short-circuit locking was buggy becaues it was statting the `Package.Binaries` slice without glob expansion. That is, it ended up statting globs like `bin/*`, resulting in frequent unnecessary locking.
v0.37.0
fix: bug with new shell-hooks script fragment ``` /Users/alec/.zshrc:209: command not found: shell-hooks ``` This is because bash sucks, basically.
v0.36.0
feat: add --continue-on-error to auto-version (#376) There are auto-versioning errors nearly every day. This is very tiresome to keep on top of. This change will version as many packages as possible, but log any failures so that periodically the failing packages can be checked and fixed.
v0.35.0
fix: for when ZIP files dondon't contain directory entries (#373)
v0.34.1
fix: prioritize runtime deps envars (#369) Fixes https://github.com/cashapp/hermit/issues/368. See individual commit messages for details.
v0.34.0
Add "exec" trigger. (#367) I'm not 100% sure this is a good idea, as it could easily lead to performance issues, but in some situations I think it could be quite useful.