update glob infra and readme post merge
diff --git a/.github/ISSUE_TEMPLATE/unified_analytics_event.yml b/.github/ISSUE_TEMPLATE/unified_analytics_event.yml index 52c8d83..6e949cf 100644 --- a/.github/ISSUE_TEMPLATE/unified_analytics_event.yml +++ b/.github/ISSUE_TEMPLATE/unified_analytics_event.yml
@@ -1,6 +1,7 @@ name: "package:unified_analytics - request a new event" description: "Create a request for collecting a new event or new event data." -labels: "package:unified_analytics" +labels: + - "package:unified_analytics" body: - type: markdown attributes:
diff --git a/.github/ISSUE_TEMPLATE/unified_analytics_user_property.yml b/.github/ISSUE_TEMPLATE/unified_analytics_user_property.yml index 3fc960e..cbf17b9 100644 --- a/.github/ISSUE_TEMPLATE/unified_analytics_user_property.yml +++ b/.github/ISSUE_TEMPLATE/unified_analytics_user_property.yml
@@ -1,6 +1,7 @@ name: "package:unified_analytics - request a new user property" description: "Create a request for collecting a new user property." -labels: "package:unified_analytics" +labels: + - "package:unified_analytics" body: - type: markdown attributes:
diff --git a/.github/labeler.yml b/.github/labeler.yml index 0bb7feb..6bdbffd 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml
@@ -56,6 +56,10 @@ - changed-files: - any-glob-to-any-file: 'pkgs/file_testing/**' +'package:glob': + - changed-files: + - any-glob-to-any-file: 'pkgs/glob/**' + 'package:graphs': - changed-files: - any-glob-to-any-file: 'pkgs/graphs/**'
diff --git a/.github/workflows/glob.yaml b/.github/workflows/glob.yaml new file mode 100644 index 0000000..c710683 --- /dev/null +++ b/.github/workflows/glob.yaml
@@ -0,0 +1,39 @@ +name: package:glob + +permissions: read-all + +on: + # Run CI on all PRs (against any branch) and on pushes to the main branch. + pull_request: + paths: + - '.github/workflows/glob.yaml' + - 'pkgs/grglobaphs/**' + push: + branches: [ main ] + paths: + - '.github/workflows/glob.yaml' + - 'pkgs/glob/**' + schedule: + - cron: '0 0 * * 0' # weekly + +defaults: + run: + working-directory: pkgs/glob + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + sdk: [stable, dev] + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + - uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 + with: + sdk: ${{ matrix.sdk }} + - run: dart pub get + - run: dart analyze --fatal-infos + - run: dart format --output=none --set-exit-if-changed . + if: ${{ matrix.sdk == 'stable' }} + - run: dart test
diff --git a/README.md b/README.md index ac242eb..057f245 100644 --- a/README.md +++ b/README.md
@@ -27,6 +27,7 @@ | [extension_discovery](pkgs/extension_discovery/) | A convention and utilities for package extension discovery. | [][extension_discovery_issues] | [](https://pub.dev/packages/extension_discovery) | | [file](pkgs/file/) | A pluggable, mockable file system abstraction for Dart. | [][file_issues] | [](https://pub.dev/packages/file) | | [file_testing](pkgs/file_testing/) | Testing utilities for package:file. | [][file_testing_issues] | [](https://pub.dev/packages/file_testing) | +| [glob](pkgs/glob/) | A library to perform Bash-style file and directory globbing. | [][glob_issues] | [](https://pub.dev/packages/glob) | | [graphs](pkgs/graphs/) | Graph algorithms that operate on graphs in any representation. | [][graphs_issues] | [](https://pub.dev/packages/graphs) | | [html](pkgs/html/) | APIs for parsing and manipulating HTML content outside the browser. | [][html_issues] | [](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. | [][io_issues] | [](https://pub.dev/packages/io) | @@ -67,6 +68,7 @@ [extension_discovery_issues]: https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aextension_discovery [file_issues]: https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Afile [file_testing_issues]: https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Afile_testing +[glob_issues]: https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aglob [graphs_issues]: https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Agraphs [html_issues]: https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ahtml [io_issues]: https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aio
diff --git a/pkgs/glob/.github/dependabot.yml b/pkgs/glob/.github/dependabot.yml deleted file mode 100644 index bf6b38a..0000000 --- a/pkgs/glob/.github/dependabot.yml +++ /dev/null
@@ -1,14 +0,0 @@ -# Dependabot configuration file. -version: 2 - -updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: monthly - labels: - - autosubmit - groups: - github-actions: - patterns: - - "*"
diff --git a/pkgs/glob/.github/workflows/publish.yml b/pkgs/glob/.github/workflows/publish.yml deleted file mode 100644 index 1af8f47..0000000 --- a/pkgs/glob/.github/workflows/publish.yml +++ /dev/null
@@ -1,17 +0,0 @@ -# A CI configuration to auto-publish pub packages. - -name: Publish - -on: - pull_request: - branches: [ master ] - types: [opened, synchronize, reopened, labeled, unlabeled] - 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 - with: - sdk: dev
diff --git a/pkgs/glob/.github/workflows/test-package.yml b/pkgs/glob/.github/workflows/test-package.yml deleted file mode 100644 index 15a480a..0000000 --- a/pkgs/glob/.github/workflows/test-package.yml +++ /dev/null
@@ -1,72 +0,0 @@ -name: Dart CI - -on: - # Run on PRs and pushes to the default branch. - push: - branches: [ master ] - pull_request: - branches: [ master ] - schedule: - - cron: "0 0 * * 0" - -permissions: read-all - -env: - PUB_ENVIRONMENT: bot.github - -jobs: - # Check code formatting and static analysis on a single OS (linux) - # against Dart dev. - analyze: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - sdk: [dev] - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 - with: - channel: ${{ matrix.sdk }} - - id: install - name: Install dependencies - run: dart pub get - - name: Check formatting - run: dart format --output=none --set-exit-if-changed . - if: always() && steps.install.outcome == 'success' - - name: Analyze code - run: dart analyze --fatal-infos - if: always() && steps.install.outcome == 'success' - - # Run tests on a matrix consisting of two dimensions: - # 1. OS: ubuntu-latest, (macos-latest, windows-latest) - # 2. release channel: dev - test: - needs: analyze - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - # Add macos-latest and/or windows-latest if relevant for this package. - os: [ubuntu-latest] - sdk: [3.3, dev] - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 - with: - channel: ${{ matrix.sdk }} - - id: install - name: Install dependencies - run: dart pub get - - name: Run VM tests - run: dart test --platform vm - if: always() && steps.install.outcome == 'success' - - name: Run Chrome tests - run: dart test --platform chrome - if: always() && steps.install.outcome == 'success' - - name: Run Node tests - run: dart test --platform node - if: always() && steps.install.outcome == 'success' - - name: Run Chrome tests - wasm - run: dart test --platform chrome --compiler dart2wasm - if: always() && steps.install.outcome == 'success' && matrix.sdk == 'dev'
diff --git a/pkgs/glob/CHANGELOG.md b/pkgs/glob/CHANGELOG.md index 7263fc9..a7ca915 100644 --- a/pkgs/glob/CHANGELOG.md +++ b/pkgs/glob/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/glob/pubspec.yaml b/pkgs/glob/pubspec.yaml index cff2b32..3f9c0c2 100644 --- a/pkgs/glob/pubspec.yaml +++ b/pkgs/glob/pubspec.yaml
@@ -1,5 +1,5 @@ name: glob -version: 2.1.3-wip +version: 2.1.3 description: A library to perform Bash-style file and directory globbing. repository: https://github.com/dart-lang/tools/tree/main/pkgs/glob