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

Change DEB version format. #217

Merged
merged 1 commit into from
Feb 7, 2024
Merged

Change DEB version format. #217

merged 1 commit into from
Feb 7, 2024

Conversation

s3rj1k
Copy link
Collaborator

@s3rj1k s3rj1k commented Feb 7, 2024

As per https://www.debian.org/doc/debian-policy/ch-controlfields.html#version we want to have only single ~ character in the version string and it must be the last splitter component of the entire version string.

Having multiple ~ in version string makes version comparison very unintuitive.

Consider this example:

0.1.0-999~buster-u1 > 0.1.0-7785001901~ef9e94e4f6~buster
0.1.0-999~buster-u1 < 0.1.0-7785001901-ef9e94e4f6~buster
0.1.0-999~buster < 0.1.0-7785001901~ef9e94e4f6~buster
0.1.0-999~buster < 0.1.0-7785001901-ef9e94e4f6~buster

@andywolk andywolk merged commit 2242d73 into signalwire:main Feb 7, 2024
1 check passed
@s3rj1k s3rj1k deleted the deb branch February 7, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants