-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git SHA isn't shown on cabal-head #10691
Comments
This is the download artifact from a recent PR (https://github.com/haskell/cabal/actions/runs/12539962957/artifacts/2370020177 from #10688). Where are you getting your build from? |
As I said above, |
Okay, this is weird.
(The commit corresponds to #10643) |
I'm using the |
That one is built in a container, and the tree it's built from may not have git information in it. That would cause all the git probes to fail and produce empty strings. |
So, there are two issues in fact:
The latter is debatable (unlike the former). |
Welp.
Guess we need to install another package. (But then, how does |
Yeah, that's what I gathered too. It's mysterious that the action/checkout works but that's not for us to figure. More importantly, the job already installs a bunch of packages in the beginning. So, it should be trivial to add git on the list? |
I did that, now I'm getting a weird permission error apparently because uids inside and outside the container differ or something. More patching…. |
Alright, Alpine build seems to have git info now. Still need to have the git stuff degrade gracefully. |
I'm getting
with a
cabal-head
from a couple of days ago. Any ideas, @geekosaur?The text was updated successfully, but these errors were encountered: