haskell / haskell/cabal

Use removePathForcibly

Open
#6,272 1 comment 0 reactions 0 assignees View on GitHub
cabal-install: tests/integration-tests2 platform: windows type: bug type: testing
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

https://hackage.haskell.org/package/directory-1.3.4.0/docs/System-Directory.html#v:removePathForcibly

The problem: it's since `directory-1.2.7.0`. But it's probably right things compared to `removeDirectoryRecursive`. `removePathForcibly` works on windows

See https://github.com/haskell/directory/issues/59#issuecomment-237458410

Also `cabal-install:test:integration-tests2` has a test case disabled, with this issue linked. Enable it when fixing.

Contributor guide

Open the contributing guide

Research direction

Start by locating the code that uses removeDirectoryRecursive and the disabled case in cabal-install:test:integration-tests2. Read the linked directory documentation and issue discussion to confirm the Windows behavior. Done means using removePathForcibly where appropriate and re-enabling the linked integration test with the suite passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.