Skip to content
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

Introduce isLatest project flag & allow policies to be limited to latest version #1017

Merged

Conversation

rkg-mm
Copy link
Contributor

@rkg-mm rkg-mm commented Sep 27, 2024

Description

Belongs to Backend PR: DependencyTrack/dependency-track#4184

Implements #4148 :

  1. Allows projects to be marked as "latest version"
  2. Show info if project is latest in project details header, as well as in projects table
  3. Introduces a wrapper for the switch component which allows better usage of switches within forms (e.g. showing in same row as other form inputs) as well as makes usage of switches easier in general, and ensures the switch label is clickable to toggle the switch.
  4. Allows policies to be limited to project versions marked as latest (e.g. helpful to only apply the version distance policy to the latest development version)
  5. Removes some code duplication in policy update logic

Addressed Issue

DependencyTrack/dependency-track#4148

Additional Details

image

image

image

image

Checklist

Signed-off-by: Ralf King <rkg@mm-software.com>
* Add translation

Signed-off-by: Ralf King <rkg@mm-software.com>
Signed-off-by: Ralf King <rkg@mm-software.com>
Signed-off-by: Ralf King <rkg@mm-software.com>
Signed-off-by: Ralf King <rkg@mm-software.com>
Signed-off-by: Ralf King <rkg@mm-software.com>
@nscuro nscuro added this to the 4.12 milestone Sep 28, 2024
@nscuro nscuro added the enhancement New feature or request label Sep 28, 2024
@nscuro nscuro merged commit 8a4e179 into DependencyTrack:master Sep 29, 2024
10 checks passed
@nscuro nscuro changed the title feat#4148 introduce is latest project flag & allow policies to be limited to latest version Introduce isLatest project flag & allow policies to be limited to latest version Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants