Skip to content

Yield package before assigning to resource - #3115

Merged
AyanSinhaMahapatra merged 2 commits into
prep-release-31-2from
aboutfile-assemble
Oct 4, 2022
Merged

Yield package before assigning to resource#3115
AyanSinhaMahapatra merged 2 commits into
prep-release-31-2from
aboutfile-assemble

Conversation

@JonoYang

Copy link
Copy Markdown
Member

This PR modifies AboutFileHandler.assemble() to yield a package before assigning it to a Resource. This fixes the issue reported at aboutcode-org/scancode.io#530

Signed-off-by: Jono Yang <jyang@nexb.com>
    * Yield packages before resources and assign resources to packages before yielding resources

Signed-off-by: Jono Yang <jyang@nexb.com>
@pombredanne pombredanne added this to the v31.2 milestone Oct 3, 2022
@AyanSinhaMahapatra
AyanSinhaMahapatra changed the base branch from develop to prep-release-31-2 October 4, 2022 18:54
@AyanSinhaMahapatra

Copy link
Copy Markdown
Member

Merging this, thanks @JonoYang

@AyanSinhaMahapatra
AyanSinhaMahapatra merged commit 2b83eaf into prep-release-31-2 Oct 4, 2022
@pombredanne
pombredanne deleted the aboutfile-assemble branch October 24, 2022 16:08
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.

3 participants