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
The Quickstart guide refers to v2- commands. v2- can be omitted (since at least cabal-install version 3) and I understand it's common practice to do so. Therefore I think the Quickstart guide should do so.
While people are thinking about this, when I recently submitted a cabal bug the reporting template told me to explicitly use v2- commands for clarity. This should probably change as well.
I'm the "user in the wild" mentioned in the bug report. I just ran into the same thing that @geekosaur said:
➜ cabal update
Downloading the latest package list from hackage.haskell.org
Updated package list of hackage.haskell.org to the index-state 2023-07-06T14:48:07Z
To revert to previous state run:
cabal v2-update 'hackage.haskell.org,2022-11-02T09:30:00Z'
Activity
ulysses4ever commentedon Jul 5, 2023
@tomjaguarpaw my view is: absolutely, please go ahead with the PR. Unless someone more experienced raises a substantial concern, we'll merge it.
Previews stub at fixing docs w.r.t.
v1-vs-v2in the reference section of the manual:The page you're reporting has been reported before:
v2-prefix and unflag as experimental #6213A more generic discussion on the topic:
Remove v2-prefix from Quickstart guide
tomjaguarpaw commentedon Jul 5, 2023
Thanks, I submitted #9087
geekosaur commentedon Jul 5, 2023
While people are thinking about this, when I recently submitted a cabal bug the reporting template told me to explicitly use
v2-commands for clarity. This should probably change as well.ulysses4ever commentedon Jul 5, 2023
@geekosaur by all means. I added a checkbox in #8511 Contributions are welcome!
seanhess commentedon Jul 6, 2023
I'm the "user in the wild" mentioned in the bug report. I just ran into the same thing that @geekosaur said:
I assume that I can drop the v2 prefix?
ulysses4ever commentedon Jul 6, 2023
@seanhess yes, you can. Perhaps, you'd like to submit a patch removing
v2from there? It's onegrepand one change away, I'm sure.Remove v2-prefix from Quickstart guide
Remove v2-prefix from Quickstart guide
Remove v2-prefix from Quickstart guide
Remove v2-prefix from Quickstart guide (backport #9087) (#9124)