Ticket #234 (new enhancement)
track installed files to allow uninstall
|Reported by:||duncan||Owned by:|
|Cc:||Misha, Aizatulin, <avatar@…>, claus, mkrauskopf, p.giarrusso@…, erikd@…, jims@…||Difficulty:||hard (< 1 day)|
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.