awslabs / dynein

DynamoDB CLI written in Rust.
https://github.com/awslabs/dynein
Apache License 2.0
360 stars 37 forks source link

feat: Add third-party attribution display #216

Closed KIrie-0217 closed 4 months ago

KIrie-0217 commented 4 months ago

Issue #, if available:

Description of changes:

This PR introduces a new feature that displays a list of third-party components used in the application, along with their respective licenses and attribution information as well as the full text of the licenses under which they are distributed.

The new --third-party-attribution option provides a comprehensive report of all external dependencies, including details such as the component name, version, author/maintainer, a brief description, and the full text of the license under which each component is distributed.

The attribution information was generated dynamically by scanning the project's dependency tree and gathering relevant metadata from each dependency's package manifest. The attribution information is stored in the resources/attribution/ThirdPartyAttribution.br file"

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

KIrie-0217 commented 4 months ago

I misunderstood the buffer size as the total size after decompression. I agree with all of the suggested reviews. I implemented the correction.