[Hackage] #442: remove old packages after successful update

#442: remove old packages after successful update ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.10.1 Platform: | ---------------------------------+------------------------------------------ After a successful `cabal update` command, the old version of the package could be removed. (It required to rebuild/reinstall all the dependent packages as well. It is reported in #441 ticket.) I do not think it should be a default behavior, but make it possible would be really nice. :) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/442 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#442: remove old packages after successful update ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.10.1 | Platform: ---------------------------------+------------------------------------------ Comment (by duncan): Currently we never uninstall packages. See #234. Perhaps the best user interface would be some sort of clean / collect command to uninstall old versions of packages that are no longer needed (like nix). This would involve tracking the packages that the user deliberately installed, see #199. It's a bit tricky since we do not know all libs that are wanted by the user, in particular it's difficult to figure out if the user wants multiple versions of a package installed (unless multiple versions are required by other things they do want installed). -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/442#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#442: remove old packages after successful update ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: _|_ Component: cabal-install tool | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: project(> week) Ghcversion: 6.10.1 | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * difficulty: normal => project(> week) * milestone: => _|_ -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/442#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage