Ticket #426 (new enhancement)

Opened 5 years ago

Last modified 16 months ago

.cabal files should be stored next to tarballs, potentially overriding in-tarball version

Reported by: claus Owned by:
Priority: normal Milestone:
Component: Hackage 2 server Version: 1.6.0.1
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.8.3 Platform:

Description

.cabal files are *the* description of cabal packages, yet cabal/hackage hide them inside the package tarballs. For easy access, I would like the local package cache to store a copy of the .cabal file right next to the tarball. Changes in the out-of-package .cabal should override the original, in-package .cabal, allowing bug-fixing/adaptation to local packaging issues.

Change History

Changed 3 years ago by duncan

  • component changed from Cabal library to cabal-install tool

We have discussed a similar idea that the .cabal file from the hackage index should override the one in the package itself, thus allowing the .cabal file to be patched after the tarball is released.

Changed 16 months ago by kosmikus

  • component changed from cabal-install tool to Hackage 2 server

I think this should mainly be considered in connection with Hackage.

Note: See TracTickets for help on using tickets.