Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

'cabal init' command should allow for multiple entries in the Category field #664

Open
bos opened this Issue · 4 comments

1 participant

@bos
Owner

(Imported from Trac #672, reported by @byorgey on 2010-05-01)

The .cabal format allows multiple categories (e.g. Data, Network, Math, etc.) to be listed in the Category field, but the 'cabal init' interactive mode only lets the user choose a single category. It would be nice to allow the user to choose multiple categories.

@bos
Owner

(Imported comment by @gwern on 2010-05-01)

Can't say I'm too eager to see this feature; I've been less than impressed with peoples' general ability to finely categorize their packages (as opposed to throwing them in half the categories and making up new ones while they're at it).

@bos
Owner

(Imported comment by @byorgey on 2010-05-01)

Fair enough, someone requested this feature so I made a ticket for it. But it's definitely worth having a discussion on what style we want to encourage, since that's part of the goal of cabal init. If we want to encourage everyone to have just one category, then marking this "won't fix" is fine by me.

@bos
Owner

(Imported comment by @dcoutts on 2010-05-01)

We could let people know it is possible but gently discourage it by printing a message to let users know that they can add more categories by editing the .cabal file.

@bos
Owner

(Imported comment by @kosmikus on 2010-05-03)

Should probably be re-evaluated wrt tagging in Hackage 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.