Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add api tool call for testing #153

Merged
merged 42 commits into from
Sep 28, 2023
Merged

Add api tool call for testing #153

merged 42 commits into from
Sep 28, 2023

Conversation

mosuem
Copy link
Member

@mosuem mosuem commented Aug 29, 2023

Check for breaking changes.


  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

@github-actions github-actions bot added package:firehose type-infra A repository infrastructure change or enhancement labels Aug 29, 2023
@github-actions
Copy link

github-actions bot commented Aug 29, 2023

PR Health

Package publish validation ✔️

Details
Package Version Status
package:firehose 0.3.31 ready to publish
package:dart_flutter_team_lints 2.0.0 already published at pub.dev

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

License Headers ✔️

Details
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
Files
no missing headers

All source files should start with a license header.

Changelog Entry ✔️

Details
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

Coverage ⚠️

Details
File Coverage
pkgs/firehose/bin/health.dart 💔 Not covered
pkgs/firehose/lib/src/health/health.dart 💔 Not covered
pkgs/firehose/lib/src/repo.dart 💚 87 %

This check for test coverage is informational (issues shown here will not fail the PR).

This check can be disabled by tagging the PR with skip-coverage-check

Breaking changes ⚠️

Details
Package Change Current Version New Version Needed Version Looking good?
firehose Breaking 0.3.30 0.3.31 0.4.0 ⚠️
dart_flutter_team_lints None 2.0.0 2.0.0 2.0.0 ✔️

This check can be disabled by tagging the PR with skip-breaking-check

@mosuem mosuem mentioned this pull request Aug 31, 2023
7 tasks
@github-actions
Copy link

Package publishing

Package Version Status Publish tag (post-merge)
package:firehose 0.3.31 ready to publish firehose-v0.3.31
package:dart_flutter_team_lints 2.0.0 already published at pub.dev

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

@mosuem mosuem requested a review from devoncarew September 27, 2023 14:46
@mosuem mosuem marked this pull request as ready for review September 27, 2023 14:47
@@ -1,3 +1,7 @@
## 0.3.31
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just fyi there are a few PRs underway rev'ing firehose -

@@ -92,6 +92,9 @@ jobs:
run: dart pub global activate firehose
if: ${{ !inputs.local_debug }}

- name: Install api_tool
run: dart pub global activate --source git https://github.com/bmw-tech/dart_apitool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I take it that this tool isn't published to pub?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is - the version I want is just not published yet.

);
print('Look for changes in $currentPath with base $basePackage');
var runApiTool = Process.runSync(
'dart-apitool',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps instead 'dart, ['pub', 'global', 'run', 'dart-apitool', ...? It's the same as what you have, just doesn't rely on the pub tools dir being installed into the PATH ...

'diff',
...['--old', basePackage],
...['--new', '.'],
...['--report-format', 'json'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this run finds breaking changes, should we re-run this report in another format and dump the results to stdout?

@mosuem mosuem merged commit bc2dd27 into main Sep 28, 2023
17 checks passed
@mosuem mosuem deleted the apitToolHealth branch September 28, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:firehose type-infra A repository infrastructure change or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants