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

New VersionDistance policy to check and report outdated components #2528

Closed
2 tasks done
walterdeboer opened this issue Feb 26, 2023 · 1 comment · Fixed by #2537
Closed
2 tasks done

New VersionDistance policy to check and report outdated components #2528

walterdeboer opened this issue Feb 26, 2023 · 1 comment · Fixed by #2537
Labels
enhancement New feature or request

Comments

@walterdeboer
Copy link

walterdeboer commented Feb 26, 2023

Current Behavior

Dependenct Track now supports a Component Age Policy and a Component Version Policy, but both are unsuitable to detect outdated components. For this the distance between the current component version and it's latest version needs to be analysed.

Proposed Behavior

The Version Distance is specified as the numerical distance between the two epoch numbers, two major numbers, the two minor numbers and the two patch numbers, e.g:
0:1.0.0 = same epoch, 1 major version distance, dont know about minor or patch
0:0.1.0 = same epoch, same major, 1 minor version distance, dont know about patch

Add a Policy to evaluates the VersionDistance between a Component's current and it's latest (stable) version. The policy "greater than 0:1.0.0" for example, means a difference of only one between the current version's major number and the latest version's major number is allowed.

Checklist

@walterdeboer walterdeboer added the enhancement New feature or request label Feb 26, 2023
@walterdeboer walterdeboer changed the title New OutdatedComponentPolicy to check and report outdated components New VersionDistance policy to check and report outdated components Feb 28, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 8, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant