diff --git a/CHANGELOG.md b/CHANGELOG.md index d929322..f7364c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on and this project adheres to [Haskell Package Versioning Policy](https://pvp.haskell.org/). +## [Unreleased] + ## [1.2.0.0] - 2023-02-28 ### Added - Schema printing. @@ -400,7 +402,6 @@ and this project adheres to - `Language.GraphQL.Schema`: `enum`, `enumA`, `wrappedEnum` and `wrappedEnumA`. Use `scalar`, `scalarA`, `wrappedScalar` and `wrappedScalarA` instead. - ## [0.5.1.0] - 2019-10-22 ### Deprecated - `Language.GraphQL.AST.Arguments`. Use `[Language.GraphQL.AST.Argument]` @@ -505,24 +506,24 @@ and this project adheres to ### Added - Data types for the GraphQL language. -[1.2.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v1.2.0.0&rev_to=v1.1.0.0 -[1.1.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v1.1.0.0&rev_to=v1.0.3.0 -[1.0.3.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v1.0.3.0&rev_to=v1.0.2.0 -[1.0.2.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v1.0.2.0&rev_to=v1.0.1.0 -[1.0.1.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v1.0.1.0&rev_to=v1.0.0.0 -[1.0.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v1.0.0.0&rev_to=v0.11.1.0 -[0.11.1.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.11.1.0&rev_to=v0.11.0.0 -[0.11.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.11.0.0&rev_to=v0.10.0.0 -[0.10.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.10.0.0&rev_to=v0.9.0.0 -[0.9.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.9.0.0&rev_to=v0.8.0.0 -[0.8.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.8.0.0&rev_to=v0.7.0.0 -[0.7.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.7.0.0&rev_to=v0.6.1.0 -[0.6.1.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.6.1.0&rev_to=v0.6.0.0 -[0.6.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.6.0.0&rev_to=v0.5.1.0 -[0.5.1.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.5.1.0&rev_to=v0.5.0.1 -[0.5.0.1]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.5.0.1&rev_to=v0.5.0.0 -[0.5.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.5.0.0&rev_to=v0.4.0.0 -[0.4.0.0]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.4.0.0&rev_to=v0.3 -[0.3]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.3&rev_to=v0.2.1 -[0.2.1]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.2.1&rev_to=v0.2 -[0.2]: https://www.caraus.tech/projects/pub-graphql/repository/23/diff?rev=v0.2&rev_to=v0.1 +[1.2.0.0]: https://git.caraus.tech/OSS/graphql/compare/v1.1.0.0...v1.2.0.0 +[1.1.0.0]: https://git.caraus.tech/OSS/graphql/compare/v1.0.3.0...v1.1.0.0 +[1.0.3.0]: https://git.caraus.tech/OSS/graphql/compare/v1.0.2.0...v1.0.3.0 +[1.0.2.0]: https://git.caraus.tech/OSS/graphql/compare/v1.0.1.0...v1.0.2.0 +[1.0.1.0]: https://git.caraus.tech/OSS/graphql/compare/v1.0.0.0...v1.0.1.0 +[1.0.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.11.1.0...v1.0.0.0 +[0.11.1.0]: https://git.caraus.tech/OSS/graphql/compare/v0.11.0.0...v0.11.1.0 +[0.11.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.10.0.0...v0.11.0.0 +[0.10.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.9.0.0...v0.10.0.0 +[0.9.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.8.0.0...v0.9.0.0 +[0.8.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.7.0.0...v0.8.0.0 +[0.7.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.6.1.0...v0.7.0.0 +[0.6.1.0]: https://git.caraus.tech/OSS/graphql/compare/v0.6.0.0...v0.6.1.0 +[0.6.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.5.1.0...v0.6.0.0 +[0.5.1.0]: https://git.caraus.tech/OSS/graphql/compare/v0.5.0.1...v0.5.1.0 +[0.5.0.1]: https://git.caraus.tech/OSS/graphql/compare/v0.5.0.0...v0.5.0.1 +[0.5.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.4.0.0...v0.5.0.0 +[0.4.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.3...v0.4.0.0 +[0.3]: https://git.caraus.tech/OSS/graphql/compare/v0.2.1...v0.3 +[0.2.1]: https://git.caraus.tech/OSS/graphql/compare/v0.2...v0.2.1 +[0.2]: https://git.caraus.tech/OSS/graphql/compare/v0.1...v0.2 diff --git a/README.md b/README.md index 3bc8881..8b3a6b5 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,12 @@ # GraphQL implementation in Haskell -[![Simple Haskell](https://www.simplehaskell.org/badges/badge.svg)](https://www.simplehaskell.org) -[![CI/CD](https://img.shields.io/badge/CI-CD-brightgreen)](https://build.caraus.tech/go/pipelines) - -See https://www.caraus.tech/projects/pub-graphql. +See https://git.caraus.tech/OSS/graphql. Report issues on the -[bug tracker](https://www.caraus.tech/projects/pub-graphql/issues). +[bug tracker](https://git.caraus.tech/OSS/graphql/issues). API documentation is available through [Hackage](https://hackage.haskell.org/package/graphql). Further documentation will be made available in the -[Wiki](https://www.caraus.tech/projects/pub-graphql/wiki). +[Wiki](https://git.caraus.tech/OSS/graphql/wiki). diff --git a/graphql.cabal b/graphql.cabal index 644d227..2ba7131 100644 --- a/graphql.cabal +++ b/graphql.cabal @@ -5,8 +5,8 @@ version: 1.2.0.0 synopsis: Haskell GraphQL implementation description: Haskell implementation. category: Language -homepage: https://www.caraus.tech/projects/pub-graphql -bug-reports: https://www.caraus.tech/projects/pub-graphql/issues +homepage: https://git.caraus.tech/OSS/graphql +bug-reports: https://git.caraus.tech/OSS/graphql/issues author: Danny Navarro , Matthías Páll Gissurarson , Sólrún Halla Einarsdóttir @@ -25,7 +25,7 @@ tested-with: source-repository head type: git - location: git://caraus.tech/pub/graphql.git + location: https://git.caraus.tech/OSS/graphql.git library exposed-modules: diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..7669a86 --- /dev/null +++ b/test.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# setup +cabal update + +# doc +cabal haddock --enable-documentation --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc + +# lint +cabal install hlint --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc --overwrite-policy=always "--constraint=hlint ==3.5" +cabal exec hlint -- src tests + +# test +cabal build graphql-test --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc +cabal test --test-show-details=direct --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc