fatal: Not a git repository (or any parent up to mount point /var)
Since release 1.0.0, when installing Pleroma from the https://git.pleroma.social/pleroma/pleroma/-/releases source code, when doing mix deps.get
there is an error :
Here is the error with release 1.0.1
fatal: Not a git repository (or any parent up to mount point /var)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
** (MatchError) no match of right hand side value: {"", 128}
mix.exs:191: Pleroma.Mixfile.version/1
mix.exs:7: Pleroma.Mixfile.project/0
(mix) lib/mix/project.ex:740: Mix.Project.get_project_config/1
(mix) lib/mix/project.ex:114: Mix.Project.push/3
(stdlib) lists.erl:1263: :lists.foldl/3
Seems caused by: https://git.pleroma.social/pleroma/pleroma/blob/release/1.0.1/mix.exs#L191
And it's normal because mix deps.get
is not done on a git repository but from source releases
Edited by yalh76