diff --git a/.github/ISSUE_TEMPLATE/unified_analytics_event.yml b/.github/ISSUE_TEMPLATE/unified_analytics_event.yml index 52c8d8317..6e949cfc0 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 3fc960ee9..cbf17b97a 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 0bb7febf7..6bdbffd66 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 000000000..c710683bc --- /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 ac242eb22..057f24583 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ don't naturally belong to other topic monorepos (like | [extension_discovery](pkgs/extension_discovery/) | A convention and utilities for package extension discovery. | [![issues](https://img.shields.io/badge/issues-4774bc)][extension_discovery_issues] | [![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. | [![issues](https://img.shields.io/badge/issues-4774bc)][file_issues] | [![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. | [![issues](https://img.shields.io/badge/issues-4774bc)][file_testing_issues] | [![pub package](https://img.shields.io/pub/v/file_testing.svg)](https://pub.dev/packages/file_testing) | +| [glob](pkgs/glob/) | A library to perform Bash-style file and directory globbing. | [![issues](https://img.shields.io/badge/issues-4774bc)][glob_issues] | [![pub package](https://img.shields.io/pub/v/glob.svg)](https://pub.dev/packages/glob) | | [graphs](pkgs/graphs/) | Graph algorithms that operate on graphs in any representation. | [![issues](https://img.shields.io/badge/issues-4774bc)][graphs_issues] | [![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. | [![issues](https://img.shields.io/badge/issues-4774bc)][html_issues] | [![pub package](https://img.shields.io/pub/v/html.svg)](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. | [![issues](https://img.shields.io/badge/issues-4774bc)][io_issues] | [![pub package](https://img.shields.io/pub/v/io.svg)](https://pub.dev/packages/io) | @@ -67,6 +68,7 @@ don't naturally belong to other topic monorepos (like [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 bf6b38a4d..000000000 --- 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 1af8f47dc..000000000 --- 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 15a480a9a..000000000 --- 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 7263fc957..a7ca915bf 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 cff2b3293..3f9c0c2a9 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