[Hackage] #372: cabal sdist --snapshot does not work, while ./setup sdist snapshot does

#372: cabal sdist --snapshot does not work, while ./setup sdist snapshot does ---------------------------------+------------------------------------------ Reporter: nomeata | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.2 Platform: Linux | ---------------------------------+------------------------------------------ Hi, cabal sdist has a bug, which does not appear when using Setup.lhs {{{ $ cabal clean cleaning... $ cabal sdist --snapshot Warning: Cannot run preprocessors. Run 'configure' command first. Building source dist for free-theorems-0.2.1.20081016... cabal: dist/src/free-theorems-0.2.1: getDirectoryContents: does not exist (No such file or directory) $ runhaskell Setup.lhs sdist --snapshot Warning: Cannot run preprocessors. Run 'configure' command first. Building source dist for free-theorems-0.2.1.20081016... Source tarball created: dist/free-theorems-0.2.1.20081016.tar.gz $ cat Setup.lhs #!/usr/bin/env runhaskell
import Distribution.Simple main = defaultMain }}}
Using cabal-install 0.6.0, Cabal 1.6.0.1, ghc 6.8.2. I haven’t looked at the code, but I assume it’s a simple mistake. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/372 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#372: cabal sdist --snapshot does not work, while ./setup sdist snapshot does ---------------------------------+------------------------------------------ Reporter: nomeata | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: Linux ---------------------------------+------------------------------------------ Comment (by duncan): See #410. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/372#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#372: cabal sdist --snapshot does not work, while ./setup sdist snapshot does ---------------------------------+------------------------------------------ Reporter: nomeata | Owner: duncan Type: defect | Status: assigned Priority: normal | Milestone: cabal-install-0.6 Component: cabal-install tool | Version: Severity: normal | Resolution: Keywords: | Difficulty: very easy (<1 hour) Ghcversion: 6.8.2 | Platform: Linux ---------------------------------+------------------------------------------ Changes (by duncan): * status: new => assigned * difficulty: normal => very easy (<1 hour) * owner: => duncan * milestone: => cabal-install-0.6 Comment: Replying to [comment:1 duncan]:
See #410.
Actually that's a mis-diagnosis. It's just a bug. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/372#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#372: cabal sdist --snapshot does not work, while ./setup sdist snapshot does
---------------------------------+------------------------------------------
Reporter: nomeata | Owner: duncan
Type: defect | Status: closed
Priority: normal | Milestone: cabal-install-0.8
Component: cabal-install tool | Version:
Severity: normal | Resolution: fixed
Keywords: | Difficulty: very easy (<1 hour)
Ghcversion: 6.8.2 | Platform: Linux
---------------------------------+------------------------------------------
Changes (by duncan):
* status: assigned => closed
* resolution: => fixed
* milestone: cabal-install-0.6 => cabal-install-0.8
Comment:
{{{
Tue Dec 22 08:05:37 GMT 2009 Duncan Coutts
participants (1)
-
Hackage