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

chore: fix license tracking #989

Merged
merged 1 commit into from
Feb 2, 2024
Merged

chore: fix license tracking #989

merged 1 commit into from
Feb 2, 2024

Conversation

robbkidd
Copy link
Member

@robbkidd robbkidd commented Feb 1, 2024

Which problem is this PR solving?

go-licenses v1.1.0 dropped support for packages that aren't Go modules. That or any later version run against our current repo state will result in many dozens of this error:

Package •thingie• does not have module info. Non go modules projects are no longer supported. For feedback, refer to google/go-licenses#128.

Short description of the changes

Pinning our install to v1.0.0 seems to produce the LICENSES output consistent with what the project has been tracking so far.

v1.1.0 dropped support for packages that aren't Go modules. That or any
later version run against our current repo state will error with:

> Package <package> does not have module info. Non go modules projects
> are no longer supported. For feedback, refer to
> google/go-licenses#128.

Pinning our install to v1.0.0 seems to produce the LICENSES output
consistent with what the project has been tracking so far.
@robbkidd robbkidd added this to the v2.4 milestone Feb 1, 2024
@robbkidd robbkidd requested a review from a team as a code owner February 1, 2024 22:58
@robbkidd robbkidd added the type: maintenance The necessary chores to keep the dust off. label Feb 1, 2024
@robbkidd robbkidd self-assigned this Feb 1, 2024
@robbkidd robbkidd changed the title fix license tracking chore: fix license tracking Feb 1, 2024
@robbkidd robbkidd added the version: no bump A PR with maintenance or doc changes that aren't included in a release. label Feb 2, 2024
@robbkidd robbkidd merged commit 52c5f08 into main Feb 2, 2024
4 of 6 checks passed
@robbkidd robbkidd deleted the robb.fix-license-tracking branch February 2, 2024 15:43
robbkidd added a commit that referenced this pull request Feb 2, 2024
This reverts commit 52c5f08.

The go-licenses@v1.0.0 pin breaks when run in CI. Needs further
investigation.
TylerHelmuth pushed a commit that referenced this pull request Feb 2, 2024
This reverts commit 52c5f08.

The go-licenses@v1.0.0 pin breaks when run in CI. Needs further
investigation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance The necessary chores to keep the dust off. version: no bump A PR with maintenance or doc changes that aren't included in a release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants