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

allowOlder: Sort/filter releases by timestamp #22151

Open
rarkins opened this issue May 13, 2023 · 1 comment
Open

allowOlder: Sort/filter releases by timestamp #22151

rarkins opened this issue May 13, 2023 · 1 comment
Labels
priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)

Comments

@rarkins
Copy link
Collaborator

rarkins commented May 13, 2023

What would you like Renovate to be able to do?

Avoid upgrading to a newer version unless the release timestamp is newer than the current timestamp.

If you have any ideas on how this should be implemented, please tell us here.

If there are timestamps for both the current version and a newer-looking version (sorts higher) then it would be filtered out by default.

This would help automatically remove some of the edge cases caused by bad publishing by certain packages, such as mixing date-based versions with semver.

To opt into accepting releases with older release dates, set allowOlder=true

Is this a feature you are interested in implementing yourself?

Maybe

@rarkins rarkins added type:feature Feature (new functionality) priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others status:ready labels May 13, 2023
@rarkins
Copy link
Collaborator Author

rarkins commented May 13, 2023

There are edge cases where you could have a scenario such as release 1.9.2 being released after 2.0.0, but in nearly every case you should also see another 2.x such as 2.1.0 released after 1.9.2.

@rarkins rarkins changed the title Sort/filter releases by timestamp ignoreOlder: Sort/filter releases by timestamp Jun 18, 2023
@rarkins rarkins changed the title ignoreOlder: Sort/filter releases by timestamp allowOlder: Sort/filter releases by timestamp Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

1 participant