Skip to content

Add back the missing argument for assemble_extracted_gem() #5306 - #5307

Merged
AyanSinhaMahapatra merged 2 commits into
developfrom
5306_fix_missing_argument_in_assemble_extracted_gem
Sep 11, 2026
Merged

Add back the missing argument for assemble_extracted_gem() #5306#5307
AyanSinhaMahapatra merged 2 commits into
developfrom
5306_fix_missing_argument_in_assemble_extracted_gem

Conversation

@chinyeungli

Copy link
Copy Markdown
Contributor

Fixes #5306

This is a very simple PR that add back the missing 'package_adder' argument to the assemble_extracted_gem()

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁
  • Updated documentation pages (if applicable)
  • Updated CHANGELOG.rst (if applicable)

Signed-off-by: Chin Yeung Li tli@nexb.com

Signed-off-by: Chin Yeung Li <tli@nexb.com>
@AyanSinhaMahapatra
AyanSinhaMahapatra force-pushed the 5306_fix_missing_argument_in_assemble_extracted_gem branch from 0cd25ba to 68d8cfb Compare September 11, 2026 13:02

@AyanSinhaMahapatra AyanSinhaMahapatra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @chinyeungli LGTM!
I added a test as we should have caught this there, while testing a rubygems extracted gem package assembly.

from scancode_config import REGEN_TEST_FIXTURES

# TODO: Add test with https://rubygems.org/gems/pbox2d/versions/1.0.3-java
# this is a multiple personality package (Java and Ruby)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in a test json-3.0.2-java.gem

Reference: #5306

Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
@AyanSinhaMahapatra
AyanSinhaMahapatra force-pushed the 5306_fix_missing_argument_in_assemble_extracted_gem branch from 68d8cfb to 367d836 Compare September 11, 2026 13:07
@AyanSinhaMahapatra
AyanSinhaMahapatra merged commit 384b62a into develop Sep 11, 2026
42 checks passed
@AyanSinhaMahapatra
AyanSinhaMahapatra deleted the 5306_fix_missing_argument_in_assemble_extracted_gem branch September 11, 2026 16:33
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.

Rubygems assemble_extracted_gem() missing 'package_adder' argument

2 participants