Generate attribution report #53
Merged
jssblck merged 4 commits intofossas:mainfrom Jan 22, 2025
dylmye:main
Merged
Conversation
Contributor
|
Hey @dylmye, thanks for the contribution!
We're discussing this and will keep you updated. |
jssblck
approved these changes
Jan 14, 2025
Contributor
jssblck
left a comment
There was a problem hiding this comment.
Validated that the dist is correctly generated from the content:
; gh pr checkout 53
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 23 (delta 12), reused 23 (delta 12), pack-reused 0 (from 0)
Unpacking objects: 100% (23/23), 11.77 KiB | 325.00 KiB/s, done.
From github.com:fossas/fossa-action
* [new ref] refs/pull/53/head -> dylmye/main
Switched to branch 'dylmye/main'
; sha256 dist/index.js
SHA256 (dist/index.js) = 7246e326dee613d6e3bdffc2440cdd0ff978821f207fc13b6c111ed9ea4cbd4f
; yarn run build
yarn run v1.22.22
$ ncc build src/index.ts -o dist --source-map --license LICENSE --minify
ncc: Version 0.38.1
ncc: Compiling file index.js into CJS
ncc: Using typescript@4.9.5 (local user-provided)
10kB dist/LICENSE
40kB dist/sourcemap-register.js
531kB dist/index.js
1536kB dist/index.js.map
1536kB dist/index.js.map
2117kB [1705ms] - ncc 0.38.1
✨ Done in 1.80s.
; sha256 dist/index.js
SHA256 (dist/index.js) = 7246e326dee613d6e3bdffc2440cdd0ff978821f207fc13b6c111ed9ea4cbd4fChange lgtm, thanks @dylmye for adding this!
Contributor
Author
|
Thank you!! I don't have write access so can't merge |
Contributor
Oh, right. I'll take care of this. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Overview
This PR adds the option for users to generate and retrieve an attribution report after they have run
analyze.The inspiration and use case for this feature is from personal needs. I have an app that uses FOSSA, and I want to include the attribution report in the app bundle as part of the release process. Automating the report generation as part of the release process would save time and ensure it's correct for each release version.
I reached out to Kevin after he reached out to us users earlier this month and he pointed me to this repo. Thank you for everything you all do!! Fossa is a really fantastic and beneficial part of the FOSS ecosystem. <3
There's some limitations and questions I have regarding this PR:
generate-reportboolean andreport-formatinput)The only other change I made was typing the
listenersobject passed to the exec function.Checklist
yarn buildand committed resulting changes..github/workflows/test.ymlor explained why it doesn't make sense to do so.