diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..f6c0b22 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +@byteverse/l3c diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..a2c8e00 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,11 @@ +name: build +on: + pull_request: + branches: + - "*" + +jobs: + call-workflow: + uses: byteverse/.github/.github/workflows/build-matrix.yaml@ci + with: + cabal-file: http-exchange.cabal diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..90abbca --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,10 @@ +name: release +on: + push: + tags: + - "*" + +jobs: + call-workflow: + uses: byteverse/.github/.github/workflows/release.yaml@ci + secrets: inherit diff --git a/CHANGELOG.md b/CHANGELOG.md index ca68230..f4068cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Revision history for http-exchange +## 0.2.0.1 -- 2024-02-07 + +* Update package metadata. + ## 0.2.0.0 -- 2024-01-29 * Add incomplete response to headers-end-of-input exception. diff --git a/http-exchange.cabal b/http-exchange.cabal index dbf5a81..13ce33c 100644 --- a/http-exchange.cabal +++ b/http-exchange.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: http-exchange -version: 0.2.0.0 +version: 0.2.0.1 synopsis: Perform HTTP Requests description: Perform HTTP requests. This uses backpack and is agnostic to the backend. @@ -8,65 +8,72 @@ description: license: BSD-3-Clause license-file: LICENSE author: Andrew Martin -maintainer: andrew.thaddeus@gmail.com +maintainer: amartin@layer3com.com +homepage: https://github.com/byteverse/http-exchange +bug-reports: https://github.com/byteverse/http-exchange/issues copyright: 2023 Andrew Martin category: Data build-type: Simple extra-doc-files: CHANGELOG.md +tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1 + +common build-settings + default-language: GHC2021 + ghc-options: -Wall -Wunused-packages library types - ghc-options: -Wall - exposed-modules: Http.Exchange.Types + import: build-settings + ghc-options: -O2 + exposed-modules: Http.Exchange.Types build-depends: , base >=4.16.3.0 && <5 , byteslice >=0.2.11.1 - hs-source-dirs: src-types - default-language: GHC2021 + hs-source-dirs: src-types library testdep - ghc-options: -Wall - exposed-modules: OkChannel + import: build-settings + ghc-options: -O2 + exposed-modules: OkChannel build-depends: , base >=4.16.3.0 && <5 , byteslice >=0.2.11 , types - hs-source-dirs: src-testdep - default-language: GHC2021 + hs-source-dirs: src-testdep library - signatures: Channel - ghc-options: -Wall - exposed-modules: Exchange + import: build-settings + signatures: Channel + ghc-options: -O2 + exposed-modules: Exchange build-depends: , base >=4.16.3.0 && <5 , byteslice >=0.2.11 , bytesmith >=0.3.9 , http-interchange >=0.3.1 - , primitive >=0.8 , text >=2.0 , types - hs-source-dirs: src - default-language: GHC2021 + hs-source-dirs: src test-suite test - ghc-options: -Wall - default-language: GHC2021 - type: exitcode-stdio-1.0 - hs-source-dirs: test - main-is: Main.hs + import: build-settings + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Main.hs build-depends: , base >=4.16.3.0 && <5 , byteslice - , bytestring >=0.11 , http-exchange , http-interchange >=0.3.1 - , primitive >=0.8 , tasty >=1.4.3 , tasty-hunit >=0.10.0.3 , testdep mixins: http-exchange (Exchange as OkExchange) requires (Channel as OkChannel) + +source-repository head + type: git + location: git://github.com/byteverse/http-exchange.git