Skip to content

Releases: cashapp/hermit

v0.39.1

10 Apr 02:26
052bc2d
Compare
Choose a tag to compare
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

13 Mar 23:04
d30b168
Compare
Choose a tag to compare
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

05 Feb 04:52
23f33bc
Compare
Choose a tag to compare
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

15 Nov 22:51
880e21c
Compare
Choose a tag to compare
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

15 Nov 00:02
44cb709
Compare
Choose a tag to compare
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

26 Jul 11:15
Compare
Choose a tag to compare
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

16 May 00:12
4546ef4
Compare
Choose a tag to compare
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

03 May 22:09
0a60ca8
Compare
Choose a tag to compare
fix: for when ZIP files dondon't contain directory entries (#373)

v0.34.1

15 Mar 19:27
f457277
Compare
Choose a tag to compare
fix: prioritize runtime deps envars (#369)

Fixes https://github.com/cashapp/hermit/issues/368. See individual
commit messages for details.

v0.34.0

09 Mar 07:28
c1b3ae8
Compare
Choose a tag to compare
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.