Skip to content

Add semver upgrade edge generation support #398

Closed
@m1kola

Description

@m1kola

Please read RFC for better formatting and full scope. The excerpt below is just to indicate the scope covered by this specific issue.

Need to implement semver upgrade edge generation function as discussed in the RFC.

Semver

Semver based implementation is expected to:

  • Satisfy the interface discussed above
  • Return a list of successor bundles based on semver. The list will not include bundle versions outside the major version of the installed bundle. (In semver a new major version is intended to indicate breaking changes, and we don’t want to default to that behavior. Future iterations may include knobs to extend this behavior.)
  • This mode will not allow downgrading.

As part of this issue we also need to make sure that ForceSemverUpgradeConstraints feature gate is respected:

The solver needs to be able to switch between upgrade constraint semantics based on rules defined above (see Fig 1).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions