Skip to content

Conversation

@behnazh-w
Copy link
Member

@behnazh-w behnazh-w commented Dec 1, 2025

Summary

Enhances repository finder detection accuracy for npm packages, adds golang and gem to the list of supported ecosystems for source finding, and improves the reporting mechanism for the find-source command.

Description of changes

  • Improved detection logic: adds an alternative repo finding module based on metadata from npm registry.
  • Adds golang and gem to the list of supported ecosystems for sourec finding.
  • Adds support for sudo versions, which are especially used for Go packages.
  • Reports the repository URL when find-source command is used even when a commit cannot be found.
  • Test:
    • adds integration test for an npm package, making sure it works even when deps.dev API is not enabled.
    • adds integration tests for golang and gem packages.

Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 1, 2025
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w force-pushed the behnazh/improve-repofinder branch from c796e88 to 11d224d Compare December 2, 2025 05:37
Demolus13
Demolus13 previously approved these changes Dec 2, 2025
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants