[Hackage] #201: clean doesn't report an error when it fails

#201: clean doesn't report an error when it fails ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.2 Platform: Linux | ----------------------------+----------------------------------------------- running clean just prints "cleaning..." even if it fails to remove the dist directory because of missing privileges. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/201 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#201: clean doesn't report an error when it fails ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: Linux ----------------------------+----------------------------------------------- Changes (by guest): * cc: sanzhiyan@gmail.com (added) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/201#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#201: clean doesn't report an error when it fails ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: Linux ----------------------------+----------------------------------------------- Changes (by duncan): * difficulty: normal => very easy (<1 hour) Comment: Should be easy for someone to do. Just requires catching an exception and printing a message. A similar issue probably applies to the other actions. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/201#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#201: clean doesn't report an error when it fails ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: Linux ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Fixed with this patch: {{{ Mon Dec 31 18:05:16 GMT 2007 agl@imperialviolet.org * Ticket 201: report IO errors during clean }}} We now get something like: {{{ $ cabal clean cleaning... Error while removing dist/: dist: getDirectoryContents: permission denied (Permission denied) }}} -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/201#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage