-
Notifications
You must be signed in to change notification settings - Fork 697
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
Optionally add the revison number to Paths_$pkgid.version #1506
Comments
Please please lets not start using the But totally fine with providing this info in that module (or indeed starting a second module with version and other non-path info). Related to this revision concept is the hackage revision concept in the new hackage-2. I think we should consider these together so we don't end up with a mess. Hackage 2 will allow editing the .cabal file without updating the tarball, an to track those changes it currently uses a |
The problem with not using |
Related: #3909. |
It'd be nice if
cabal build
could automatically add the revision number for the appropriate SCM to theversionTags
field ofPaths_$pkgid.version
. I envision the following usage scenario:For extracting the revision number from a working copy there is the vcs-revision package on Hackage (only SVN, Git and Mercurial support ATM).
The text was updated successfully, but these errors were encountered: