Skip to content

fix: parse Maven license metadata from JARs#953

Open
AgentGoose32 wants to merge 1 commit into
ecosyste-ms:mainfrom
AgentGoose32:polar-153-maven-jar-licenses
Open

fix: parse Maven license metadata from JARs#953
AgentGoose32 wants to merge 1 commit into
ecosyste-ms:mainfrom
AgentGoose32:polar-153-maven-jar-licenses

Conversation

@AgentGoose32

Copy link
Copy Markdown

Summary

  • parse Maven pom.xml license metadata when handling JAR uploads
  • preserve the full JAR layout instead of stripping the first path component
  • reuse the existing Licensee JSON shape for licenses discovered from package metadata

Validation

  • PATH=/opt/homebrew/opt/ruby/bin:$PATH bundle exec rails db:create db:schema:load
  • PATH=/opt/homebrew/opt/ruby/bin:$PATH bundle exec rails test test/models/job_test.rb (7 runs, 14 assertions, 0 failures)

Fixes #153

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.

API returns no results irrespective of the input

1 participant