-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Change generate-copyright to generate HTML, with cargo dependencies included #128353
Merged
bors
merged 10 commits into
rust-lang:master
from
ferrocene:jonathanpallant/add-dependencies-to-copyright-file
Aug 7, 2024
Merged
Change generate-copyright to generate HTML, with cargo dependencies included #128353
bors
merged 10 commits into
rust-lang:master
from
ferrocene:jonathanpallant/add-dependencies-to-copyright-file
Aug 7, 2024
Commits on Aug 6, 2024
-
This tool now scans for cargo dependencies and includes any important looking license files. We do this because cargo package metadata is not sufficient - the Apache-2.0 license says you have to include any NOTICE file, for example. And authors != copyright holders (cargo has the former, we must include the latter).
Configuration menu - View commit details
-
Copy full SHA for ba0d6c9 - Browse repository at this point
Copy the full SHA ba0d6c9View commit details -
generate-copyright: Produce HTML, not Markdown
This format works better with large amounts of structured data. We also mark which deps are in the stdlib
Configuration menu - View commit details
-
Copy full SHA for 204e3ea - Browse repository at this point
Copy the full SHA 204e3eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56f8479 - Browse repository at this point
Copy the full SHA 56f8479View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbab595 - Browse repository at this point
Copy the full SHA dbab595View commit details -
generate-copyright: use rinja to format the output
I can't find a way to derive rinja::Template for Node - I think because it is a recursive type. So I rendered it manually using html_escape.
Configuration menu - View commit details
-
Copy full SHA for f7e6bf6 - Browse repository at this point
Copy the full SHA f7e6bf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37ab090 - Browse repository at this point
Copy the full SHA 37ab090View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30ac7c9 - Browse repository at this point
Copy the full SHA 30ac7c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5277b67 - Browse repository at this point
Copy the full SHA 5277b67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e24e9b - Browse repository at this point
Copy the full SHA 4e24e9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99579f3 - Browse repository at this point
Copy the full SHA 99579f3View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.