Skip to content

Add commit collection support to Apache Tomcat V2 importer#2195

Open
Dhirenderchoudhary wants to merge 1 commit intoaboutcode-org:mainfrom
Dhirenderchoudhary:feat/tomcat-commit-collection
Open

Add commit collection support to Apache Tomcat V2 importer#2195
Dhirenderchoudhary wants to merge 1 commit intoaboutcode-org:mainfrom
Dhirenderchoudhary:feat/tomcat-commit-collection

Conversation

@Dhirenderchoudhary
Copy link

@Dhirenderchoudhary Dhirenderchoudhary commented Mar 2, 2026

Date : 2 March 2026
Developer name : Dhirender Choudhary

Description

Add commit collection support to Apache Tomcat V2 importer.

  • Extract GitHub and GitBox commit URLs from security advisories
  • Add ReferenceV2 for all fix-related URLs

Related Issue

Closes #2129

Type of Change

  • New feature

Testing

  • Existing tests pass
  • New tests added - tests for commit URL extraction, GitBox support, and pipeline integration
  • Manually verified

Checklist

  • Self-reviewed the code
  • Follows existing importer patterns (v2 pipeline)
  • No new warnings or errors introduced

- Extract GitHub and GitBox commit URLs from security advisories
- Create PackageCommitPatchData for each commit hash
- Populate fixed_by_commit_patches on AffectedPackageV2
- Add ReferenceV2 for all fix-related URLs
- Add tests for commit URL extraction, GitBox support, and pipeline integration

Signed-off-by: Dhirenderchoudhary <dhirenderchoudhary0001@gmail.com>
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.

Add support in Apache Tomcat to collect commits

1 participant