From bc449d688269adc1b8d5c5f0f3a489c1a2dbae97 Mon Sep 17 00:00:00 2001 From: Brian McKeon Date: Wed, 7 Feb 2024 14:20:49 -0500 Subject: [PATCH] Prepare 0.1.3.1 release. Update package metadata. Use new .github workflows. --- .github/CODEOWNERS | 1 + .github/workflows/build.yaml | 11 ++++++++ .github/workflows/release.yaml | 10 ++++++++ CHANGELOG.md | 4 +++ http-exchange-instantiations.cabal | 41 ++++++++++++++++++++---------- 5 files changed, 53 insertions(+), 14 deletions(-) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/build.yaml create mode 100644 .github/workflows/release.yaml 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..99eed35 --- /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@main + with: + cabal-file: http-exchange-instantiations.cabal diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..9411962 --- /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@main + secrets: inherit diff --git a/CHANGELOG.md b/CHANGELOG.md index 50feec0..bb979b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Revision history for http-exchange-instantiations +## 0.1.3.1 -- 2024-02-14 + +* Update package metadata. + ## 0.1.3.0 -- 2023-09-21 * Add missing `interruptibleHandshake`. diff --git a/http-exchange-instantiations.cabal b/http-exchange-instantiations.cabal index 5fb7873..7653d38 100644 --- a/http-exchange-instantiations.cabal +++ b/http-exchange-instantiations.cabal @@ -1,20 +1,31 @@ cabal-version: 3.0 name: http-exchange-instantiations -version: 0.1.3.0 +version: 0.1.3.1 synopsis: Instantiations of http-exchange - --- description: +description: Instantiations of http-exchange. 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-instantiations +bug-reports: https://github.com/byteverse/http-exchange-instantiations/issues + copyright: 2023 Andrew Martin category: Network build-type: Simple -extra-doc-files: CHANGELOG.md +extra-doc-files: + CHANGELOG.md + README.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 chanimpl - ghc-options: -Wall + import: build-settings + ghc-options: -O2 exposed-modules: SocketChannel SocketInterruptibleChannel @@ -32,17 +43,16 @@ library chanimpl , tls >=1.8 hs-source-dirs: src-chanimpl - default-language: GHC2021 library - ghc-options: -Wall + import: build-settings + ghc-options: -O2 exposed-modules: Http.Exchange.Network Http.Exchange.Tls build-depends: , base >=4.16.3.0 - , bytestring >=0.11 , chanimpl , http-exchange >=0.1.1 , http-interchange >=0.3.1 @@ -52,14 +62,14 @@ library , tls >=1.7 hs-source-dirs: src - default-language: GHC2021 mixins: http-exchange (Exchange as SocketExchange) requires (Channel as SocketChannel), http-exchange (Exchange as TlsExchange) requires (Channel as TlsChannel), http-exchange (Exchange as SocketInterruptibleExchange) requires (Channel as SocketInterruptibleChannel) executable http-insecure - ghc-options: -Wall + import: build-settings + ghc-options: -O2 main-is: Main.hs build-depends: , base >=4.16.3.0 @@ -69,10 +79,10 @@ executable http-insecure , pretty-show >=1.10 hs-source-dirs: app-http-insecure - default-language: GHC2021 executable http-secure - ghc-options: -Wall + import: build-settings + ghc-options: -O2 main-is: Main.hs build-depends: , base >=4.16.3.0 @@ -84,4 +94,7 @@ executable http-secure , tls >=1.7 hs-source-dirs: app-http-secure - default-language: GHC2021 + +source-repository head + type: git + location: git://github.com/byteverse/http-exchange-instantiations.git