You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] - --version doesn't have correct revision when doing a non-clean build #1342
bugSomething isn't workingcli revisionis used to group all the Node CLI ticketsminorfixSomething that needs to be fixed (e.g. a hard-coded constant), but that isnt a bug
@mimi1vx, do you have any rough idea what would it take to fix this issues? TL;DR cabal build shows correct git devision, cabal install shows only zeroes... I'd be wiling to sponsor a fix if the cost would be reasonable as this annoys me a lot.
@mark-stopka it suses pretty clever trick with injection of gitRev ( borrowed from Michale Snoyman and stack) during compilation time, so it isn't simple to fix (probadly it needs work on Cabal side).
From another angle with cabal nix-style build ( cabal new-build | cabal v2-build) issue isn't reproducible
bugSomething isn't workingcli revisionis used to group all the Node CLI ticketsminorfixSomething that needs to be fixed (e.g. a hard-coded constant), but that isnt a bug
Activity
mark-stopka commentedon Jun 28, 2020
I can add that
git revis totally broken (all zeros) if usingcabal installeven on clean build...vix-io commentedon Sep 15, 2020
We are not going to fix this.
mark-stopka commentedon Sep 23, 2020
@mimi1vx, do you have any rough idea what would it take to fix this issues? TL;DR
cabal buildshows correct git devision,cabal installshows only zeroes... I'd be wiling to sponsor a fix if the cost would be reasonable as this annoys me a lot.Or @jhrcek perhaps?
EDIT: Correction, this one is the one that bugs me... #1127 but they are probably somewhat related...
mimi1vx commentedon Sep 24, 2020
@mark-stopka it suses pretty clever trick with injection of gitRev ( borrowed from Michale Snoyman and stack) during compilation time, so it isn't simple to fix (probadly it needs work on Cabal side).
From another angle with cabal nix-style build (
cabal new-build | cabal v2-build) issue isn't reproduciblemark-stopka commentedon Sep 24, 2020
@mimi1vx would that be a minor update to
cabal, or something major with a budget above let's say 10k CZK?