Skip to content

Commit 3d06648

Browse files
committed
add direct links to the package issue trackers
1 parent 2eb031a commit 3d06648

File tree

12 files changed

+72
-115
lines changed

12 files changed

+72
-115
lines changed

.github/ISSUE_TEMPLATE/appengine.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
name: "package:appengine"
3+
about: "Create a bug or file a feature request against package:appengine."
4+
labels: "package:appengine"
5+
---

.github/ISSUE_TEMPLATE/gcloud.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/labeler.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
'type-infra':
44
- changed-files:
5-
- any-glob-to-any-file: '.github/**'
5+
- any-glob-to-any-file: '.github/**'
66

77
'package:appengine':
88
- changed-files:
9-
- any-glob-to-any-file: 'pkgs/appengine/**'
9+
- any-glob-to-any-file: 'pkgs/appengine/**'
1010

1111
'package:gcloud':
1212
- changed-files:
13-
- any-glob-to-any-file: 'pkgs/gcloud/**'
13+
- any-glob-to-any-file: 'pkgs/gcloud/**'
1414

1515
'package:native_synchronization':
1616
- changed-files:
17-
- any-glob-to-any-file: 'pkgs/native_synchronization/**'
17+
- any-glob-to-any-file: 'pkgs/native_synchronization/**'

.github/workflows/appengine.yml

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,45 @@
11
name: package:appengine
2+
23
permissions: read-all
34

45
on:
5-
pull_request:
6+
# Run CI on pushes to the main branch, and on PRs against main.
7+
push:
68
branches: [ main ]
79
paths:
810
- '.github/workflows/appengine.yml'
911
- 'pkgs/appengine/**'
10-
push:
12+
pull_request:
1113
branches: [ main ]
1214
paths:
1315
- '.github/workflows/appengine.yml'
1416
- 'pkgs/appengine/**'
1517
schedule:
1618
- cron: '0 0 * * 0' # weekly
1719

20+
defaults:
21+
run:
22+
working-directory: pkgs/appengine
23+
1824
jobs:
1925
build:
2026
runs-on: ubuntu-latest
21-
defaults:
22-
run:
23-
working-directory: pkgs/appengine
24-
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
sdk: [stable, dev]
2531
steps:
2632
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2733
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
34+
with:
35+
sdk: ${{ matrix.sdk }}
2836

29-
- name: Install dependencies
30-
run: dart pub get
31-
32-
# Disabled - this would format ~492 files.
33-
# - name: Verify formatting
34-
# run: dart format --output=none --set-exit-if-changed .
37+
- run: dart pub get
3538

36-
- name: Analyze project source
37-
run: dart analyze --fatal-infos
39+
- run: dart analyze --fatal-infos
40+
41+
# Disabled - this would format ~492 files.
42+
# - run: dart format --output=none --set-exit-if-changed .
43+
# if: ${{ matrix.sdk == 'stable' }}
3844

39-
- name: Run tests
40-
run: dart test
45+
- run: dart test

.github/workflows/gcloud.yml

Lines changed: 17 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,44 @@
11
name: package:gcloud
2+
23
permissions: read-all
34

45
on:
5-
pull_request:
6+
# Run CI on pushes to the main branch, and on PRs against main.
7+
push:
68
branches: [ main ]
79
paths:
810
- '.github/workflows/gcloud.yml'
911
- 'pkgs/gcloud/**'
10-
push:
12+
pull_request:
1113
branches: [ main ]
1214
paths:
1315
- '.github/workflows/gcloud.yml'
1416
- 'pkgs/gcloud/**'
1517
schedule:
1618
- cron: '0 0 * * 0' # weekly
1719

18-
env:
19-
PUB_ENVIRONMENT: bot.github
20+
defaults:
21+
run:
22+
working-directory: pkgs/gcloud
2023

2124
jobs:
22-
# Check code formatting and static analysis on a single OS (linux)
23-
# against Dart dev.
24-
analyze:
25+
build:
2526
runs-on: ubuntu-latest
26-
defaults:
27-
run:
28-
working-directory: pkgs/gcloud
2927
strategy:
3028
fail-fast: false
3129
matrix:
32-
sdk: [dev]
30+
sdk: [stable, dev]
3331
steps:
3432
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
3533
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
3634
with:
3735
sdk: ${{ matrix.sdk }}
38-
- id: install
39-
name: Install dependencies
40-
run: dart pub get
41-
- name: Check formatting
42-
run: dart format --output=none --set-exit-if-changed .
43-
if: always() && steps.install.outcome == 'success'
44-
- name: Analyze code
45-
run: dart analyze --fatal-infos
46-
if: always() && steps.install.outcome == 'success'
4736

48-
# Run tests on a matrix consisting of two dimensions:
49-
# 1. OS: ubuntu-latest, (macos-latest, windows-latest)
50-
# 2. release channel: dev
51-
test:
52-
needs: analyze
53-
runs-on: ${{ matrix.os }}
54-
defaults:
55-
run:
56-
working-directory: pkgs/gcloud
57-
strategy:
58-
fail-fast: false
59-
matrix:
60-
# Add macos-latest and/or windows-latest if relevant for this package.
61-
os: [ubuntu-latest]
62-
sdk: [3.0.0, dev]
63-
steps:
64-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
65-
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
66-
with:
67-
sdk: ${{ matrix.sdk }}
68-
- id: install
69-
name: Install dependencies
70-
run: dart pub get
71-
- name: Run VM tests
72-
run: dart test --platform vm -P ci
73-
if: always() && steps.install.outcome == 'success'
37+
- run: dart pub get
38+
39+
- run: dart analyze --fatal-infos
40+
41+
- run: dart format --output=none --set-exit-if-changed .
42+
if: ${{ matrix.sdk == 'stable' }}
43+
44+
- run: dart test
Lines changed: 17 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,44 @@
11
name: package:native_synchronization
2+
23
permissions: read-all
34

45
on:
5-
pull_request:
6+
# Run CI on pushes to the main branch, and on PRs against main.
7+
push:
68
branches: [ main ]
79
paths:
810
- '.github/workflows/native_synchronization.yml'
911
- 'pkgs/native_synchronization/**'
10-
push:
12+
pull_request:
1113
branches: [ main ]
1214
paths:
1315
- '.github/workflows/native_synchronization.yml'
1416
- 'pkgs/native_synchronization/**'
1517
schedule:
1618
- cron: '0 0 * * 0' # weekly
1719

20+
defaults:
21+
run:
22+
working-directory: pkgs/native_synchronization
23+
1824
jobs:
19-
analyze:
20-
runs-on: ${{ matrix.os }}
21-
defaults:
22-
run:
23-
working-directory: pkgs/native_synchronization
25+
build:
26+
runs-on: ubuntu-latest
2427
strategy:
28+
fail-fast: false
2529
matrix:
26-
os: [ubuntu-latest]
27-
sdk: [dev, stable]
28-
30+
sdk: [stable, dev]
2931
steps:
30-
# These are the latest versions of the github actions; dependabot will
31-
# send PRs to keep these up-to-date.
3232
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
3333
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
3434
with:
3535
sdk: ${{ matrix.sdk }}
3636

37-
- name: Install dependencies
38-
run: dart pub get
39-
40-
- name: Verify formatting
41-
run: dart format --output=none --set-exit-if-changed .
37+
- run: dart pub get
4238

43-
- name: Analyze project source
44-
run: dart analyze --fatal-infos
45-
46-
test:
47-
needs: analyze
48-
runs-on: ${{ matrix.os }}
49-
defaults:
50-
run:
51-
working-directory: pkgs/native_synchronization
52-
strategy:
53-
matrix:
54-
os: [ubuntu-latest, macos-latest, windows-latest]
55-
sdk: [dev, stable]
56-
steps:
57-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
58-
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672
59-
with:
60-
sdk: ${{ matrix.sdk }}
39+
- run: dart analyze --fatal-infos
6140

62-
- name: Install dependencies
63-
run: dart pub get
41+
- run: dart format --output=none --set-exit-if-changed .
42+
if: ${{ matrix.sdk == 'stable' }}
6443

65-
- name: Run tests
66-
run: dart test
44+
- run: dart test

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ This repository is home to various Dart packages under the
55

66
## Packages
77

8-
| Package | Description | Version |
9-
|---|---|---|
10-
| [appengine](pkgs/appengine/) | Support for using Dart as a custom runtime on Google App Engine Flexible Environment. | [![pub package](https://img.shields.io/pub/v/appengine.svg)](https://pub.dev/packages/appengine) |
11-
| [gcloud](pkgs/gcloud/) | High level idiomatic Dart API for Google Cloud Storage, Pub-Sub and Datastore. | [![pub package](https://img.shields.io/pub/v/gcloud.svg)](https://pub.dev/packages/gcloud) |
12-
| [native_synchronization](pkgs/native_synchronization/) | Low level synchronization primitives built on dart:ffi. | [![pub package](https://img.shields.io/pub/v/native_synchronization.svg)](https://pub.dev/packages/native_synchronization) |
8+
| Package | Description | Issues | Version |
9+
| --- | --- | --- | --- |
10+
| [appengine](pkgs/appengine/) | Support for using Dart as a custom runtime on Google App Engine Flexible Environment. | [![package issues](https://img.shields.io/badge/package:appengine-4774bc)](null) | [![pub package](https://img.shields.io/pub/v/appengine.svg)](https://pub.dev/packages/appengine) |
11+
| [gcloud](pkgs/gcloud/) | High level idiomatic Dart API for Google Cloud Storage, Pub-Sub and Datastore. | [![package issues](https://img.shields.io/badge/package:gcloud-4774bc)](null) | [![pub package](https://img.shields.io/pub/v/gcloud.svg)](https://pub.dev/packages/gcloud) |
12+
| [native_synchronization](pkgs/native_synchronization/) | Low level synchronization primitives built on dart:ffi. | [![package issues](https://img.shields.io/badge/package:native_synchronization-4774bc)](null) | [![pub package](https://img.shields.io/pub/v/native_synchronization.svg)](https://pub.dev/packages/native_synchronization) |
1313

1414
## Publishing automation
1515

pkgs/appengine/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: >-
44
Support for using Dart as a custom runtime on Google App Engine Flexible
55
Environment.
66
repository: https://github.com/dart-lang/labs/tree/main/pkgs/appengine
7+
issue_tracker: https://github.com/dart-lang/labs/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aappengine
78

89
topics:
910
- cloud

pkgs/gcloud/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version: 0.8.16
33
description: >-
44
High level idiomatic Dart API for Google Cloud Storage, Pub-Sub and Datastore.
55
repository: https://github.com/dart-lang/labs/tree/main/pkgs/gcloud
6+
issue_tracker: https://github.com/dart-lang/labs/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Agcloud
67

78
topics:
89
- cloud

pkgs/native_synchronization/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: native_synchronization
22
description: Low level synchronization primitives built on dart:ffi.
33
version: 0.3.1
44
repository: https://github.com/dart-lang/labs/tree/main/pkgs/native_synchronization
5+
issue_tracker: https://github.com/dart-lang/labs/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Anative_synchronization
56

67
environment:
78
sdk: ">=3.0.0 <4.0.0"

0 commit comments

Comments
 (0)