[Hackage] #274: Add a 'build from sdist tarball' feature (aka distcheck)

Hackage trac at galois.com
Sun Jun 7 19:09:03 EDT 2009

#274: Add a 'build from sdist tarball' feature (aka distcheck)
  Reporter:  guest               |        Owner:                   
      Type:  enhancement         |       Status:  new              
  Priority:  normal              |    Milestone:  cabal-install-0.8
 Component:  cabal-install tool  |      Version:          
  Severity:  normal              |   Resolution:                   
  Keywords:                      |   Difficulty:  normal           
Ghcversion:  6.8.2               |     Platform:                   
Comment (by duncan):

 Replying to [comment:4 Saizan]:
 > so the UI would be a new command named distcheck?

 I was thinking some variant of the existing check command, eg `cabal check
 --full` or something.

 > so that "cabal distcheck":
 > 1) runs "cabal sdist"
 > 2) untars the package in a fresh directory
 > 3) runs "cabal install" in it

 Yes. See also what [http://www.gnu.org/software/hello/manual/automake
 /Checking-the-Distribution.html#Checking-the-Distribution automake does].

 > and it should support most of the options of cabal sdist + cabal
 install(without a package argument)?

 Hmm. I'd hope we can do with defaults, or perhaps a general
 configure/install option escape flag.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/274#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list