[Hackage] #171: Add command to automagically create an initial cabal package

#171: Add command to automagically create an initial cabal package --------------------------+------------------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal | Version: 1.2.2.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.6 Platform: Linux | --------------------------+------------------------------------------------- Don Stewart has a nice tool called mkcabal (http://www.cse.unsw.edu.au/~dons/code/mkcabal/) which creates an initial cabal package. It would be nice to have this built into the 'cabal' program itself so that "cabal create" or "cabal init" or similar would interactively create a cabal package. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/171 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#171: Add command to automagically create an initial cabal package --------------------------+------------------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal | Version: 1.2.2.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.6 | Platform: Linux --------------------------+------------------------------------------------- Comment (by duncan): What would be even cooler, once we have the dependency chasing infrastructure is to look for local source files and to generate the exposed module list from that, and the package dependencies and the build- tools etc. All it should need to ask for is the name and initial version number. The user could then go and remove modules from the exposed list if they thought there were better private. Indeed it should be possible to tell if it's an executable or a library by checking if there's a Main module. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/171#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#171: Add command to automagically create an initial cabal package ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Cabal-2.0 Component: cabal-install tool | Version: 1.2.2.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.6 | Platform: Linux ---------------------------------+------------------------------------------ Changes (by duncan): * milestone: => Cabal-2.0 -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/171#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#171: Add command to automagically create an initial cabal package ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Cabal-2.0 Component: cabal-install tool | Version: 1.2.2.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.6 | Platform: Linux ---------------------------------+------------------------------------------ Changes (by guest): * cc: gwern0@gmail.com (added) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/171#comment:4 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#171: Add command to automagically create an initial cabal package ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: | Platform: ---------------------------------+------------------------------------------ Changes (by duncan): * difficulty: normal => easy (<4 hours) * ghcversion: 6.6 => * version: 1.2.2.0 => * platform: Linux => * milestone: Cabal-2.0 => cabal-install-0.8 Comment: Just integrating mkcabal should not be too hard. It is apparently now unmaintained as well, so now is a good time to pick it up. Otherwise it's just going to confuse new users who have had it recommended to them. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/171#comment:5 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#171: Add command to automagically create an initial cabal package ---------------------------------+------------------------------------------ Reporter: guest | Owner: byorgey Type: enhancement | Status: new Priority: normal | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: | Platform: ---------------------------------+------------------------------------------ Changes (by byorgey): * owner: => byorgey -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/171#comment:6 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#171: Add command to automagically create an initial cabal package ---------------------------------+------------------------------------------ Reporter: guest | Owner: byorgey Type: enhancement | Status: new Priority: normal | Milestone: cabal-install-0.8 Component: cabal-install tool | Version: Severity: normal | Resolution: Keywords: | Difficulty: easy (<4 hours) Ghcversion: | Platform: ---------------------------------+------------------------------------------ Comment (by byorgey): Benedikt Huber and I made some good progress on this at the Hackathon today, hopefully a preliminary version will be ready in the next few days! -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/171#comment:7 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#171: Add command to automagically create an initial cabal package
---------------------------------+------------------------------------------
Reporter: guest | Owner: byorgey
Type: enhancement | Status: closed
Priority: normal | Milestone: cabal-install-0.8
Component: cabal-install tool | Version:
Severity: normal | Resolution: fixed
Keywords: | Difficulty: easy (<4 hours)
Ghcversion: | Platform:
---------------------------------+------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
{{{
Sun Oct 11 17:56:44 BST 2009 Brent Yorgey
participants (1)
-
Hackage