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

Support version comparison schemes for the package managers goss supports #942

Open
aelsabbahy opened this issue Jun 28, 2024 · 1 comment
Assignees

Comments

@aelsabbahy
Copy link
Member

aelsabbahy commented Jun 28, 2024

Describe the feature:

Currently goss supports semver-constraint which can be leveraged to test semver strings. However, goss does not currently have support to test other versioning schemes (e.g. rpm, deb, apk, etc.)

Describe the solution you'd like

Goss to support more version schemas:

  • rpm-constraint
  • deb-constraint
  • apk-constraint
  • etc..

Unified range language for all *-constraint checks.

Describe alternatives you've considered

There's no good alternative today. One can use string matching or regex, but that is not ideal.

Related issues and links

@aelsabbahy aelsabbahy self-assigned this Jun 28, 2024
@aelsabbahy
Copy link
Member Author

I'm interested in doing this effort myself, and will most likely start working on it in the coming weeks. If anyone is interested in some aspects of this work, please let me know on this issue and we can discuss how it can be broken up into smaller pieces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant