Skip to content

Commit

Permalink
add links to package issue trackers (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew authored Nov 7, 2024
1 parent c39ce5f commit 0482672
Show file tree
Hide file tree
Showing 36 changed files with 104 additions and 95 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bazel_worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "package:bazel_worker"
about: "Create a bug or file a feature request against package:bazel_worker."
labels: "package:bazel_worker"
---
---
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/benchmark_harness.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "package:benchmark_harness"
about: "Create a bug or file a feature request against package:benchmark_harness."
labels: "package:benchmark_harness"
---
---
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/boolean_selector.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "package:boolean_selector"
about: "Create a bug or file a feature request against package:boolean_selector."
labels: "package:boolean_selector"
---
---
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/browser_launcher.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "package:browser_launcher"
about: "Create a bug or file a feature request against package:browser_launcher."
labels: "package:browser_launcher"
---
---
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/cli_util.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "package:cli_util"
about: "Create a bug or file a feature request against package:cli_util."
labels: "package:cli_util"
---
---
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/clock.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "package:clock"
about: "Create a bug or file a feature request against package:clock."
labels: "package:clock"
---
---
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/code_builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "package:code_builder"
about: "Create a bug or file a feature request against package:code_builder."
labels: "package:code_builder"
---
---
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/csslib.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "package:csslib"
about: "Create a bug or file a feature request against package:csslib."
labels: "package:csslib"
---
---
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/html.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "package:html"
about: "Create a bug or file a feature request against package:html."
labels: "package:html"
---
---
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/json_rpc_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "package:json_rpc_2"
about: "Create a bug or file a feature request against package:json_rpc_2."
labels: "package:json_rpc_2"
---
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/mime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:mime"
about: "Create a bug or file a feature request against package:mime."
labels: "package:mime"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/oauth2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:oauth2"
about: "Create a bug or file a feature request against package:oauth2."
labels: "package:oauth2"
---
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/source_map_stack_trace.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "package:source_map_stack_trace"
about: "Create a bug or file a feature request against package:source_map_stack_trace."
labels: "package:source_map_stack_trace"
---
42 changes: 21 additions & 21 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,84 +2,84 @@

'type-infra':
- changed-files:
- any-glob-to-any-file: '.github/**'
- any-glob-to-any-file: '.github/**'

'package:bazel_worker':
- changed-files:
- any-glob-to-any-file: 'pkgs/bazel_worker/**'
- any-glob-to-any-file: 'pkgs/bazel_worker/**'

'package:benchmark_harness':
- changed-files:
- any-glob-to-any-file: 'pkgs/benchmark_harness/**'
- any-glob-to-any-file: 'pkgs/benchmark_harness/**'

'package:boolean_selector':
- changed-files:
- any-glob-to-any-file: 'pkgs/boolean_selector/**'
- any-glob-to-any-file: 'pkgs/boolean_selector/**'

'package:browser_launcher':
- changed-files:
- any-glob-to-any-file: 'pkgs/browser_launcher/**'
- any-glob-to-any-file: 'pkgs/browser_launcher/**'

'package:cli_config':
- changed-files:
- any-glob-to-any-file: 'pkgs/cli_config/**'
- any-glob-to-any-file: 'pkgs/cli_config/**'

'package:cli_util':
- changed-files:
- any-glob-to-any-file: 'pkgs/cli_util/**'
- any-glob-to-any-file: 'pkgs/cli_util/**'

'package:clock':
- changed-files:
- any-glob-to-any-file: 'pkgs/clock/**'
- any-glob-to-any-file: 'pkgs/clock/**'

'package:code_builder':
- changed-files:
- any-glob-to-any-file: 'pkgs/code_builder/**'
- any-glob-to-any-file: 'pkgs/code_builder/**'

'package:coverage':
- changed-files:
- any-glob-to-any-file: 'pkgs/coverage/**'
- any-glob-to-any-file: 'pkgs/coverage/**'

'package:csslib':
- changed-files:
- any-glob-to-any-file: 'pkgs/csslib/**'
- any-glob-to-any-file: 'pkgs/csslib/**'

'package:extension_discovery':
- changed-files:
- any-glob-to-any-file: 'pkgs/extension_discovery/**'
- any-glob-to-any-file: 'pkgs/extension_discovery/**'

'package:file':
- changed-files:
- any-glob-to-any-file: 'pkgs/file/**'
- any-glob-to-any-file: 'pkgs/file/**'

'package:file_testing':
- changed-files:
- any-glob-to-any-file: 'pkgs/file_testing/**'
- any-glob-to-any-file: 'pkgs/file_testing/**'

'package:graphs':
- changed-files:
- any-glob-to-any-file: 'pkgs/graphs/**'
- any-glob-to-any-file: 'pkgs/graphs/**'

'package:html':
- changed-files:
- any-glob-to-any-file: 'pkgs/html/**'
- any-glob-to-any-file: 'pkgs/html/**'

'package:json_rpc_2':
- changed-files:
- any-glob-to-any-file: 'pkgs/json_rpc_2/**'
- any-glob-to-any-file: 'pkgs/json_rpc_2/**'

'package:mime':
- changed-files:
- any-glob-to-any-file: 'pkgs/mime/**'
- any-glob-to-any-file: 'pkgs/mime/**'

'package:oauth2':
- changed-files:
- any-glob-to-any-file: 'pkgs/oauth2/**'
- any-glob-to-any-file: 'pkgs/oauth2/**'

'package:source_map_stack_trace':
- changed-files:
- any-glob-to-any-file: 'pkgs/source_map_stack_trace/**'
- any-glob-to-any-file: 'pkgs/source_map_stack_trace/**'

'package:unified_analytics':
- changed-files:
- any-glob-to-any-file: 'pkgs/unified_analytics/**'
- any-glob-to-any-file: 'pkgs/unified_analytics/**'
53 changes: 15 additions & 38 deletions .github/workflows/graphs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: package:graphs

permissions: read-all

on:
# Run on PRs and pushes to the default branch.
# Run CI on pushes to the main branch, and on PRs against main.
push:
branches: [ main ]
paths:
Expand All @@ -14,54 +15,30 @@ on:
- '.github/workflows/graphs.yml'
- 'pkgs/graphs/**'
schedule:
- cron: "0 0 * * 0"
- cron: '0 0 * * 0' # weekly

env:
PUB_ENVIRONMENT: bot.github
defaults:
run:
working-directory: pkgs/graphs

jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart beta.
analyze:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/graphs/
strategy:
fail-fast: false
matrix:
sdk: [dev]
sdk: [stable, dev]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
run: dart pub get
- run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'

- run: dart pub get

- run: dart analyze --fatal-infos
if: always() && steps.install.outcome == 'success'

test:
needs: analyze
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: pkgs/graphs/
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
sdk: [3.4, dev]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
with:
sdk: ${{ matrix.sdk }}
- id: install
run: dart pub get
- run: dart test --platform vm
if: always() && steps.install.outcome == 'success'
- run: dart test --platform chrome
if: always() && steps.install.outcome == 'success'
- run: dart format --output=none --set-exit-if-changed .
if: ${{ matrix.sdk == 'stable' }}

- run: dart test
44 changes: 22 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ don't naturally belong to other topic monorepos (like

## Packages

| Package | Description | Version |
| --- | --- | --- |
| [bazel_worker](pkgs/bazel_worker/) | Protocol and utilities to implement or invoke persistent bazel workers. | [![pub package](https://img.shields.io/pub/v/bazel_worker.svg)](https://pub.dev/packages/bazel_worker) |
| [benchmark_harness](pkgs/benchmark_harness/) | The official Dart project benchmark harness. | [![pub package](https://img.shields.io/pub/v/benchmark_harness.svg)](https://pub.dev/packages/benchmark_harness) |
| [boolean_selector](pkgs/boolean_selector/) | A flexible syntax for boolean expressions, based on a simplified version of Dart's expression syntax. | [![pub package](https://img.shields.io/pub/v/boolean_selector.svg)](https://pub.dev/packages/boolean_selector) |
| [browser_launcher](pkgs/browser_launcher/) | Provides a standardized way to launch web browsers for testing and tools. | [![pub package](https://img.shields.io/pub/v/browser_launcher.svg)](https://pub.dev/packages/browser_launcher) |
| [cli_config](pkgs/cli_config/) | A library to take config values from configuration files, CLI arguments, and environment variables. | [![pub package](https://img.shields.io/pub/v/cli_config.svg)](https://pub.dev/packages/cli_config) |
| [cli_util](pkgs/cli_util/) | A library to help in building Dart command-line apps. | [![pub package](https://img.shields.io/pub/v/cli_util.svg)](https://pub.dev/packages/cli_util) |
| [clock](pkgs/clock/) | A fakeable wrapper for dart:core clock APIs. | [![pub package](https://img.shields.io/pub/v/clock.svg)](https://pub.dev/packages/clock) |
| [code_builder](pkgs/code_builder/) | A fluent, builder-based library for generating valid Dart code. | [![pub package](https://img.shields.io/pub/v/code_builder.svg)](https://pub.dev/packages/code_builder) |
| [coverage](pkgs/coverage/) | Coverage data manipulation and formatting. | [![pub package](https://img.shields.io/pub/v/coverage.svg)](https://pub.dev/packages/coverage) |
| [csslib](pkgs/csslib/) | A library for parsing and analyzing CSS (Cascading Style Sheets). | [![pub package](https://img.shields.io/pub/v/csslib.svg)](https://pub.dev/packages/csslib) |
| [extension_discovery](pkgs/extension_discovery/) | A convention and utilities for package extension discovery. | [![pub package](https://img.shields.io/pub/v/extension_discovery.svg)](https://pub.dev/packages/extension_discovery) |
| [file](pkgs/file/) | A pluggable, mockable file system abstraction for Dart. | [![pub package](https://img.shields.io/pub/v/file.svg)](https://pub.dev/packages/file) |
| [file_testing](pkgs/file_testing/) | Testing utilities for package:file (published but unlisted). | [![pub package](https://img.shields.io/pub/v/file_testing.svg)](https://pub.dev/packages/file_testing) |
| [graphs](pkgs/graphs/) | Graph algorithms that operate on graphs in any representation | [![pub package](https://img.shields.io/pub/v/graphs.svg)](https://pub.dev/packages/graphs) |
| [html](pkgs/html/) | APIs for parsing and manipulating HTML content outside the browser. | [![pub package](https://img.shields.io/pub/v/html.svg)](https://pub.dev/packages/html) |
| [json_rpc_2](pkgs/json_rpc_2/) | Utilities to write a client or server using the JSON-RPC 2.0 spec. | [![pub package](https://img.shields.io/pub/v/json_rpc_2.svg)](https://pub.dev/packages/json_rpc_2) |
| [mime](pkgs/mime/) | Utilities for handling media (MIME) types. | [![pub package](https://img.shields.io/pub/v/mime.svg)](https://pub.dev/packages/mime) |
| [oauth2](pkgs/oauth2/) | A client library for authenticatingand making requests via OAuth2. | [![pub package](https://img.shields.io/pub/v/oauth2.svg)](https://pub.dev/packages/oauth2) |
| [source_map_stack_trace](pkgs/source_map_stack_trace/) | A package for applying source maps to stack traces. | [![pub package](https://img.shields.io/pub/v/source_map_stack_trace.svg)](https://pub.dev/packages/source_map_stack_trace) |
| [unified_analytics](pkgs/unified_analytics/) | A package for logging analytics for all Dart and Flutter related tooling to Google Analytics. | [![pub package](https://img.shields.io/pub/v/unified_analytics.svg)](https://pub.dev/packages/unified_analytics) |
| Package | Description | Issues | Version |
| --- | --- | --- | --- |
| [bazel_worker](pkgs/bazel_worker/) | Protocol and utilities to implement or invoke persistent bazel workers. | [![package issues](https://img.shields.io/badge/package:bazel_worker-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Abazel_worker) | [![pub package](https://img.shields.io/pub/v/bazel_worker.svg)](https://pub.dev/packages/bazel_worker) |
| [benchmark_harness](pkgs/benchmark_harness/) | The official Dart project benchmark harness. | [![package issues](https://img.shields.io/badge/package:benchmark_harness-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Abenchmark_harness) | [![pub package](https://img.shields.io/pub/v/benchmark_harness.svg)](https://pub.dev/packages/benchmark_harness) |
| [boolean_selector](pkgs/boolean_selector/) | A flexible syntax for boolean expressions, based on a simplified version of Dart's expression syntax. | [![package issues](https://img.shields.io/badge/package:boolean_selector-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aboolean_selector) | [![pub package](https://img.shields.io/pub/v/boolean_selector.svg)](https://pub.dev/packages/boolean_selector) |
| [browser_launcher](pkgs/browser_launcher/) | Provides a standardized way to launch web browsers for testing and tools. | [![package issues](https://img.shields.io/badge/package:browser_launcher-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Abrowser_launcher) | [![pub package](https://img.shields.io/pub/v/browser_launcher.svg)](https://pub.dev/packages/browser_launcher) |
| [cli_config](pkgs/cli_config/) | A library to take config values from configuration files, CLI arguments, and environment variables. | [![package issues](https://img.shields.io/badge/package:cli_config-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Acli_config) | [![pub package](https://img.shields.io/pub/v/cli_config.svg)](https://pub.dev/packages/cli_config) |
| [cli_util](pkgs/cli_util/) | A library to help in building Dart command-line apps. | [![package issues](https://img.shields.io/badge/package:cli_util-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Acli_util) | [![pub package](https://img.shields.io/pub/v/cli_util.svg)](https://pub.dev/packages/cli_util) |
| [clock](pkgs/clock/) | A fakeable wrapper for dart:core clock APIs. | [![package issues](https://img.shields.io/badge/package:clock-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aclock) | [![pub package](https://img.shields.io/pub/v/clock.svg)](https://pub.dev/packages/clock) |
| [code_builder](pkgs/code_builder/) | A fluent, builder-based library for generating valid Dart code. | [![package issues](https://img.shields.io/badge/package:code_builder-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Acode_builder) | [![pub package](https://img.shields.io/pub/v/code_builder.svg)](https://pub.dev/packages/code_builder) |
| [coverage](pkgs/coverage/) | Coverage data manipulation and formatting | [![package issues](https://img.shields.io/badge/package:coverage-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Acoverage) | [![pub package](https://img.shields.io/pub/v/coverage.svg)](https://pub.dev/packages/coverage) |
| [csslib](pkgs/csslib/) | A library for parsing and analyzing CSS (Cascading Style Sheets). | [![package issues](https://img.shields.io/badge/package:csslib-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Acsslib) | [![pub package](https://img.shields.io/pub/v/csslib.svg)](https://pub.dev/packages/csslib) |
| [extension_discovery](pkgs/extension_discovery/) | A convention and utilities for package extension discovery. | [![package issues](https://img.shields.io/badge/package:extension_discovery-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aextension_discovery) | [![pub package](https://img.shields.io/pub/v/extension_discovery.svg)](https://pub.dev/packages/extension_discovery) |
| [file](pkgs/file/) | A pluggable, mockable file system abstraction for Dart. | [![package issues](https://img.shields.io/badge/package:file-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Afile) | [![pub package](https://img.shields.io/pub/v/file.svg)](https://pub.dev/packages/file) |
| [file_testing](pkgs/file_testing/) | Testing utilities for package:file. | [![package issues](https://img.shields.io/badge/package:file_testing-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Afile_testing) | [![pub package](https://img.shields.io/pub/v/file_testing.svg)](https://pub.dev/packages/file_testing) |
| [graphs](pkgs/graphs/) | Graph algorithms that operate on graphs in any representation. | [![package issues](https://img.shields.io/badge/package:graphs-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Agraphs) | [![pub package](https://img.shields.io/pub/v/graphs.svg)](https://pub.dev/packages/graphs) |
| [html](pkgs/html/) | APIs for parsing and manipulating HTML content outside the browser. | [![package issues](https://img.shields.io/badge/package:html-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahtml) | [![pub package](https://img.shields.io/pub/v/html.svg)](https://pub.dev/packages/html) |
| [json_rpc_2](pkgs/json_rpc_2/) | Utilities to write a client or server using the JSON-RPC 2.0 spec. | [![package issues](https://img.shields.io/badge/package:json_rpc_2-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajson_rpc_2) | [![pub package](https://img.shields.io/pub/v/json_rpc_2.svg)](https://pub.dev/packages/json_rpc_2) |
| [mime](pkgs/mime/) | Utilities for handling media (MIME) types, including determining a type from a file extension and file contents. | [![package issues](https://img.shields.io/badge/package:mime-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Amime) | [![pub package](https://img.shields.io/pub/v/mime.svg)](https://pub.dev/packages/mime) |
| [oauth2](pkgs/oauth2/) | A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials. | [![package issues](https://img.shields.io/badge/package:oauth2-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aoauth2) | [![pub package](https://img.shields.io/pub/v/oauth2.svg)](https://pub.dev/packages/oauth2) |
| [source_map_stack_trace](pkgs/source_map_stack_trace/) | A package for applying source maps to stack traces. | [![package issues](https://img.shields.io/badge/package:source_map_stack_trace-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_map_stack_trace) | [![pub package](https://img.shields.io/pub/v/source_map_stack_trace.svg)](https://pub.dev/packages/source_map_stack_trace) |
| [unified_analytics](pkgs/unified_analytics/) | A package for logging analytics for all Dart and Flutter related tooling to Google Analytics. | [![package issues](https://img.shields.io/badge/package:unified_analytics-4774bc)](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aunified_analytics) | [![pub package](https://img.shields.io/pub/v/unified_analytics.svg)](https://pub.dev/packages/unified_analytics) |

## Publishing automation

Expand Down
1 change: 1 addition & 0 deletions pkgs/bazel_worker/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: 1.1.3-wip
description: >-
Protocol and utilities to implement or invoke persistent bazel workers.
repository: https://github.com/dart-lang/tools/tree/main/pkgs/bazel_worker
issue_tracker: https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Abazel_worker

environment:
sdk: ^3.4.0
Expand Down
Loading

0 comments on commit 0482672

Please sign in to comment.