Skip to content

Handle URLs in composer package metadata pattern#5233

Merged
nscuro merged 1 commit intoDependencyTrack:masterfrom
nscuro:fix-composer-meta-analyzer
Aug 25, 2025
Merged

Handle URLs in composer package metadata pattern#5233
nscuro merged 1 commit intoDependencyTrack:masterfrom
nscuro:fix-composer-meta-analyzer

Conversation

@nscuro
Copy link
Copy Markdown
Member

@nscuro nscuro commented Aug 25, 2025

Description

Handles URLs in composer package metadata pattern.

It seems that it was originally supposed to only contain paths, but it now returns complete URLs for some packages..

Addressed Issue

N/A

Additional Details

N/A

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have added corresponding update logic
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

It seems that it was originally supposed to only contain paths, but it now returns complete URLs for some packages.

Signed-off-by: nscuro <[email protected]>
@nscuro nscuro added this to the 4.14.0 milestone Aug 25, 2025
Copilot AI review requested due to automatic review settings August 25, 2025 16:22
@nscuro nscuro added defect Something isn't working backport/4.13.4 PRs to be backported to v4.13.4 labels Aug 25, 2025
@owasp-dt-bot
Copy link
Copy Markdown

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@codacy-production
Copy link
Copy Markdown

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 8abb5a01 100.00% (target: 70.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (8abb5a0) Report Missing Report Missing Report Missing
Head commit (062339a) 23958 19372 80.86%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#5233) 3 3 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

@nscuro nscuro merged commit b8577d5 into DependencyTrack:master Aug 25, 2025
10 checks passed
@nscuro nscuro deleted the fix-composer-meta-analyzer branch August 25, 2025 16:49
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/4.13.4 PRs to be backported to v4.13.4 defect Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants