merge fixes
diff --git a/.github/labeler.yml b/.github/labeler.yml
index eca80bb..ea9baeb 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -84,6 +84,10 @@
- changed-files:
- any-glob-to-any-file: 'pkgs/source_map_stack_trace/**'
+'package:stream_channel':
+ - changed-files:
+ - any-glob-to-any-file: 'pkgs/stream_channel/**'
+
'package:unified_analytics':
- changed-files:
- any-glob-to-any-file: 'pkgs/unified_analytics/**'
diff --git a/pkgs/stream_channel/.github/workflows/test-package.yml b/.github/workflows/stream_channel.yaml
similarity index 84%
rename from pkgs/stream_channel/.github/workflows/test-package.yml
rename to .github/workflows/stream_channel.yaml
index c70b745..c39424d 100644
--- a/pkgs/stream_channel/.github/workflows/test-package.yml
+++ b/.github/workflows/stream_channel.yaml
@@ -1,17 +1,27 @@
-name: Dart CI
+name: package:stream_channel
on:
# Run on PRs and pushes to the default branch.
push:
- branches: [ master ]
+ branches: [ main ]
+ paths:
+ - '.github/workflows/stream_channel.yaml'
+ - 'pkgs/stream_channel/**'
pull_request:
- branches: [ master ]
+ branches: [ main ]
+ paths:
+ - '.github/workflows/stream_channel.yaml'
+ - 'pkgs/stream_channel/**'
schedule:
- cron: "0 0 * * 0"
env:
PUB_ENVIRONMENT: bot.github
+defaults:
+ run:
+ working-directory: pkgs/stream_channel/
+
jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
diff --git a/README.md b/README.md
index 50517c3..495f0ea 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@
| [mime](pkgs/mime/) | Utilities for handling media (MIME) types, including determining a type from a file extension and file contents. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Amime) | [](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. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aoauth2) | [](https://pub.dev/packages/oauth2) |
| [source_map_stack_trace](pkgs/source_map_stack_trace/) | A package for applying source maps to stack traces. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_map_stack_trace) | [](https://pub.dev/packages/source_map_stack_trace) |
+| [stream_channel](pkgs/stream_channel/) | An abstraction for two-way communication channels based on the Dart Stream class. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Astream_channel) | [](https://pub.dev/packages/stream_channel) |
| [unified_analytics](pkgs/unified_analytics/) | A package for logging analytics for all Dart and Flutter related tooling to Google Analytics. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aunified_analytics) | [](https://pub.dev/packages/unified_analytics) |
## Publishing automation
diff --git a/pkgs/stream_channel/.github/dependabot.yml b/pkgs/stream_channel/.github/dependabot.yml
deleted file mode 100644
index cde02ad..0000000
--- a/pkgs/stream_channel/.github/dependabot.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-# Dependabot configuration file.
-# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
-version: 2
-
-updates:
- - package-ecosystem: github-actions
- directory: /
- schedule:
- interval: monthly
- labels:
- - autosubmit
- groups:
- github-actions:
- patterns:
- - "*"
diff --git a/pkgs/stream_channel/.github/workflows/no-response.yml b/pkgs/stream_channel/.github/workflows/no-response.yml
deleted file mode 100644
index ab1ac49..0000000
--- a/pkgs/stream_channel/.github/workflows/no-response.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-# A workflow to close issues where the author hasn't responded to a request for
-# more information; see https://github.com/actions/stale.
-
-name: No Response
-
-# Run as a daily cron.
-on:
- schedule:
- # Every day at 8am
- - cron: '0 8 * * *'
-
-# All permissions not specified are set to 'none'.
-permissions:
- issues: write
- pull-requests: write
-
-jobs:
- no-response:
- runs-on: ubuntu-latest
- if: ${{ github.repository_owner == 'dart-lang' }}
- steps:
- - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
- with:
- # Don't automatically mark inactive issues+PRs as stale.
- days-before-stale: -1
- # Close needs-info issues and PRs after 14 days of inactivity.
- days-before-close: 14
- stale-issue-label: "needs-info"
- close-issue-message: >
- Without additional information we're not able to resolve this issue.
- Feel free to add more info or respond to any questions above and we
- can reopen the case. Thanks for your contribution!
- stale-pr-label: "needs-info"
- close-pr-message: >
- Without additional information we're not able to resolve this PR.
- Feel free to add more info or respond to any questions above.
- Thanks for your contribution!
diff --git a/pkgs/stream_channel/.github/workflows/publish.yaml b/pkgs/stream_channel/.github/workflows/publish.yaml
deleted file mode 100644
index 27157a0..0000000
--- a/pkgs/stream_channel/.github/workflows/publish.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-# A CI configuration to auto-publish pub packages.
-
-name: Publish
-
-on:
- pull_request:
- branches: [ master ]
- push:
- tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
-
-jobs:
- publish:
- if: ${{ github.repository_owner == 'dart-lang' }}
- uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
- permissions:
- id-token: write # Required for authentication using OIDC
- pull-requests: write # Required for writing the pull request note
diff --git a/pkgs/stream_channel/CHANGELOG.md b/pkgs/stream_channel/CHANGELOG.md
index 4b8e2b5..30f7d32 100644
--- a/pkgs/stream_channel/CHANGELOG.md
+++ b/pkgs/stream_channel/CHANGELOG.md
@@ -1,6 +1,7 @@
-## 2.1.3-wip
+## 2.1.3
* Require Dart 3.3
+* Move to `dart-lang/tools` monorepo.
## 2.1.2
diff --git a/pkgs/stream_channel/README.md b/pkgs/stream_channel/README.md
index ae1ea21..3677ccf 100644
--- a/pkgs/stream_channel/README.md
+++ b/pkgs/stream_channel/README.md
@@ -1,4 +1,4 @@
-[](https://github.com/dart-lang/stream_channel/actions/workflows/test-package.yml)
+[](https://github.com/dart-lang/tools/actions/workflows/stream_channel.yaml)
[](https://pub.dev/packages/stream_channel)
[](https://pub.dev/packages/stream_channel/publisher)
diff --git a/pkgs/stream_channel/pubspec.yaml b/pkgs/stream_channel/pubspec.yaml
index c1b8e1f..eec8c1b 100644
--- a/pkgs/stream_channel/pubspec.yaml
+++ b/pkgs/stream_channel/pubspec.yaml
@@ -1,5 +1,5 @@
name: stream_channel
-version: 2.1.3-wip
+version: 2.1.3
description: >-
An abstraction for two-way communication channels based on the Dart Stream
class.