It’s recommended that developers do this to use envrc.repo:
echo 'source_env envrc.repo' >> .envrc
This is a simpler alternative to rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/cob/xyz.radicle.patch/f599406e5917dd771c83af3de1a1691eed2206ed
There is a discussion topic on Radicle’s zulip chat related to this: https://radicle.zulipchat.com/#narrow/channel/369277-heartwood/topic/Do.20we.20.2Ahave.2A.20to.20have.20a.20versioned.20.60.2Eenvrc.60.3F/with/590136127
It’s recommended that developers do this to use envrc.repo:
echo 'source_env envrc.repo' >> .envrc
This is a simpler alternative to rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/cob/xyz.radicle.patch/f599406e5917dd771c83af3de1a1691eed2206ed
There is a discussion topic on Radicle’s zulip chat related to this: https://radicle.zulipchat.com/#narrow/channel/369277-heartwood/topic/Do.20we.20.2Ahave.2A.20to.20have.20a.20versioned.20.60.2Eenvrc.60.3F/with/590136127
envrc: Add just recipe to install ‘.envrc’ that sources ‘.envrc.repo’
envrc: Rename ‘envrc.repo’ -> ‘.envrc.repo’ just: Add ‘install-envrc’ recipe which sources ‘.envrc.repo’ git-hook-template: Conditionally add ‘.envrc.repo’ to the SENSITIVE_FILES check if ‘.envrc’ exists
This obsoletes rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/cob/xyz.radicle.patch/f599406e5917dd771c83af3de1a1691eed2206ed, which is fine by me.
One might argue, though, that rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/cob/xyz.radicle.patch/f599406e5917dd771c83af3de1a1691eed2206ed makes better use of direnv’s security features for those that don’t install the hooks.
Fixed a small bug in ade’s changes
Changes:
- Simply replace the file, no justfile shenanigans
- Add note in CONTRIBUTING & HACKING
- Rename to
.envrc.sample
Changes:
- Rebase
- Expand contractions: it’s, don’t, aren’t