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

(GH-actions) add allow-licenses list in dependency_review #PR2 #12615

Merged
merged 15 commits into from
Nov 29, 2023

Conversation

kvramyasri7
Copy link
Contributor

@kvramyasri7 kvramyasri7 commented Nov 22, 2023

Description of changes

add allow-licenses list in dependency_review.

Used them as a source of truth:

for checking the list of licenses.

Issue #, if available

Description of how you validated changes

aws-amplify/amplify-ui#4145 Took this as reference PR from sibling team.

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kvramyasri7 kvramyasri7 changed the title use dependency_review for license changes (GH-actions) using dependency_review for license changes Nov 22, 2023
@kvramyasri7 kvramyasri7 marked this pull request as ready for review November 22, 2023 19:04
@kvramyasri7 kvramyasri7 requested a review from a team as a code owner November 22, 2023 19:04
@kvramyasri7 kvramyasri7 changed the title (GH-actions) using dependency_review for license changes (GH-actions) using dependency_review for license changes #PR2 Nov 22, 2023
Copy link
Contributor

@ashwinkumar6 ashwinkumar6 left a comment

Choose a reason for hiding this comment

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

Thanks for adding this in @kvramyasri7
Added a comment regarding removing existing license-test workflow

I think it'll be great to also get an approval from product for the acceptable licenses listed in dependecy-review-config.yml just in case

.github/workflows/pr.yml Outdated Show resolved Hide resolved
Comment on lines 1 to 34
allow-licenses:
- '0BSD'
- 'Apache-2.0'
- 'BSL-1.0'
- 'BSD-1-Clause'
- 'BSD-2-Clause-FreeBSD'
- 'BSD-2-Clause'
- 'BSD-3-Clause-Attribution'
- 'BSD-3-Clause'
- 'BSD-Source-Code'
- 'bzip2-1.0.6'
- 'CC-BY-3.0'
- 'CC-BY-4.0'
- 'CC0-1.0'
- 'curl'
- 'ISC'
- 'JSON'
- 'MIT'
- 'MPL-2.0'
- 'NTP'
- 'OFL-1.0'
- 'OLDAP-2.8'
- 'OpenSSL'
- 'PDDL-1.0'
- 'PostgreSQL'
- 'Python-2.0'
- 'Spencer-94'
- 'Unicode-DFS-2015'
- 'Unicode-DFS-2016'
- 'Unlicense'
- 'WTFPL'
- 'X11'
- 'zlib-acknowledgement'
- 'Zlib'
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

from the conversation I had with one of the engineer from ui team, this list is subjected to change. Referencing the latest guide from oss is the tip I had.

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 have updated the license list to Amazon pre-approved list @elorzafe. Please take a look at it now. If you find something that should not be in the list let me know we can chat with the people who made the list and communicate with ui-team as well.

@@ -0,0 +1,27 @@
allow-licenses:
- '0BSD'
Copy link
Contributor

Choose a reason for hiding this comment

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

I couldnt find this on the pre approved list

Copy link
Contributor

Choose a reason for hiding this comment

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

I have doubts on the following licences:

  • 0BSD
  • BSDs how can we verify if it has PATENTS
  • MPL-2.0
  • OLDAP-2.8it seems the approved is OpenLDAP 2.6.6
  • Unicode-DFS-2015 and Unicode-DFS-2016

we can verify these with a ticket to osa and also would appreciate @ovalba

@elorzafe
Copy link
Contributor

@ovalba I would like your feedback on this. Thanks!

Copy link
Contributor

@elorzafe elorzafe left a comment

Choose a reason for hiding this comment

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

Thanks @kvramyasri7 !

kvramyasri7

This comment was marked as outdated.

@kvramyasri7 kvramyasri7 changed the title (GH-actions) using dependency_review for license changes #PR2 (GH-actions) add allow-licenses list in dependency_review #PR2 Nov 29, 2023
@kvramyasri7 kvramyasri7 changed the title (GH-actions) add allow-licenses list in dependency_review #PR2 (GH-actions) add allow-licenses list in dependency_review #PR2 Nov 29, 2023
@kvramyasri7 kvramyasri7 merged commit 1738080 into aws-amplify:main Nov 29, 2023
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants