blast_repo fixes (#139)
auto-publish
no-response
* changelog tweaks
diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml
new file mode 100644
index 0000000..ac3e456
--- /dev/null
+++ b/.github/workflows/no-response.yml
@@ -0,0 +1,34 @@
+# A workflow to close issues where the author hasn't responded to a request for
+# more information; see https://github.com/godofredoc/no-response for docs.
+
+name: No Response
+
+# Both `issue_comment` and `scheduled` event types are required.
+on:
+ issue_comment:
+ types: [created]
+ schedule:
+ # Every day at 8am
+ - cron: '0 8 * * *'
+
+# All permissions not specified are set to 'none'.
+permissions:
+ issues: write
+
+jobs:
+ noResponse:
+ runs-on: ubuntu-latest
+ if: ${{ github.repository_owner == 'dart-lang' }}
+ steps:
+ - uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
+ with:
+ responseRequiredLabel: "needs-info"
+ responseRequiredColor: 4774bc
+ daysUntilClose: 14
+ # Comment to post when closing an Issue for lack of response.
+ closeComment: >
+ Without additional information we're not able to resolve this issue,
+ so it will be closed at this time. You're still free to add more
+ info and respond to any questions above, though. We'll reopen the
+ issue if you do. Thanks for your contribution!
+ token: ${{ github.token }}
diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
new file mode 100644
index 0000000..2239b63
--- /dev/null
+++ b/.github/workflows/publish.yaml
@@ -0,0 +1,14 @@
+# 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/CHANGELOG.md b/CHANGELOG.md
index 1271b63..c8aa266 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,63 +1,59 @@
-# 1.0.3-dev
+## 1.0.3-dev
- Require Dart SDK >= 2.19
-# 1.0.2
+## 1.0.2
- Require Dart SDK >= 2.14
- Ensure `DirectoryWatcher.ready` completes even when errors occur that close the watcher.
- Add markdown badges to the readme.
-# 1.0.1
+## 1.0.1
* Drop package:pedantic and use package:lints instead.
-# 1.0.0
+## 1.0.0
-* Stable null safety release.
-
-# 1.0.0-nullsafety.0
-
-* Migrate to null safety.
+* Require Dart SDK >= 2.12
* Add the ability to create custom Watcher types for specific file paths.
-# 0.9.7+15
+## 0.9.7+15
* Fix a bug on Mac where modifying a directory with a path exactly matching a
prefix of a modified file would suppress change events for that file.
-# 0.9.7+14
+## 0.9.7+14
* Prepare for breaking change in SDK where modified times for not found files
becomes meaningless instead of null.
-# 0.9.7+13
+## 0.9.7+13
* Catch & forward `FileSystemException` from unexpectedly closed file watchers
on windows; the watcher will also be automatically restarted when this occurs.
-# 0.9.7+12
+## 0.9.7+12
* Catch `FileSystemException` during `existsSync()` on Windows.
* Internal cleanup.
-# 0.9.7+11
+## 0.9.7+11
* Fix an analysis hint.
-# 0.9.7+10
+## 0.9.7+10
* Set max SDK version to `<3.0.0`, and adjust other dependencies.
-# 0.9.7+9
+## 0.9.7+9
* Internal changes only.
-# 0.9.7+8
+## 0.9.7+8
* Fix Dart 2.0 type issues on Mac and Windows.
-# 0.9.7+7
+## 0.9.7+7
* Updates to support Dart 2.0 core library changes (wave 2.2).
See [issue 31847][sdk#31847] for details.
@@ -65,37 +61,37 @@
[sdk#31847]: https://github.com/dart-lang/sdk/issues/31847
-# 0.9.7+6
+## 0.9.7+6
* Internal changes only, namely removing dep on scheduled test.
-# 0.9.7+5
+## 0.9.7+5
* Fix an analysis warning.
-# 0.9.7+4
+## 0.9.7+4
* Declare support for `async` 2.0.0.
-# 0.9.7+3
+## 0.9.7+3
* Fix a crashing bug on Linux.
-# 0.9.7+2
+## 0.9.7+2
* Narrow the constraint on `async` to reflect the APIs this package is actually
using.
-# 0.9.7+1
+## 0.9.7+1
* Fix all strong-mode warnings.
-# 0.9.7
+## 0.9.7
* Fix a bug in `FileWatcher` where events could be added after watchers were
closed.
-# 0.9.6
+## 0.9.6
* Add a `Watcher` interface that encompasses watching both files and
directories.
@@ -105,16 +101,16 @@
* Deprecate `DirectoryWatcher.directory`. Use `DirectoryWatcher.path` instead.
-# 0.9.5
+## 0.9.5
* Fix bugs where events could be added after watchers were closed.
-# 0.9.4
+## 0.9.4
* Treat add events for known files as modifications instead of discarding them
on Mac OS.
-# 0.9.3
+## 0.9.3
* Improved support for Windows via `WindowsDirectoryWatcher`.