haskell / haskell/cabal

`--upgrade-dependencies` should be marked as deprecated in v2- commands (and a hundred other options as well)

Open
#7,437 9 comments 0 reactions 0 assignees View on GitHub
re: options
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

**Describe the bug**

I'm religiously using `--upgrade-dependencies`, but I'm told it's placebo:

> In v2-build, --upgrade-dependencies doesn't do anything, as the build-plan never re-uses existing packages, right?
> It should be an outdated flag...

If so (please verify), it should be marked deprecated, at least in the commandline and web documentation, with an explanation the desired behaviour is now the default.

Edit: let's generalize this task as per @fendor's comment just below.

Contributor guide

Open the contributing guide

Research direction

Start by verifying whether --upgrade-dependencies affects v2-build, then review the command-line and web documentation for other obsolete options as suggested by the generalized scope. Done means the affected options are marked deprecated and explain when the current default provides the desired behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.