Windows self-upgrade, does it work?
Open
cabal-install: cmd/install
platform: windows
type: bug
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
If I have `cabal v2-install cabal` in the past (with `--install-method=copy`) does `cabal v2-install cabal` works?
There is `Distribution.Client.Win32SelfUpgrade`, but it doesn't seem to be used in `v2-install` implementation. If things works without, that code could be deleted.
Contributor guide
Research direction
Start with the `cabal v2-install cabal` path and the `--install-method=copy` case on Windows. Read `Distribution.Client.Win32SelfUpgrade` and the `v2-install` implementation to determine whether the self-upgrade mechanism is used. Done means establishing whether the command works and whether the apparently unused code should remain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100