fossas / fossa-cli

Fast, portable and reliable dependency analysis for any codebase. Supports license & vulnerability scanning for large monoliths. Language-agnostic; integrates with 20+ build systems.
https://fossa.com
Other
1.26k stars 173 forks source link

Update issueDashURL to contain correct revision branch #1433

Closed JeffreyHuynh1 closed 2 months ago

JeffreyHuynh1 commented 3 months ago

Overview

fossa test reports the issue URLs incorrectly. It points to the master branch even when last analysis was performed on a different branch.

Acceptance criteria

issueDashURL should contain the correct branch.

Testing plan

To view current state of our issue urls in fossa test

To view updated issue urls

Risks

I have decided to update the issueDashURL in the CLI rather than in Core's /api/cli/:locator/issues endpoint for the following reasons:

Metrics

References

ANE-1771

Checklist

JeffreyHuynh1 commented 2 months ago

Making the changes for correct issue dash url in Core. Here's the pr: https://github.com/fossas/FOSSA/pull/12973