Skip to content

chore: support x-platform licence generation #98

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

Merged
merged 2 commits into from
Apr 4, 2025

Conversation

SamMorrowDrums
Copy link
Collaborator

Closes: #93

Generate licences/attribution for all platforms we build for.

@Copilot Copilot AI review requested due to automatic review settings April 4, 2025 11:00
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds cross-platform license generation support by introducing separate dependency listings for Windows and Linux builds.

  • Added a new license listing file for the Windows platform.
  • Added a new license listing file for the Linux platform.

Reviewed Changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated no comments.

File Description
third-party-licenses.windows.md Adds dependency license details specific to Windows.
third-party-licenses.linux.md Adds dependency license details specific to Linux.
Files not reviewed (3)
  • script/licenses: Language not supported
  • third-party/github.com/inconshreveable/mousetrap/LICENSE: Language not supported
  • third-party/golang.org/x/sys/windows/LICENSE: Language not supported

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab. Learn more

@SamMorrowDrums SamMorrowDrums force-pushed the cross-platform-licences branch from 005fbdd to 17b20f2 Compare April 4, 2025 11:11
trap "rm -fr ${TEMPDIR}" EXIT

for goos in linux darwin windows ; do
GOOS="${goos}" go-licenses save ./... --save_path="${TEMPDIR}/${goos}" --force || echo "Ignore warnings"
Copy link
Collaborator

Choose a reason for hiding this comment

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

That's nice you can just use GOOS

@SamMorrowDrums SamMorrowDrums force-pushed the cross-platform-licences branch from 13ecc85 to 9ddb049 Compare April 4, 2025 13:18
@williammartin williammartin merged commit 26f9668 into main Apr 4, 2025
16 checks passed
@williammartin williammartin deleted the cross-platform-licences branch April 4, 2025 13:33
manian0430 pushed a commit to ChrisLally/github-mcp-server that referenced this pull request Apr 12, 2025
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.

Cross platform license generation
2 participants