Open
Description
Describe the bug
cabal init MOVEs preexisting data
To Reproduce
-
cabal fetch
$anything on hackage
-
cabal init
Expected behavior
i expect (as in previous to cabal-install 3.8 or perhaps even much longer ago), that cabal init uses the preexisting project structure as hinting to suggest directory convention and what not. And not touch code if something already exists.
I do not expect that cabal init to MOVE/RENAME preexisting directories.
I expect cabal init to only clobber a preexisting .cabal
file, and maybe LICENSE file. I'm not sure honestly. But i was definitely surprised by the moving.
why did i do cabal init on a preexisting code base
I wanted to generate a more modern .cabal
file for a project!
Activity