Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabal format doesn't output custom-setup stanza #4697

Closed
phadej opened this issue Aug 15, 2017 · 0 comments
Closed

cabal format doesn't output custom-setup stanza #4697

phadej opened this issue Aug 15, 2017 · 0 comments

Comments

@phadej
Copy link
Collaborator

phadej commented Aug 15, 2017

No description provided.

phadej added a commit to phadej/cabal that referenced this issue Aug 17, 2017
phadej added a commit to phadej/cabal that referenced this issue Aug 17, 2017
phadej added a commit to phadej/cabal that referenced this issue Aug 17, 2017
phadej added a commit to phadej/cabal that referenced this issue Aug 18, 2017
phadej added a commit to phadej/cabal that referenced this issue Aug 18, 2017
phadej added a commit to phadej/cabal that referenced this issue Aug 20, 2017
phadej added a commit to phadej/cabal that referenced this issue Aug 20, 2017
phadej added a commit to phadej/cabal that referenced this issue Aug 29, 2017
phadej added a commit to phadej/cabal that referenced this issue Sep 1, 2017
- Parse custom-setup. Fixes haskell#4697 [ci skip]
- Rename PPP to FieldGrammar. Flatten D.PackageDescription namespace
- Add booleanFieldDef, flagFieldGrammar
- Correct FreeText parsec
- WIP: FieldGrammar BuildInfo and Library [ci skip]
- More newtypes [ci skip]
- Unknown and deprecated fields
- NoCommaFSep
- extra-libraries [ci skip]
- Parse 'else' [ci skip]
- WIP
- More BuildInfo opts [ci skip]
- ReadP parses 'location:\n' as location = Just "" [ci skip]
- Known fields [ci skip]
- monoidalField [ci skip]
- ^^^ operator
- RFC: Add elif [ci skip]
- Make FieldGrammar into a type class [ci skip]
- Parse sublibraries with FieldGrammar [ci skip]
- Use prettyFieldGrammar for library sections [ci skip]
- executableFieldGrammar [ci skip]
- ForeignLib grammar
- PackageDescription grammar [ci skip]
- Remove unused imports
- shake regression
- Update extra-source-files [ci skip]
- TestSuite & Benchmark grammars [ci skip]
- Change readp license-files setter [ci skip]
- Add hiddenField
- Add GPD parse . pretty roundtrip tests. Fixes haskell#4719
- Roundtrip hackage tests [ci skip]
- Roundtrip fixes [ci skip]
- More pretty-printing fixes
- More pp fixes [ci skip]
phadej added a commit to phadej/cabal that referenced this issue Sep 1, 2017
- Parse custom-setup. Fixes haskell#4697 [ci skip]
- Rename PPP to FieldGrammar. Flatten D.PackageDescription namespace
- Add booleanFieldDef, flagFieldGrammar
- Correct FreeText parsec
- WIP: FieldGrammar BuildInfo and Library [ci skip]
- More newtypes [ci skip]
- Unknown and deprecated fields
- NoCommaFSep
- extra-libraries [ci skip]
- Parse 'else' [ci skip]
- WIP
- More BuildInfo opts [ci skip]
- ReadP parses 'location:\n' as location = Just "" [ci skip]
- Known fields [ci skip]
- monoidalField [ci skip]
- ^^^ operator
- RFC: Add elif [ci skip]
- Make FieldGrammar into a type class [ci skip]
- Parse sublibraries with FieldGrammar [ci skip]
- Use prettyFieldGrammar for library sections [ci skip]
- executableFieldGrammar [ci skip]
- ForeignLib grammar
- PackageDescription grammar [ci skip]
- Remove unused imports
- shake regression
- Update extra-source-files [ci skip]
- TestSuite & Benchmark grammars [ci skip]
- Change readp license-files setter [ci skip]
- Add hiddenField
- Add GPD parse . pretty roundtrip tests. Fixes haskell#4719
- Roundtrip hackage tests [ci skip]
- Roundtrip fixes [ci skip]
- More pretty-printing fixes
- More pp fixes [ci skip]
phadej added a commit to phadej/cabal that referenced this issue Sep 2, 2017
- Parse custom-setup. Fixes haskell#4697 [ci skip]
- Rename PPP to FieldGrammar. Flatten D.PackageDescription namespace
- Add booleanFieldDef, flagFieldGrammar
- Correct FreeText parsec
- WIP: FieldGrammar BuildInfo and Library [ci skip]
- More newtypes [ci skip]
- Unknown and deprecated fields
- NoCommaFSep
- extra-libraries [ci skip]
- Parse 'else' [ci skip]
- WIP
- More BuildInfo opts [ci skip]
- ReadP parses 'location:\n' as location = Just "" [ci skip]
- Known fields [ci skip]
- monoidalField [ci skip]
- ^^^ operator
- RFC: Add elif [ci skip]
- Make FieldGrammar into a type class [ci skip]
- Parse sublibraries with FieldGrammar [ci skip]
- Use prettyFieldGrammar for library sections [ci skip]
- executableFieldGrammar [ci skip]
- ForeignLib grammar
- PackageDescription grammar [ci skip]
- Remove unused imports
- shake regression
- Update extra-source-files [ci skip]
- TestSuite & Benchmark grammars [ci skip]
- Change readp license-files setter [ci skip]
- Add hiddenField
- Add GPD parse . pretty roundtrip tests. Fixes haskell#4719
- Roundtrip hackage tests [ci skip]
- Roundtrip fixes [ci skip]
- More pretty-printing fixes
- More pp fixes [ci skip]
phadej added a commit to phadej/cabal that referenced this issue Sep 3, 2017
- Parse custom-setup. Fixes haskell#4697 [ci skip]
- Rename PPP to FieldGrammar. Flatten D.PackageDescription namespace
- Add booleanFieldDef, flagFieldGrammar
- Correct FreeText parsec
- WIP: FieldGrammar BuildInfo and Library [ci skip]
- More newtypes [ci skip]
- Unknown and deprecated fields
- NoCommaFSep
- extra-libraries [ci skip]
- Parse 'else' [ci skip]
- WIP
- More BuildInfo opts [ci skip]
- ReadP parses 'location:\n' as location = Just "" [ci skip]
- Known fields [ci skip]
- monoidalField [ci skip]
- ^^^ operator
- RFC: Add elif [ci skip]
- Make FieldGrammar into a type class [ci skip]
- Parse sublibraries with FieldGrammar [ci skip]
- Use prettyFieldGrammar for library sections [ci skip]
- executableFieldGrammar [ci skip]
- ForeignLib grammar
- PackageDescription grammar [ci skip]
- Remove unused imports
- shake regression
- Update extra-source-files [ci skip]
- TestSuite & Benchmark grammars [ci skip]
- Change readp license-files setter [ci skip]
- Add hiddenField
- Add GPD parse . pretty roundtrip tests. Fixes haskell#4719
- Roundtrip hackage tests [ci skip]
- Roundtrip fixes [ci skip]
- More pretty-printing fixes
- More pp fixes [ci skip]
phadej added a commit to phadej/cabal that referenced this issue Sep 3, 2017
- Parse custom-setup. Fixes haskell#4697 [ci skip]
- Rename PPP to FieldGrammar. Flatten D.PackageDescription namespace
- Add booleanFieldDef, flagFieldGrammar
- Correct FreeText parsec
- WIP: FieldGrammar BuildInfo and Library [ci skip]
- More newtypes [ci skip]
- Unknown and deprecated fields
- NoCommaFSep
- extra-libraries [ci skip]
- Parse 'else' [ci skip]
- WIP
- More BuildInfo opts [ci skip]
- ReadP parses 'location:\n' as location = Just "" [ci skip]
- Known fields [ci skip]
- monoidalField [ci skip]
- ^^^ operator
- RFC: Add elif [ci skip]
- Make FieldGrammar into a type class [ci skip]
- Parse sublibraries with FieldGrammar [ci skip]
- Use prettyFieldGrammar for library sections [ci skip]
- executableFieldGrammar [ci skip]
- ForeignLib grammar
- PackageDescription grammar [ci skip]
- Remove unused imports
- shake regression
- Update extra-source-files [ci skip]
- TestSuite & Benchmark grammars [ci skip]
- Change readp license-files setter [ci skip]
- Add hiddenField
- Add GPD parse . pretty roundtrip tests. Fixes haskell#4719
- Roundtrip hackage tests [ci skip]
- Roundtrip fixes [ci skip]
- More pretty-printing fixes
- More pp fixes [ci skip]
phadej added a commit to phadej/cabal that referenced this issue Sep 3, 2017
- Parse custom-setup. Fixes haskell#4697 [ci skip]
- Rename PPP to FieldGrammar. Flatten D.PackageDescription namespace
- Add booleanFieldDef, flagFieldGrammar
- Correct FreeText parsec
- WIP: FieldGrammar BuildInfo and Library [ci skip]
- More newtypes [ci skip]
- Unknown and deprecated fields
- NoCommaFSep
- extra-libraries [ci skip]
- Parse 'else' [ci skip]
- WIP
- More BuildInfo opts [ci skip]
- ReadP parses 'location:\n' as location = Just "" [ci skip]
- Known fields [ci skip]
- monoidalField [ci skip]
- ^^^ operator
- RFC: Add elif [ci skip]
- Make FieldGrammar into a type class [ci skip]
- Parse sublibraries with FieldGrammar [ci skip]
- Use prettyFieldGrammar for library sections [ci skip]
- executableFieldGrammar [ci skip]
- ForeignLib grammar
- PackageDescription grammar [ci skip]
- Remove unused imports
- shake regression
- Update extra-source-files [ci skip]
- TestSuite & Benchmark grammars [ci skip]
- Change readp license-files setter [ci skip]
- Add hiddenField
- Add GPD parse . pretty roundtrip tests. Fixes haskell#4719
- Roundtrip hackage tests [ci skip]
- Roundtrip fixes [ci skip]
- More pretty-printing fixes
- More pp fixes [ci skip]
phadej added a commit to phadej/cabal that referenced this issue Sep 3, 2017
- Parse custom-setup. Fixes haskell#4697
- Rename PPP to FieldGrammar. Flatten D.PackageDescription namespace
- Add booleanFieldDef, flagFieldGrammar
- Correct FreeText parsec
- WIP: FieldGrammar BuildInfo and Library
- More newtypes
- Unknown and deprecated fields
- NoCommaFSep
- extra-libraries
- Parse 'else'
- WIP
- More BuildInfo opts
- ReadP parses 'location:\n' as location = Just ""
- Known fields
- monoidalField
- ^^^ operator
- RFC: Add elif
- Make FieldGrammar into a type class
- Parse sublibraries with FieldGrammar
- Use prettyFieldGrammar for library sections
- executableFieldGrammar
- ForeignLib grammar
- PackageDescription grammar
- Remove unused imports
- shake regression
- Update extra-source-files
- TestSuite & Benchmark grammars
- Change readp license-files setter
- Add hiddenField
- Add GPD parse . pretty roundtrip tests. Fixes haskell#4719
- Roundtrip hackage tests
- Roundtrip fixes
- More pretty-printing fixes
- More pp fixes
phadej added a commit to phadej/cabal that referenced this issue Sep 3, 2017
- Parse custom-setup. Fixes haskell#4697
- Rename PPP to FieldGrammar. Flatten D.PackageDescription namespace
- Add booleanFieldDef, flagFieldGrammar
- Correct FreeText parsec
- WIP: FieldGrammar BuildInfo and Library
- More newtypes
- Unknown and deprecated fields
- NoCommaFSep
- extra-libraries
- Parse 'else'
- WIP
- More BuildInfo opts
- ReadP parses 'location:\n' as location = Just ""
- Known fields
- monoidalField
- ^^^ operator
- RFC: Add elif
- Make FieldGrammar into a type class
- Parse sublibraries with FieldGrammar
- Use prettyFieldGrammar for library sections
- executableFieldGrammar
- ForeignLib grammar
- PackageDescription grammar
- Remove unused imports
- shake regression
- Update extra-source-files
- TestSuite & Benchmark grammars
- Change readp license-files setter
- Add hiddenField
- Add GPD parse . pretty roundtrip tests. Fixes haskell#4719
- Roundtrip hackage tests
- Roundtrip fixes
- More pretty-printing fixes
- More pp fixes
phadej added a commit to phadej/cabal that referenced this issue Sep 4, 2017
- Parse custom-setup. Fixes haskell#4697
- Rename PPP to FieldGrammar. Flatten D.PackageDescription namespace
- Add booleanFieldDef, flagFieldGrammar
- Correct FreeText parsec
- WIP: FieldGrammar BuildInfo and Library
- More newtypes
- Unknown and deprecated fields
- NoCommaFSep
- extra-libraries
- Parse 'else'
- WIP
- More BuildInfo opts
- ReadP parses 'location:\n' as location = Just ""
- Known fields
- monoidalField
- ^^^ operator
- RFC: Add elif
- Make FieldGrammar into a type class
- Parse sublibraries with FieldGrammar
- Use prettyFieldGrammar for library sections
- executableFieldGrammar
- ForeignLib grammar
- PackageDescription grammar
- Remove unused imports
- shake regression
- Update extra-source-files
- TestSuite & Benchmark grammars
- Change readp license-files setter
- Add hiddenField
- Add GPD parse . pretty roundtrip tests. Fixes haskell#4719
- Roundtrip hackage tests
- Roundtrip fixes
- More pretty-printing fixes
- More pp fixes
phadej added a commit to phadej/cabal that referenced this issue Sep 4, 2017
This commit reworks how GenericPackageDescription is parsed from
`[Field Position]` and pretty-printed to `Doc`.

This also fixes few issues:
- Fix haskell#4697: `cabal format` doesn't output custom-setup stanza (nor
  foreign-lib stanzas)
- Fix haskell#4719: `parse . pretty . parse = parse`  for all Hackage cabal files.
    - `parser-hackage-tests roundtrip` is the test program.

The handling of `license-file` and `license-files` is changed.
Now they behave the same.
phadej added a commit to phadej/cabal that referenced this issue Sep 4, 2017
This commit reworks how GenericPackageDescription is parsed from
`[Field Position]` and pretty-printed to `Doc`.

This also fixes few issues:
- Fix haskell#4697: `cabal format` doesn't output custom-setup stanza (nor
  foreign-lib stanzas)
- Fix haskell#4719: `parse . pretty . parse = parse`  for all Hackage cabal files.
    - `parser-hackage-tests roundtrip` is the test program.

The handling of `license-file` and `license-files` is changed.
Now they behave the same.
phadej added a commit to phadej/cabal that referenced this issue Sep 5, 2017
This commit reworks how GenericPackageDescription is parsed from
`[Field Position]` and pretty-printed to `Doc`.

This also fixes few issues:
- Fix haskell#4697: `cabal format` doesn't output custom-setup stanza (nor
  foreign-lib stanzas)
- Fix haskell#4719: `parse . pretty . parse = parse`  for all Hackage cabal files.
    - `parser-hackage-tests roundtrip` is the test program.

The handling of `license-file` and `license-files` is changed.
Now they behave the same.
phadej added a commit to phadej/cabal that referenced this issue Sep 5, 2017
This commit reworks how GenericPackageDescription is parsed from
`[Field Position]` and pretty-printed to `Doc`.

This also fixes few issues:
- Fix haskell#4697: `cabal format` doesn't output custom-setup stanza (nor
  foreign-lib stanzas)
- Fix haskell#4719: `parse . pretty . parse = parse`  for all Hackage cabal files.
    - `parser-hackage-tests roundtrip` is the test program.

The handling of `license-file` and `license-files` is changed.
Now they behave the same.
@phadej phadej closed this as completed in c72fd0e Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants