I agree with the reasoning. I think that the correct thing for the
original poster to do is to not depend on hashrefs (which, as you say,
are not guaranteed to be unique across remotes) but on labelled tags.
While they are still subject to change (git tag push --force), they
are less likely to vary wildly between remotes of the same repo. The
other option (not available for all git dependencies) is to use a
combination of git and version (it is legal to say `{:dep, "~> 1.1.1",
git: "repourl", branch: "main"}`, but only if you set your version
usefully between releases. This isn’t something that all repos do
(there’s one dependency that I use which…doesn’t because the version
is set by the automated release process).
-a
> To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/ae7af5d0-aa13-44d7-a574-f386d377f7b3n%40googlegroups.com.