Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Open
bos opened this Issue May 24, 2012 · 4 comments

Comments

Projects
None yet
1 participant
Contributor

bos commented May 24, 2012

(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.

Contributor

bos commented May 24, 2012

(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).

Contributor

bos commented May 24, 2012

(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.

Contributor

bos commented May 24, 2012

(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.

Contributor

bos commented May 24, 2012

(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