-
-
Notifications
You must be signed in to change notification settings - Fork 583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add active Field To Project Versions #3691
Add active Field To Project Versions #3691
Conversation
In order for the UI to distinguish between active or inactive project versions, we need to include the active boolean field to ProjectVersion model Signed-off-by: Aravind Parappil <[email protected]>
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more |
Unit test added which checks for the active field, given 3 versions of same project exists Signed-off-by: Aravind Parappil <[email protected]>
@aravindparappil46 The coverage check is failing, primarily because the change itself is so tiny. We can bypass it, but another solution could be to remove the |
This is to see if the Codacy coverage report succeeds Signed-off-by: Aravind Parappil <[email protected]>
Thank you @nscuro ! I removed the |
I think that would be good to avoid future confusion. You could also simply convert |
Signed-off-by: Aravind Parappil <[email protected]>
Description
In order for the frontend to distinguish between active or inactive project versions, we need to include the
active
boolean field toProjectVersion
model.Addressed Issue
Required for DependencyTrack/frontend#844
Checklist