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

Change generate-copyright to generate HTML, with cargo dependencies included #128353

Commits on Aug 6, 2024

  1. Update generate-copyright

    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).
    jonathanpallant committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    ba0d6c9 View commit details
    Browse the repository at this point in the history
  2. 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
    jonathanpallant committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    204e3ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56f8479 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dbab595 View commit details
    Browse the repository at this point in the history
  5. 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.
    jonathanpallant committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f7e6bf6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    37ab090 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    30ac7c9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5277b67 View commit details
    Browse the repository at this point in the history
  9. Update to rinja 0.3

    jonathanpallant committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    4e24e9b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    99579f3 View commit details
    Browse the repository at this point in the history