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

Fixes licenses issues that were hidden by bug in go-licenses #1718

Merged
merged 1 commit into from
Jan 12, 2023

Conversation

jaxesn
Copy link
Member

@jaxesn jaxesn commented Jan 9, 2023

Issue #, if available:

Description of changes:

There was a bug in go-licenses that was incorrectly matching licenses for modules in the vendor directory. Read the specifics in my upstream PR
. Using that PR I have run thru all the projects to confirm what was missed and updated the few spots that needed changes to make sure license files were in the correct locations. There was only a couple and they were similar situations we have seen before.

While getting the upstream PR thru I am going to update our builder-base to use my fork for the time being. This should be able to merge before that is officially rolled out, we just make see a bit of churn on the generated attribution files. I am going to try and time it up tho.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from jaxesn by writing /assign @jaxesn in a comment. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eks-distro-bot eks-distro-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 9, 2023
@jaxesn jaxesn force-pushed the jgw/fix-licenses-missed-by-bug branch 4 times, most recently from 439bb8e to 210f7c0 Compare January 11, 2023 21:32
@jaxesn jaxesn changed the title WIP: Fixes licenses issues that were hidden by bug in go-licenses Fixes licenses issues that were hidden by bug in go-licenses Jan 11, 2023
Copy link
Member

@jonathanmeier5 jonathanmeier5 left a comment

Choose a reason for hiding this comment

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

Looks good to me. Happy to lgtm once everyone's had a chance to have a look.

$(FIX_LICENSES_AZURE_TARGET): | $(GO_MOD_DOWNLOAD_TARGETS)
# The azure sdk dependency github repo has a LICENSE however it does not have a go.mod
# checked in to the repo. Hence we need to manually download LICENSE from Github
# and place them in the vendor directory so that they is available for go-licenses to pick up
Copy link
Member

Choose a reason for hiding this comment

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

nit: "they are" instead of "they is".

@jonathanmeier5
Copy link
Member

/lgtm

@jaxesn jaxesn force-pushed the jgw/fix-licenses-missed-by-bug branch from 210f7c0 to 551f62c Compare January 12, 2023 18:08
@jonathanmeier5
Copy link
Member

/lgtm

@jaxesn jaxesn merged commit 4172329 into aws:main Jan 12, 2023
nkvetsinski pushed a commit to nkvetsinski/eks-anywhere-build-tooling that referenced this pull request Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold lgtm size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants