-
Notifications
You must be signed in to change notification settings - Fork 301
style: apply cabal-fmt -i **/*.cabal
#1576
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
6b8eafe
chore(nix): add cabal-fmt development tool
ncaq fd1f158
style: apply `cabal-fmt -i **/*.cabal`
ncaq bb66ed6
ci: add `cabal-fmt` check for Cabal files
ncaq b4c6bcc
ci: move cabal-fmt job to restyled workflow
ncaq 107f962
ci: migrate cabal-fmt check from GitHub Actions to Restyled
ncaq File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,78 +1,82 @@ | ||
| name: persistent-mongoDB | ||
| version: 2.13.1.0 | ||
| license: MIT | ||
| license-file: LICENSE | ||
| author: Greg Weber <[email protected]> | ||
| maintainer: Andres Schmois <[email protected]> | ||
| synopsis: Backend for the persistent library using mongoDB. | ||
| category: Database | ||
| stability: Experimental | ||
| cabal-version: >= 1.10 | ||
| build-type: Simple | ||
| homepage: http://www.yesodweb.com/book/persistent | ||
| bug-reports: https://github.com/yesodweb/persistent/issues | ||
| description: MongoDB backend for the persistent library. | ||
| name: persistent-mongoDB | ||
| version: 2.13.1.0 | ||
| license: MIT | ||
| license-file: LICENSE | ||
| author: Greg Weber <[email protected]> | ||
| maintainer: Andres Schmois <[email protected]> | ||
| synopsis: Backend for the persistent library using mongoDB. | ||
| category: Database | ||
| stability: Experimental | ||
| cabal-version: >=1.10 | ||
| build-type: Simple | ||
| homepage: http://www.yesodweb.com/book/persistent | ||
| bug-reports: https://github.com/yesodweb/persistent/issues | ||
| description: MongoDB backend for the persistent library. | ||
| extra-source-files: ChangeLog.md | ||
|
|
||
| Flag high_precision_date | ||
| Description: for MongoDB use a time storage with nano second precision. | ||
| Default: False | ||
| flag high_precision_date | ||
| description: for MongoDB use a time storage with nano second precision. | ||
| default: False | ||
|
|
||
| library | ||
| build-depends: base >= 4.8 && < 5 | ||
| , persistent >= 2.12 && < 3 | ||
| , aeson >= 1.0 | ||
| , bson >= 0.3.2 && < 0.5 | ||
| , bytestring | ||
| , cereal >= 0.5 | ||
| , conduit >= 1.2 | ||
| , http-api-data >= 0.3.7 && < 0.7 | ||
| , mongoDB >= 2.7.1.2 && < 2.8 | ||
| , network >= 2.6 | ||
| , path-pieces >= 0.2 | ||
| , resource-pool >= 0.2 && < 0.5 | ||
| , resourcet >= 1.1 | ||
| , text >= 1.2 | ||
| , time | ||
| , transformers >= 0.5 | ||
| , unliftio-core | ||
| build-depends: | ||
| aeson >=1.0 | ||
| , base >=4.8 && <5 | ||
| , bson >=0.3.2 && <0.5 | ||
| , bytestring | ||
| , cereal >=0.5 | ||
| , conduit >=1.2 | ||
| , http-api-data >=0.3.7 && <0.7 | ||
| , mongoDB >=2.7.1.2 && <2.8 | ||
| , network >=2.6 | ||
| , path-pieces >=0.2 | ||
| , persistent >=2.12 && <3 | ||
| , resource-pool >=0.2 && <0.5 | ||
| , resourcet >=1.1 | ||
| , text >=1.2 | ||
| , time | ||
| , transformers >=0.5 | ||
| , unliftio-core | ||
|
|
||
| exposed-modules: Database.Persist.MongoDB | ||
| ghc-options: -Wall | ||
| default-language: Haskell2010 | ||
| exposed-modules: Database.Persist.MongoDB | ||
| ghc-options: -Wall | ||
| default-language: Haskell2010 | ||
|
|
||
| if flag(high_precision_date) | ||
| cpp-options: -DHIGH_PRECISION_DATE | ||
| if flag(high_precision_date) | ||
| cpp-options: -DHIGH_PRECISION_DATE | ||
|
|
||
| test-suite test | ||
| type: exitcode-stdio-1.0 | ||
| main-is: main.hs | ||
| hs-source-dirs: test | ||
| other-modules: MongoInit | ||
| EmbedTestMongo | ||
| EntityEmbedTestMongo | ||
| RawMongoHelpers | ||
| ghc-options: -Wall | ||
| type: exitcode-stdio-1.0 | ||
| main-is: main.hs | ||
| hs-source-dirs: test | ||
| other-modules: | ||
| EmbedTestMongo | ||
| EntityEmbedTestMongo | ||
| MongoInit | ||
| RawMongoHelpers | ||
|
|
||
| build-depends: base >= 4.6 && < 5 | ||
| , persistent | ||
| , persistent-mongoDB | ||
| , persistent-qq | ||
| , persistent-test | ||
| , blaze-html | ||
| , bytestring | ||
| , containers | ||
| , hspec >= 2.4.0 | ||
| , HUnit | ||
| , mongoDB | ||
| , process | ||
| , QuickCheck | ||
| , template-haskell | ||
| , text | ||
| , time | ||
| , transformers | ||
| , unliftio-core | ||
| default-language: Haskell2010 | ||
| ghc-options: -Wall | ||
| build-depends: | ||
| base >=4.6 && <5 | ||
| , blaze-html | ||
| , bytestring | ||
| , containers | ||
| , hspec >=2.4.0 | ||
| , HUnit | ||
| , mongoDB | ||
| , persistent | ||
| , persistent-mongoDB | ||
| , persistent-qq | ||
| , persistent-test | ||
| , process | ||
| , QuickCheck | ||
| , template-haskell | ||
| , text | ||
| , time | ||
| , transformers | ||
| , unliftio-core | ||
|
|
||
| default-language: Haskell2010 | ||
|
|
||
| source-repository head | ||
| type: git | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,89 +1,95 @@ | ||
| name: persistent-mysql | ||
| version: 2.13.1.5 | ||
| license: MIT | ||
| license-file: LICENSE | ||
| author: Felipe Lessa <[email protected]>, Michael Snoyman | ||
| maintainer: Felipe Lessa <[email protected]> | ||
| synopsis: Backend for the persistent library using MySQL database server. | ||
| category: Database, Yesod | ||
| stability: Stable | ||
| cabal-version: >= 1.10 | ||
| build-type: Simple | ||
| homepage: http://www.yesodweb.com/book/persistent | ||
| bug-reports: https://github.com/yesodweb/persistent/issues | ||
| name: persistent-mysql | ||
| version: 2.13.1.5 | ||
| license: MIT | ||
| license-file: LICENSE | ||
| author: Felipe Lessa <[email protected]>, Michael Snoyman | ||
| maintainer: Felipe Lessa <[email protected]> | ||
| synopsis: | ||
| Backend for the persistent library using MySQL database server. | ||
|
|
||
| category: Database, Yesod | ||
| stability: Stable | ||
| cabal-version: >=1.10 | ||
| build-type: Simple | ||
| homepage: http://www.yesodweb.com/book/persistent | ||
| bug-reports: https://github.com/yesodweb/persistent/issues | ||
| description: | ||
| This package contains a backend for persistent using the | ||
| MySQL database server. Internally it uses the @mysql-simple@ | ||
| and @mysql@ packages in order to access the database. | ||
| . | ||
| This package supports only MySQL 5.1 and above. However, it | ||
| has been tested only on MySQL 5.5. | ||
| Only the InnoDB storage engine is officially supported. | ||
| . | ||
| Known problems: | ||
| . | ||
| * This package does not support statements inside other | ||
| statements. | ||
| This package contains a backend for persistent using the | ||
| MySQL database server. Internally it uses the @mysql-simple@ | ||
| and @mysql@ packages in order to access the database. | ||
| . | ||
| This package supports only MySQL 5.1 and above. However, it | ||
| has been tested only on MySQL 5.5. | ||
| Only the InnoDB storage engine is officially supported. | ||
| . | ||
| Known problems: | ||
| . | ||
| * This package does not support statements inside other | ||
| statements. | ||
|
|
||
| extra-source-files: ChangeLog.md | ||
|
|
||
| library | ||
| build-depends: base >= 4.9 && < 5 | ||
| , persistent >= 2.13.3 && < 3 | ||
| , aeson >= 1.0 | ||
| , blaze-builder | ||
| , bytestring >= 0.10.8 | ||
| , conduit >= 1.2.12 | ||
| , containers >= 0.5 | ||
| , monad-logger | ||
| , mysql >= 0.2.1 && < 0.3 | ||
| , mysql-simple >= 0.4.7 && < 0.5 | ||
| , resourcet >= 1.1 | ||
| , resource-pool | ||
| , text >= 1.2 | ||
| , transformers >= 0.5 | ||
| , unliftio-core | ||
| exposed-modules: Database.Persist.MySQL | ||
| ghc-options: -Wall | ||
| default-language: Haskell2010 | ||
| build-depends: | ||
| aeson >=1.0 | ||
| , base >=4.9 && <5 | ||
| , blaze-builder | ||
| , bytestring >=0.10.8 | ||
| , conduit >=1.2.12 | ||
| , containers >=0.5 | ||
| , monad-logger | ||
| , mysql >=0.2.1 && <0.3 | ||
| , mysql-simple >=0.4.7 && <0.5 | ||
| , persistent >=2.13.3 && <3 | ||
| , resource-pool | ||
| , resourcet >=1.1 | ||
| , text >=1.2 | ||
| , transformers >=0.5 | ||
| , unliftio-core | ||
|
|
||
| exposed-modules: Database.Persist.MySQL | ||
| ghc-options: -Wall | ||
| default-language: Haskell2010 | ||
|
|
||
| source-repository head | ||
| type: git | ||
| location: https://github.com/yesodweb/persistent.git | ||
|
|
||
| test-suite test | ||
| type: exitcode-stdio-1.0 | ||
| main-is: main.hs | ||
| hs-source-dirs: test | ||
| other-modules: | ||
| MyInit | ||
| InsertDuplicateUpdate | ||
| CustomConstraintTest | ||
| ImplicitUuidSpec | ||
| JSONTest | ||
| ghc-options: -Wall | ||
| type: exitcode-stdio-1.0 | ||
| main-is: main.hs | ||
| hs-source-dirs: test | ||
| other-modules: | ||
| CustomConstraintTest | ||
| ImplicitUuidSpec | ||
| InsertDuplicateUpdate | ||
| JSONTest | ||
| MyInit | ||
|
|
||
| ghc-options: -Wall | ||
| build-depends: | ||
| aeson | ||
| , base >=4.9 && <5 | ||
| , bytestring | ||
| , conduit | ||
| , containers | ||
| , fast-logger | ||
| , hspec >=2.4 | ||
| , http-api-data | ||
| , HUnit | ||
| , monad-logger | ||
| , mysql | ||
| , path-pieces | ||
| , persistent | ||
| , persistent-mysql | ||
| , persistent-qq | ||
| , persistent-test | ||
| , QuickCheck | ||
| , quickcheck-instances | ||
| , resourcet | ||
| , text | ||
| , time | ||
| , transformers | ||
| , unliftio-core | ||
|
|
||
| build-depends: | ||
| base >= 4.9 && < 5 | ||
| , aeson | ||
| , bytestring | ||
| , containers | ||
| , conduit | ||
| , fast-logger | ||
| , hspec >= 2.4 | ||
| , http-api-data | ||
| , HUnit | ||
| , monad-logger | ||
| , mysql | ||
| , path-pieces | ||
| , persistent | ||
| , persistent-mysql | ||
| , persistent-qq | ||
| , persistent-test | ||
| , QuickCheck | ||
| , quickcheck-instances | ||
| , resourcet | ||
| , text | ||
| , time | ||
| , transformers | ||
| , unliftio-core | ||
| default-language: Haskell2010 | ||
| default-language: Haskell2010 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.