[Hackage] #681: cabal-install init should not overwrite files without good reason

#681: cabal-install init should not overwrite files without good reason ---------------------------------+------------------------------------------ Reporter: ezyang | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.8.0.2 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ If you run "cabal init" in a directory with an already existing .cabal file, it will happily overwrite the old version without asking you. It should detect that a file exists and ask you before writing it out (or even prompting you for info). Alternatively, it could fill up it's defaults using the existing .cabal file. Furthermore, if you pass -n for non-interactive mode, cabal can't ask whether or not the user wanted to overwrite, so probably adding a --force flag is in order. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/681 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#681: cabal-install init should not overwrite files without good reason ---------------------------------+------------------------------------------ Reporter: ezyang | Owner: Type: defect | Status: new Priority: normal | Milestone: cabal-install-0.16 Component: cabal-install tool | Version: 1.8.0.2 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ Changes (by kosmikus): * milestone: => cabal-install-0.16 Comment: I have just verified that this still applies. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/681#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage