[Hackage] #234: track installed files to allow uninstall
Hackage
trac at galois.com
Mon Feb 11 15:49:26 EST 2008
#234: track installed files to allow uninstall
-----------------------------+----------------------------------------------
Reporter: duncan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.2.3.0
Severity: normal | Keywords:
Difficulty: hard (< 1 day) | Ghcversion: 6.8.2
Platform: |
-----------------------------+----------------------------------------------
`cabal-install` needs to be able to track all the files it installs so
that it'll be possible to uninstall packages.
The copy/install code should be extended to be able to generate a list of
files and hashes of files that will be installed. `cabal-install` could
use that to write out a manifest file and use that later to allow
uninstalling.
One solution might be to restructure the install code to gather the source
files that it would install rather than just doing it. Once that list of
files is known we can copy them all in one go, and do other things like
check for clashing target files and generate manifests etc.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/234>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list