From bd0ebf4ba1e7554722e186e8f25cffd583e0c1e9 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Mon, 11 Nov 2024 08:42:02 -0800 Subject: [PATCH] add direct links for package issue trackers --- .github/ISSUE_TEMPLATE/ffi.md | 5 +++++ .github/ISSUE_TEMPLATE/objective_c.md | 1 - .github/labeler.yml | 32 +++++++++++++++------------ README.md | 24 ++++++++++---------- pkgs/ffi/pubspec.yaml | 1 + pkgs/ffigen/pubspec.yaml | 2 ++ pkgs/jni/pubspec.yaml | 1 + pkgs/jnigen/pubspec.yaml | 1 + pkgs/objective_c/pubspec.yaml | 1 + pkgs/swift2objc/pubspec.yaml | 1 + pkgs/swiftgen/pubspec.yaml | 1 + 11 files changed, 43 insertions(+), 27 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/ffi.md diff --git a/.github/ISSUE_TEMPLATE/ffi.md b/.github/ISSUE_TEMPLATE/ffi.md new file mode 100644 index 000000000..9c42a774e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ffi.md @@ -0,0 +1,5 @@ +--- +name: "package:ffi" +about: "Create a bug or file a feature request against package:ffi." +labels: "package:ffi" +--- diff --git a/.github/ISSUE_TEMPLATE/objective_c.md b/.github/ISSUE_TEMPLATE/objective_c.md index 63039fbd6..97f1aaacf 100644 --- a/.github/ISSUE_TEMPLATE/objective_c.md +++ b/.github/ISSUE_TEMPLATE/objective_c.md @@ -3,4 +3,3 @@ name: "package:objective_c" about: "Create a bug or file a feature request against package:objective_c." labels: "package:objective_c" --- - diff --git a/.github/labeler.yml b/.github/labeler.yml index 6db74365c..bcbd0bee6 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -2,40 +2,44 @@ 'type-infra': - changed-files: - - any-glob-to-any-file: '.github/**' + - any-glob-to-any-file: '.github/**' -'package:ffigen': +'package:ffi': - changed-files: - - any-glob-to-any-file: 'pkgs/ffigen/**' + - any-glob-to-any-file: 'pkgs/ffi/**' -'package:jnigen': +'package:ffigen': - changed-files: - - any-glob-to-any-file: 'pkgs/jnigen/**' + - any-glob-to-any-file: 'pkgs/ffigen/**' 'package:jni': - changed-files: - - any-glob-to-any-file: 'pkgs/jni/**' + - any-glob-to-any-file: 'pkgs/jni/**' + +'package:jnigen': + - changed-files: + - any-glob-to-any-file: 'pkgs/jnigen/**' 'package:native_assets_builder': - changed-files: - - any-glob-to-any-file: 'pkgs/native_assets_builder/**' + - any-glob-to-any-file: 'pkgs/native_assets_builder/**' 'package:native_assets_cli': - changed-files: - - any-glob-to-any-file: 'pkgs/native_assets_cli/**' + - any-glob-to-any-file: 'pkgs/native_assets_cli/**' 'package:native_toolchain_c': - changed-files: - - any-glob-to-any-file: 'pkgs/native_toolchain_c/**' + - any-glob-to-any-file: 'pkgs/native_toolchain_c/**' 'package:objective_c': - changed-files: - - any-glob-to-any-file: 'pkgs/objective_c/**' + - any-glob-to-any-file: 'pkgs/objective_c/**' -'package:swiftgen': +'package:swift2objc': - changed-files: - - any-glob-to-any-file: 'pkgs/swiftgen/**' + - any-glob-to-any-file: 'pkgs/swift2objc/**' -'package:swift2objc': +'package:swiftgen': - changed-files: - - any-glob-to-any-file: 'pkgs/swiftgen/swift2objc/**' + - any-glob-to-any-file: 'pkgs/swiftgen/**' diff --git a/README.md b/README.md index 284111fec..a04464b67 100644 --- a/README.md +++ b/README.md @@ -7,18 +7,18 @@ building and bundling. ## Packages -| Package | Description | Version | -| --- | --- | --- | -| [ffi](pkgs/ffi/) | Utilities for working with Foreign Function Interface (FFI) code. | [![pub package](https://img.shields.io/pub/v/ffi.svg)](https://pub.dev/packages/ffi) | -| [ffigen](pkgs/ffigen/) | Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. | [![pub package](https://img.shields.io/pub/v/ffigen.svg)](https://pub.dev/packages/ffigen) | -| [objective_c](pkgs/objective_c/) | A library to access Objective C from Flutter that acts as a support library for package:ffigen. | [![pub package](https://img.shields.io/pub/v/objective_c.svg)](https://pub.dev/packages/objective_c) | -| [jni](pkgs/jni/) | A library to access JNI from Dart and Flutter that acts as a support library for `package:jnigen`. | [![pub package](https://img.shields.io/pub/v/jni.svg)](https://pub.dev/packages/jni) | -| [jnigen](pkgs/jnigen/) | A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine. | [![pub package](https://img.shields.io/pub/v/jnigen.svg)](https://pub.dev/packages/jnigen) | -| [swift2objc](pkgs/swift2objc/) | Generates ObjC compatibility wrappers for Swift APIs. | [![pub package](https://img.shields.io/pub/v/swift2objc.svg)](https://pub.dev/packages/swift2objc) | -| [swiftgen](pkgs/swiftgen/) | A Dart bindings generator for Swift. | [![pub package](https://img.shields.io/pub/v/swiftgen.svg)](https://pub.dev/packages/swiftgen) | -| [native_assets_builder](pkgs/native_assets_builder/) | This package is the backend that invokes build hooks. | [![pub package](https://img.shields.io/pub/v/native_assets_builder.svg)](https://pub.dev/packages/native_assets_builder) | -| [native_assets_cli](pkgs/native_assets_cli/) | A library that contains the argument and file formats for implementing a native assets CLI. | [![pub package](https://img.shields.io/pub/v/native_assets_cli.svg)](https://pub.dev/packages/native_assets_cli) | -| [native_toolchain_c](pkgs/native_toolchain_c/) | A library to invoke the native C compiler installed on the host machine. | [![pub package](https://img.shields.io/pub/v/native_toolchain_c.svg)](https://pub.dev/packages/native_toolchain_c) | +| Package | Description | Issues | Version | +| --- | --- | --- | --- | +| [ffi](pkgs/ffi/) | Utilities for working with Foreign Function Interface (FFI) code. | [![package issues](https://img.shields.io/badge/package:ffi-4774bc)](https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Affi) | [![pub package](https://img.shields.io/pub/v/ffi.svg)](https://pub.dev/packages/ffi) | +| [ffigen](pkgs/ffigen/) | Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. | [![package issues](https://img.shields.io/badge/package:ffigen-4774bc)](https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Affigen) | [![pub package](https://img.shields.io/pub/v/ffigen.svg)](https://pub.dev/packages/ffigen) | +| [jni](pkgs/jni/) | A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen. | [![package issues](https://img.shields.io/badge/package:jni-4774bc)](https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajni) | [![pub package](https://img.shields.io/pub/v/jni.svg)](https://pub.dev/packages/jni) | +| [jnigen](pkgs/jnigen/) | A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine. | [![package issues](https://img.shields.io/badge/package:jnigen-4774bc)](https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajnigen) | [![pub package](https://img.shields.io/pub/v/jnigen.svg)](https://pub.dev/packages/jnigen) | +| [native_assets_builder](pkgs/native_assets_builder/) | This package is the backend that invokes build hooks. | [![package issues](https://img.shields.io/badge/package:native__assets__builder-4774bc)](null) | | +| [native_assets_cli](pkgs/native_assets_cli/) | A library that contains the argument and file formats for implementing a native assets CLI. | [![package issues](https://img.shields.io/badge/package:native__assets__cli-4774bc)](null) | | +| [native_toolchain_c](pkgs/native_toolchain_c/) | A library to invoke the native C compiler installed on the host machine. | [![package issues](https://img.shields.io/badge/package:native__toolchain__c-4774bc)](null) | | +| [objective_c](pkgs/objective_c/) | A library to access Objective C from Flutter that acts as a support library for package:ffigen. | [![package issues](https://img.shields.io/badge/package:objective__c-4774bc)](https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aobjective_c) | [![pub package](https://img.shields.io/pub/v/objective_c.svg)](https://pub.dev/packages/objective_c) | +| [swift2objc](pkgs/swift2objc/) | A tool for generating bindings that allow interop between Dart and Swift code. | [![package issues](https://img.shields.io/badge/package:swift2objc-4774bc)](https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aswift2objc) | [![pub package](https://img.shields.io/pub/v/swift2objc.svg)](https://pub.dev/packages/swift2objc) | +| [swiftgen](pkgs/swiftgen/) | A tool for generating bindings that allow interop between Dart and Swift code. | [![package issues](https://img.shields.io/badge/package:swiftgen-4774bc)](https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aswiftgen) | [![pub package](https://img.shields.io/pub/v/swiftgen.svg)](https://pub.dev/packages/swiftgen) | ## External packages diff --git a/pkgs/ffi/pubspec.yaml b/pkgs/ffi/pubspec.yaml index 1a3e9d240..55261524e 100644 --- a/pkgs/ffi/pubspec.yaml +++ b/pkgs/ffi/pubspec.yaml @@ -2,6 +2,7 @@ name: ffi version: 2.1.3 description: Utilities for working with Foreign Function Interface (FFI) code. repository: https://github.com/dart-lang/native/tree/main/pkgs/ffi +issue_tracker: https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Affi topics: - interop diff --git a/pkgs/ffigen/pubspec.yaml b/pkgs/ffigen/pubspec.yaml index 0df49a9e2..fdb977d19 100644 --- a/pkgs/ffigen/pubspec.yaml +++ b/pkgs/ffigen/pubspec.yaml @@ -8,6 +8,8 @@ description: > Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files. repository: https://github.com/dart-lang/native/tree/main/pkgs/ffigen +issue_tracker: https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Affigen + topics: - interop - ffi diff --git a/pkgs/jni/pubspec.yaml b/pkgs/jni/pubspec.yaml index e75140057..f25f74752 100644 --- a/pkgs/jni/pubspec.yaml +++ b/pkgs/jni/pubspec.yaml @@ -6,6 +6,7 @@ name: jni description: A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen. version: 0.12.1-wip repository: https://github.com/dart-lang/native/tree/main/pkgs/jni +issue_tracker: https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajni topics: - interop diff --git a/pkgs/jnigen/pubspec.yaml b/pkgs/jnigen/pubspec.yaml index ff495d62e..b4b34ce4d 100644 --- a/pkgs/jnigen/pubspec.yaml +++ b/pkgs/jnigen/pubspec.yaml @@ -6,6 +6,7 @@ name: jnigen description: A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine. version: 0.12.2-wip repository: https://github.com/dart-lang/native/tree/main/pkgs/jnigen +issue_tracker: https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajnigen environment: sdk: '>=3.3.0 <4.0.0' diff --git a/pkgs/objective_c/pubspec.yaml b/pkgs/objective_c/pubspec.yaml index 7f72c557c..c5260a29a 100644 --- a/pkgs/objective_c/pubspec.yaml +++ b/pkgs/objective_c/pubspec.yaml @@ -6,6 +6,7 @@ name: objective_c description: 'A library to access Objective C from Flutter that acts as a support library for package:ffigen.' version: 4.0.0-wip repository: https://github.com/dart-lang/native/tree/main/pkgs/objective_c +issue_tracker: https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aobjective_c topics: - interop diff --git a/pkgs/swift2objc/pubspec.yaml b/pkgs/swift2objc/pubspec.yaml index 5ce2f8a3d..b4d020b8c 100644 --- a/pkgs/swift2objc/pubspec.yaml +++ b/pkgs/swift2objc/pubspec.yaml @@ -6,6 +6,7 @@ name: swift2objc description: 'A tool for generating bindings that allow interop between Dart and Swift code.' version: 0.0.1-wip repository: https://github.com/dart-lang/native/tree/main/pkgs/swiftgen/swift2objc +issue_tracker: https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aswift2objc topics: - interop diff --git a/pkgs/swiftgen/pubspec.yaml b/pkgs/swiftgen/pubspec.yaml index 20f4c3c48..664fd220c 100644 --- a/pkgs/swiftgen/pubspec.yaml +++ b/pkgs/swiftgen/pubspec.yaml @@ -6,6 +6,7 @@ name: swiftgen description: 'A tool for generating bindings that allow interop between Dart and Swift code.' version: 0.0.1-wip repository: https://github.com/dart-lang/native/tree/main/pkgs/swiftgen +issue_tracker: https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aswiftgen topics: - interop