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

LTS awareness #27632

Open
rarkins opened this issue Feb 29, 2024 · 4 comments
Open

LTS awareness #27632

rarkins opened this issue Feb 29, 2024 · 4 comments
Assignees
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 Feb 29, 2024

Describe the proposed change(s).

Today in several ecosystems we treat LTS as stable and non-LTS as unstable. We should change this so that LTS and stable are different concepts and able to be controlled separately.

  • Add an optional isLts boolean flag to releases returned from datasources. If a datasource has LTS awareness then it should return a value (true or false) for isLts for all releases.
  • Apply these changes to the node-version datasource so that it no longer returns isStable and instead returns isLts using the same logic
  • Add new, optional isLts() function to versioning modules which returns a boolean result
  • Rewrite debian versioning so that the isStable() no longer returns true because a release is non-LTS, instead add an isLts() function which uses that logic
  • Model new isLts logic in the worker modules on isStable, e.g. a function called isReleaseLts() which can return true, false or null
  • Add a new repo config option updateToNonLts which defaults to "auto" but has options "always" or "never"
    • If auto, it means that releases with itLts=false will be ignored unless the current version/release also has isLts=false
    • If always, it means that all releases are allowed, and isLts is ignored
    • If never, it mans that releases with isLts=false are always ignored, no matter what
    • Option has no effect if the datasource/versioning has no LTS awareness
@rarkins rarkins added type:feature Feature (new functionality) priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others status:requirements Full requirements are not yet known, so implementation should not be started labels Feb 29, 2024
@HonkingGoose
Copy link
Collaborator

I found another issue that seems a bit related, it mentions LTS anyways:

@rarkins

This comment was marked as resolved.

@rarkins rarkins removed the status:requirements Full requirements are not yet known, so implementation should not be started label Apr 20, 2024
@HonkingGoose

This comment was marked as resolved.

@rarkins rarkins self-assigned this Oct 2, 2024
@rarkins
Copy link
Collaborator Author

rarkins commented Oct 9, 2024

To update:

  • node_version datasource
  • unity3d datasource
  • node versioning
  • ubuntu versioning

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

2 participants