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

Conversation

@bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Jul 25, 2019

Checks that all plugins correctly contains licenses.
This check enforces the following rules:

  1. Every plugin must contain a LICENSE file in root directory.
  2. Every LICENSE file must contain the copyright license with 'Flutter' or 'Chromium' as the author.
  3. All source code files must contain a license header at the top.
  4. The license header for every source code file must contain the same author as the LICENSE file in the plugin's root directory.

Submitting this despite ipa tests continue to timeout. This will be reverted if it doesn't pass the general test after submission.

Copy link
Contributor

@cyanglaz cyanglaz left a comment

Choose a reason for hiding this comment

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

Some places we use 'Chromium authors' and some we use 'Flutter authors', are there any differences? Should they be consistent?

(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
aFileChooser
Copy link
Contributor

Choose a reason for hiding this comment

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

This is required as image picker is using the aFileChooser which uses apatch license.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea it has to match the author name in the plugin LICENSE file. I added more info to the PR description.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I also didn't mean to change this file. I had to update my script :)

@bparrishMines bparrishMines requested a review from Hixie July 25, 2019 22:54
@Hixie
Copy link
Contributor

Hixie commented Jul 26, 2019

does this add a test to enforce it?

@bparrishMines
Copy link
Contributor Author

@Hixie Yes, I created this PR that adds a command line tool that will enforce it and can automatically add them to your files: https://github.com/flutter/plugin_tools/pull/48

@amirh
Copy link
Contributor

amirh commented Jul 26, 2019

Please update the PR description to reflect what this PR is doing (add/update licenses)

Copy link
Contributor

@amirh amirh left a comment

Choose a reason for hiding this comment

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

LGTM

@bparrishMines bparrishMines changed the title Add licenses [multiple] Add licenses Aug 5, 2019
@bparrishMines bparrishMines merged commit 95ba642 into flutter:master Aug 12, 2019
@bparrishMines bparrishMines deleted the update_license branch August 12, 2019 21:16
sungmin-park pushed a commit to sungmin-park/flutter-plugins that referenced this pull request Dec 17, 2019
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
…ns_web (flutter#1908)

* create no-op stubs for iOS/Android in cloud_functions_web

* Update CHANGELOG

* Update version number to accomodate check.

* Remove AndroidX from no-op plugin implementation
Akachu pushed a commit to Akachu/flutter_camera that referenced this pull request Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants