From c4ada7259573ebfd77e0236aff59f3c2a5138df8 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Thu, 21 Nov 2024 10:03:16 -0800 Subject: [PATCH] add per package issues links --- .github/ISSUE_TEMPLATE/http2.md | 2 +- .../http_client_conformance_tests.md | 5 +++ .github/ISSUE_TEMPLATE/http_parser.md | 2 +- .github/ISSUE_TEMPLATE/http_profile.md | 5 +++ .github/ISSUE_TEMPLATE/ok_http.md | 5 +++ .github/ISSUE_TEMPLATE/web_socket.md | 5 +++ .../web_socket_conformance_tests.md | 5 +++ .github/labeler.yml | 36 ++++++++++++++---- README.md | 38 ++++++++++++------- pkgs/cronet_http/pubspec.yaml | 1 + pkgs/cupertino_http/pubspec.yaml | 1 + pkgs/http/pubspec.yaml | 1 + pkgs/http2/pubspec.yaml | 1 + pkgs/http_parser/pubspec.yaml | 1 + pkgs/http_profile/pubspec.yaml | 3 +- pkgs/ok_http/pubspec.yaml | 1 + pkgs/web_socket/pubspec.yaml | 3 +- 17 files changed, 90 insertions(+), 25 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/http_client_conformance_tests.md create mode 100644 .github/ISSUE_TEMPLATE/http_profile.md create mode 100644 .github/ISSUE_TEMPLATE/ok_http.md create mode 100644 .github/ISSUE_TEMPLATE/web_socket.md create mode 100644 .github/ISSUE_TEMPLATE/web_socket_conformance_tests.md diff --git a/.github/ISSUE_TEMPLATE/http2.md b/.github/ISSUE_TEMPLATE/http2.md index 9c982e75a8..6ba5581b25 100644 --- a/.github/ISSUE_TEMPLATE/http2.md +++ b/.github/ISSUE_TEMPLATE/http2.md @@ -2,4 +2,4 @@ name: "package:http2" about: "Create a bug or file a feature request against package:http2." labels: "package:http2" ---- \ No newline at end of file +--- diff --git a/.github/ISSUE_TEMPLATE/http_client_conformance_tests.md b/.github/ISSUE_TEMPLATE/http_client_conformance_tests.md new file mode 100644 index 0000000000..da0ebf964d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/http_client_conformance_tests.md @@ -0,0 +1,5 @@ +--- +name: "package:http_client_conformance_tests" +about: "Create a bug or file a feature request against package:http_client_conformance_tests." +labels: "package:http_client_conformance_tests" +--- diff --git a/.github/ISSUE_TEMPLATE/http_parser.md b/.github/ISSUE_TEMPLATE/http_parser.md index cf34cdc533..d5a3b5d236 100644 --- a/.github/ISSUE_TEMPLATE/http_parser.md +++ b/.github/ISSUE_TEMPLATE/http_parser.md @@ -2,4 +2,4 @@ name: "package:http_parser" about: "Create a bug or file a feature request against package:http_parser." labels: "package:http_parser" ---- \ No newline at end of file +--- diff --git a/.github/ISSUE_TEMPLATE/http_profile.md b/.github/ISSUE_TEMPLATE/http_profile.md new file mode 100644 index 0000000000..1fa669f1eb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/http_profile.md @@ -0,0 +1,5 @@ +--- +name: "package:http_profile" +about: "Create a bug or file a feature request against package:http_profile." +labels: "package:http_profile" +--- diff --git a/.github/ISSUE_TEMPLATE/ok_http.md b/.github/ISSUE_TEMPLATE/ok_http.md new file mode 100644 index 0000000000..b447145c93 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ok_http.md @@ -0,0 +1,5 @@ +--- +name: "package:ok_http" +about: "Create a bug or file a feature request against package:ok_http." +labels: "package:ok_http" +--- diff --git a/.github/ISSUE_TEMPLATE/web_socket.md b/.github/ISSUE_TEMPLATE/web_socket.md new file mode 100644 index 0000000000..bedcdeb0f7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/web_socket.md @@ -0,0 +1,5 @@ +--- +name: "package:web_socket" +about: "Create a bug or file a feature request against package:web_socket." +labels: "package:web_socket" +--- diff --git a/.github/ISSUE_TEMPLATE/web_socket_conformance_tests.md b/.github/ISSUE_TEMPLATE/web_socket_conformance_tests.md new file mode 100644 index 0000000000..ce92645a49 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/web_socket_conformance_tests.md @@ -0,0 +1,5 @@ +--- +name: "package:web_socket_conformance_tests" +about: "Create a bug or file a feature request against package:web_socket_conformance_tests." +labels: "package:web_socket_conformance_tests" +--- diff --git a/.github/labeler.yml b/.github/labeler.yml index 3add1c1717..1d6562cf7c 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -2,28 +2,48 @@ 'type-infra': - changed-files: - - any-glob-to-any-file: '.github/**' + - any-glob-to-any-file: '.github/**' 'package:cronet_http': - changed-files: - - any-glob-to-any-file: 'pkgs/cronet_http/**' + - any-glob-to-any-file: 'pkgs/cronet_http/**' 'package:cupertino_http': - changed-files: - - any-glob-to-any-file: 'pkgs/cupertino_http/**' + - any-glob-to-any-file: 'pkgs/cupertino_http/**' + +'package:flutter_http_example': + - changed-files: + - any-glob-to-any-file: 'pkgs/flutter_http_example/**' 'package:http': - changed-files: - - any-glob-to-any-file: 'pkgs/http/**' + - any-glob-to-any-file: 'pkgs/http/**' 'package:http2': - changed-files: - - any-glob-to-any-file: 'pkgs/http2/**' + - any-glob-to-any-file: 'pkgs/http2/**' + +'package:http_client_conformance_tests': + - changed-files: + - any-glob-to-any-file: 'pkgs/http_client_conformance_tests/**' 'package:http_parser': - changed-files: - - any-glob-to-any-file: 'pkgs/http_parser/**' + - any-glob-to-any-file: 'pkgs/http_parser/**' -'package:http_client_conformance_tests': +'package:http_profile': + - changed-files: + - any-glob-to-any-file: 'pkgs/http_profile/**' + +'package:ok_http': + - changed-files: + - any-glob-to-any-file: 'pkgs/ok_http/**' + +'package:web_socket': + - changed-files: + - any-glob-to-any-file: 'pkgs/web_socket/**' + +'package:web_socket_conformance_tests': - changed-files: - - any-glob-to-any-file: 'pkgs/http_client_conformance_tests/**' + - any-glob-to-any-file: 'pkgs/web_socket_conformance_tests/**' diff --git a/README.md b/README.md index 31fc6500b1..d878093dae 100644 --- a/README.md +++ b/README.md @@ -8,19 +8,31 @@ and the browser. ## Packages -| Package | Description | Version | -|---|---|---| -| [cronet_http](pkgs/cronet_http/) | An Android Flutter plugin that provides access to the [Cronet](https://developer.android.com/guide/topics/connectivity/cronet/reference/org/chromium/net/package-summary) HTTP client. | [![pub package](https://img.shields.io/pub/v/cronet_http.svg)](https://pub.dev/packages/cronet_http) | -| [cupertino_http](pkgs/cupertino_http/) | A macOS/iOS Flutter plugin that provides access to the [Foundation URL Loading System](https://developer.apple.com/documentation/foundation/url_loading_system). | [![pub package](https://img.shields.io/pub/v/cupertino_http.svg)](https://pub.dev/packages/cupertino_http) | -| [flutter_http_example](pkgs/flutter_http_example/) | An Flutter app that demonstrates how to configure and use `package:http`. | — | -| [http](pkgs/http/) | A composable, multi-platform, Future-based API for HTTP requests. | [![pub package](https://img.shields.io/pub/v/http.svg)](https://pub.dev/packages/http) | -| [http2](pkgs/http2/) | A HTTP/2 implementation in Dart. | [![pub package](https://img.shields.io/pub/v/http2.svg)](https://pub.dev/packages/http2) | -| [http_client_conformance_tests](pkgs/http_client_conformance_tests/) | A library that tests whether implementations of package:http's `Client` class behave as expected. | | -| [http_parser](pkgs/http_parser/) | A platform-independent package for parsing and serializing HTTP formats. | [![pub package](https://img.shields.io/pub/v/http_parser.svg)](https://pub.dev/packages/http_parser) | -| [http_profile](pkgs/http_profile/) | A library used by HTTP client authors to integrate with the DevTools Network View. | [![pub package](https://img.shields.io/pub/v/http_profile.svg)](https://pub.dev/packages/http_profile) | -| [ok_http](pkgs/ok_http/) | An Android Flutter plugin that provides access to the [OkHttp](https://square.github.io/okhttp/) HTTP client and the OkHttp [WebSocket](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-web-socket/index.html) API. | [![pub package](https://img.shields.io/pub/v/ok_http.svg)](https://pub.dev/packages/ok_http) | -| [web_socket](pkgs/web_socket/) | Any easy-to-use library for communicating with WebSockets that has multiple implementations. | [![pub package](https://img.shields.io/pub/v/web_socket.svg)](https://pub.dev/packages/web_socket) | -| [web_socket_conformance_tests](pkgs/web_socket_conformance_tests/) | A library that tests whether implementations of `package:web_socket`'s `WebSocket` class behave as expected. | | +| Package | Description | Issues | Version | +| --- | --- | --- | --- | +| [cronet_http](pkgs/cronet_http/) | An Android Flutter plugin that provides access to the Cronet HTTP client. | [![issues](https://img.shields.io/badge/issues-4774bc)][cronet_http_issues] | [![pub package](https://img.shields.io/pub/v/cronet_http.svg)](https://pub.dev/packages/cronet_http) | +| [cupertino_http](pkgs/cupertino_http/) | A macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System. | [![issues](https://img.shields.io/badge/issues-4774bc)][cupertino_http_issues] | [![pub package](https://img.shields.io/pub/v/cupertino_http.svg)](https://pub.dev/packages/cupertino_http) | +| [flutter_http_example](pkgs/flutter_http_example/) | Demonstrates how to use package:http in a Flutter app. | [![issues](https://img.shields.io/badge/issues-4774bc)][flutter_http_example_issues] | | +| [http](pkgs/http/) | A composable, multi-platform, Future-based API for HTTP requests. | [![issues](https://img.shields.io/badge/issues-4774bc)][http_issues] | [![pub package](https://img.shields.io/pub/v/http.svg)](https://pub.dev/packages/http) | +| [http2](pkgs/http2/) | A HTTP/2 implementation in Dart. | [![issues](https://img.shields.io/badge/issues-4774bc)][http2_issues] | [![pub package](https://img.shields.io/pub/v/http2.svg)](https://pub.dev/packages/http2) | +| [http_client_conformance_tests](pkgs/http_client_conformance_tests/) | A library that tests whether implementations of package:http's `Client` class behave as expected. | [![issues](https://img.shields.io/badge/issues-4774bc)][http_client_conformance_tests_issues] | | +| [http_parser](pkgs/http_parser/) | A platform-independent package for parsing and serializing HTTP formats. | [![issues](https://img.shields.io/badge/issues-4774bc)][http_parser_issues] | [![pub package](https://img.shields.io/pub/v/http_parser.svg)](https://pub.dev/packages/http_parser) | +| [http_profile](pkgs/http_profile/) | A library used by HTTP client authors to integrate with the DevTools Network View. | [![issues](https://img.shields.io/badge/issues-4774bc)][http_profile_issues] | [![pub package](https://img.shields.io/pub/v/http_profile.svg)](https://pub.dev/packages/http_profile) | +| [ok_http](pkgs/ok_http/) | An Android Flutter plugin that provides access to the OkHttp HTTP client. | [![issues](https://img.shields.io/badge/issues-4774bc)][ok_http_issues] | [![pub package](https://img.shields.io/pub/v/ok_http.svg)](https://pub.dev/packages/ok_http) | +| [web_socket](pkgs/web_socket/) | Any easy-to-use library for communicating with WebSockets that has multiple implementations. | [![issues](https://img.shields.io/badge/issues-4774bc)][web_socket_issues] | [![pub package](https://img.shields.io/pub/v/web_socket.svg)](https://pub.dev/packages/web_socket) | +| [web_socket_conformance_tests](pkgs/web_socket_conformance_tests/) | A library that tests whether implementations of `package:web_socket`'s `WebSocket` class behave as expected. | [![issues](https://img.shields.io/badge/issues-4774bc)][web_socket_conformance_tests_issues] | | + +[cronet_http_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Acronet_http +[cupertino_http_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Acupertino_http +[flutter_http_example_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aflutter_http_example +[http_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahttp +[http2_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahttp2 +[http_client_conformance_tests_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahttp_client_conformance_tests +[http_parser_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahttp_parser +[http_profile_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahttp_profile +[ok_http_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aok_http +[web_socket_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aweb_socket +[web_socket_conformance_tests_issues]: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aweb_socket_conformance_tests ## Contributing diff --git a/pkgs/cronet_http/pubspec.yaml b/pkgs/cronet_http/pubspec.yaml index 10f5ac636c..f9d7429f8c 100644 --- a/pkgs/cronet_http/pubspec.yaml +++ b/pkgs/cronet_http/pubspec.yaml @@ -3,6 +3,7 @@ version: 1.3.3-wip description: >- An Android Flutter plugin that provides access to the Cronet HTTP client. repository: https://github.com/dart-lang/http/tree/master/pkgs/cronet_http +issue_tracker: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Acronet_http environment: sdk: ^3.4.0 diff --git a/pkgs/cupertino_http/pubspec.yaml b/pkgs/cupertino_http/pubspec.yaml index a463092423..529c762456 100644 --- a/pkgs/cupertino_http/pubspec.yaml +++ b/pkgs/cupertino_http/pubspec.yaml @@ -4,6 +4,7 @@ description: >- A macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System. repository: https://github.com/dart-lang/http/tree/master/pkgs/cupertino_http +issue_tracker: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Acupertino_http environment: sdk: ^3.4.0 diff --git a/pkgs/http/pubspec.yaml b/pkgs/http/pubspec.yaml index 9685a17148..6034ec5592 100644 --- a/pkgs/http/pubspec.yaml +++ b/pkgs/http/pubspec.yaml @@ -2,6 +2,7 @@ name: http version: 1.3.0-wip description: A composable, multi-platform, Future-based API for HTTP requests. repository: https://github.com/dart-lang/http/tree/master/pkgs/http +issue_tracker: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahttp topics: - http diff --git a/pkgs/http2/pubspec.yaml b/pkgs/http2/pubspec.yaml index 7d9e6b851b..1c7738cf11 100644 --- a/pkgs/http2/pubspec.yaml +++ b/pkgs/http2/pubspec.yaml @@ -2,6 +2,7 @@ name: http2 version: 2.3.1 description: A HTTP/2 implementation in Dart. repository: https://github.com/dart-lang/http/tree/master/pkgs/http2 +issue_tracker: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahttp2 topics: - http diff --git a/pkgs/http_parser/pubspec.yaml b/pkgs/http_parser/pubspec.yaml index 13888276f1..a1e7b30e1b 100644 --- a/pkgs/http_parser/pubspec.yaml +++ b/pkgs/http_parser/pubspec.yaml @@ -3,6 +3,7 @@ version: 4.1.1 description: >- A platform-independent package for parsing and serializing HTTP formats. repository: https://github.com/dart-lang/http/tree/master/pkgs/http_parser +issue_tracker: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahttp_parser environment: sdk: ^3.4.0 diff --git a/pkgs/http_profile/pubspec.yaml b/pkgs/http_profile/pubspec.yaml index 1184789c8a..5d0536a976 100644 --- a/pkgs/http_profile/pubspec.yaml +++ b/pkgs/http_profile/pubspec.yaml @@ -1,9 +1,10 @@ name: http_profile +version: 0.1.1-wip description: >- A library used by HTTP client authors to integrate with the DevTools Network View. repository: https://github.com/dart-lang/http/tree/master/pkgs/http_profile -version: 0.1.1-wip +issue_tracker: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahttp_profile environment: sdk: ^3.4.0 diff --git a/pkgs/ok_http/pubspec.yaml b/pkgs/ok_http/pubspec.yaml index 93759491e5..5edd60b132 100644 --- a/pkgs/ok_http/pubspec.yaml +++ b/pkgs/ok_http/pubspec.yaml @@ -3,6 +3,7 @@ version: 0.1.1-wip description: >- An Android Flutter plugin that provides access to the OkHttp HTTP client. repository: https://github.com/dart-lang/http/tree/master/pkgs/ok_http +issue_tracker: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aok_http environment: sdk: ^3.4.0 diff --git a/pkgs/web_socket/pubspec.yaml b/pkgs/web_socket/pubspec.yaml index 57d243ed80..f7630e65f5 100644 --- a/pkgs/web_socket/pubspec.yaml +++ b/pkgs/web_socket/pubspec.yaml @@ -1,9 +1,10 @@ name: web_socket +version: 0.1.6 description: >- Any easy-to-use library for communicating with WebSockets that has multiple implementations. repository: https://github.com/dart-lang/http/tree/master/pkgs/web_socket -version: 0.1.6 +issue_tracker: https://github.com/dart-lang/http/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aweb_socket environment: sdk: ^3.4.0