`cabal --version` should report the commit used for developement builds.
Open
cabal-install: other
platform: windows
type: bug
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
I often build cabal from source and today I realized unless i keep the repo around and on a given commit it's hard to find out what commit I'm running with.
Might be useful if it said something like:
`cabal-install version 3.17.0.0 ()` for development builds?
Or perhaps it should be a new line in the --version output to avoid messing with existing version regex too much.
Contributor guide
Research direction
Start by locating the implementation of `cabal --version` and how development builds obtain version metadata. Run `cabal --version` from a source build, then define the change as reporting its commit hash while preserving compatibility with existing version parsing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100