Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Add and use --quiet flag on the license checker#22485

Merged
fluttergithubbot merged 1 commit intoflutter:masterfrom
filmil:quiet-license
Nov 20, 2020
Merged

Add and use --quiet flag on the license checker#22485
fluttergithubbot merged 1 commit intoflutter:masterfrom
filmil:quiet-license

Conversation

@filmil
Copy link
Contributor

@filmil filmil commented Nov 13, 2020

Description

The license checker output looks particularly bad on CI by
default, as it prints thousands of lines of output for files
that do not need licensing attention.

This change introduces a flag '--quiet' which instructs the license
checker to print a dot per each examined file instead of the full
progress bar.

It also starts using the flag on CI immediately, since it seems
to reduce the visual clutter.

Manual invocations can get the verbose output like so:

env VERBOSE=1 ./ci/licenses.sh

Issue: flutter/flutter#70411

Related Issues

Tests

Tested manually.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the contributor guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the C++, Objective-C, Java style guides for the engine.
  • I read the tree hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation.
  • All existing and new tests are passing.
  • I am willing to follow-up on review comments in a timely manner.

Reviewer Checklist

Breaking Change

Did any tests fail when you ran them? Please read handling breaking changes.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@google-cla google-cla bot added the cla: yes label Nov 13, 2020
Copy link
Contributor

@chinmaygarde chinmaygarde left a comment

Choose a reason for hiding this comment

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

Thanks. The presubmits are failing because the license checker itself was updated and the signature needs to be updated too.

@filmil filmil force-pushed the quiet-license branch 2 times, most recently from a1d53bf to e32ca05 Compare November 19, 2020 23:41
@filmil
Copy link
Contributor Author

filmil commented Nov 19, 2020

@chinmaygarde I updated the tool signature to match, now running presubmits.
I'd appreciate merging when possible / able, since I can't do that.

The license checker output looks particularly bad on CI by
default, as it prints thousands of lines of output for files
that do *not* need licensing attention.

This change introduces a flag '--quiet' which instructs the license
checker to print a dot per each examined file instead of the full
progress bar.

It also starts using the flag on CI immediately, since it seems
to reduce the visual clutter.

Manual invocations can get the verbose output like so:

    env VERBOSE=1 ./ci/licenses.sh

Issue: flutter/flutter#70411
@filmil
Copy link
Contributor Author

filmil commented Nov 20, 2020

@chinmaygarde PTAL for merging --- the build seems broken now, but I had a successful run on this particular commit earlier. Thanks!

@filmil
Copy link
Contributor Author

filmil commented Nov 20, 2020

@chinmaygarde PTAL for merge, all green now.

@chinmaygarde chinmaygarde added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Nov 20, 2020
@fluttergithubbot fluttergithubbot merged commit ee0b5cb into flutter:master Nov 20, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 24, 2020
chaselatta pushed a commit to chaselatta/engine that referenced this pull request Nov 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants