Fix labels etc
diff --git a/.github/labeler.yml b/.github/labeler.yml index 45c2239..eca80bb 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml
@@ -64,6 +64,10 @@ - changed-files: - any-glob-to-any-file: 'pkgs/html/**' +'package:io': + - changed-files: + - any-glob-to-any-file: 'pkgs/io/**' + 'package:json_rpc_2': - changed-files: - any-glob-to-any-file: 'pkgs/json_rpc_2/**'
diff --git a/pkgs/io/.github/workflows/ci.yml b/.github/workflows/io.yaml similarity index 86% rename from pkgs/io/.github/workflows/ci.yml rename to .github/workflows/io.yaml index 9a785f5..0c719a6 100644 --- a/pkgs/io/.github/workflows/ci.yml +++ b/.github/workflows/io.yaml
@@ -1,17 +1,29 @@ -name: ci +name: package:io on: # Run on PRs and pushes to the default branch. push: - branches: [ master ] + branches: [ main ] + paths: + - '.github/workflows/io.yml' + - 'pkgs/io/**' pull_request: - branches: [ master ] + branches: [ main ] + paths: + - '.github/workflows/io.yml' + - 'pkgs/io/**' schedule: - cron: "0 0 * * 0" env: PUB_ENVIRONMENT: bot.github + +defaults: + run: + working-directory: pkgs/io/ + + jobs: # Check code formatting and static analysis on a single OS (linux) # against Dart dev and stable.
diff --git a/README.md b/README.md index ed90416..50517c3 100644 --- a/README.md +++ b/README.md
@@ -29,6 +29,7 @@ | [file_testing](pkgs/file_testing/) | Testing utilities for package:file. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Afile_testing) | [](https://pub.dev/packages/file_testing) | | [graphs](pkgs/graphs/) | Graph algorithms that operate on graphs in any representation. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Agraphs) | [](https://pub.dev/packages/graphs) | | [html](pkgs/html/) | APIs for parsing and manipulating HTML content outside the browser. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahtml) | [](https://pub.dev/packages/html) | +| [io](pkgs/io/) | Utilities for the Dart VM Runtime including support for ANSI colors, file copying, and standard exit code values. | [](https://pub.dev/packages/io) | | [json_rpc_2](pkgs/json_rpc_2/) | Utilities to write a client or server using the JSON-RPC 2.0 spec. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajson_rpc_2) | [](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. | [](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) |
diff --git a/pkgs/io/.github/dependabot.yml b/pkgs/io/.github/dependabot.yml deleted file mode 100644 index cde02ad..0000000 --- a/pkgs/io/.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/io/.github/workflows/no-response.yml b/pkgs/io/.github/workflows/no-response.yml deleted file mode 100644 index ab1ac49..0000000 --- a/pkgs/io/.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/io/.github/workflows/publish.yaml b/pkgs/io/.github/workflows/publish.yaml deleted file mode 100644 index fcb7ccb..0000000 --- a/pkgs/io/.github/workflows/publish.yaml +++ /dev/null
@@ -1,14 +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
diff --git a/pkgs/io/CHANGELOG.md b/pkgs/io/CHANGELOG.md index 62c0076..e0631fa 100644 --- a/pkgs/io/CHANGELOG.md +++ b/pkgs/io/CHANGELOG.md
@@ -1,6 +1,7 @@ -## 1.0.5-wip +## 1.0.5 * Require Dart 3.4. +* Move to `dart-lang/tools` monorepo. ## 1.0.4
diff --git a/pkgs/io/README.md b/pkgs/io/README.md index 3f199d5..adbc941 100644 --- a/pkgs/io/README.md +++ b/pkgs/io/README.md
@@ -1,4 +1,4 @@ -[](https://github.com/dart-lang/io/actions?query=branch%3Amaster) +[](https://github.com/dart-lang/tools/actions/workflows/io.yaml) [](https://pub.dev/packages/io) [](https://pub.dev/packages/io/publisher)
diff --git a/pkgs/io/pubspec.yaml b/pkgs/io/pubspec.yaml index c7ec99f1..7e00d99 100644 --- a/pkgs/io/pubspec.yaml +++ b/pkgs/io/pubspec.yaml
@@ -2,7 +2,7 @@ description: >- Utilities for the Dart VM Runtime including support for ANSI colors, file copying, and standard exit code values. -version: 1.0.5-wip +version: 1.0.5 repository: https://github.com/dart-lang/tools/tree/main/pkgs/io environment: