-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fpm should reject debian packages with invalid values for the Version field #1968
Comments
I see fpm does validation checks for the [1] Lines 261 to 289 in db06af3
|
Hello! My apologies, I wish I had elaborated more in the commit message. If I recall correctly, |
No apology needed :) I ran into this exact issue while writing some fpm examples for packaging up kubectl - https://fpm.readthedocs.io/en/v1.15.0/packages/dir.html -- ended up doing I'll close this as a duplicate of #1847. For improvements, I'll see about adding some smarts in fpm that tries to detect this particular case and automatically turn 'vX.Y.Z' to 'X.Y.Z'. For other cases, fpm can still reject with an actionable error message. |
Closing to track as #1847. |
Found this note in an Influxdb PR: influxdata/influxdb#23475
@bnpfeife, do you recall any specifics in the problem you were working around? I'd like to help ensure fpm only generates correct packages, and knowing more will help make sure any new tests for this issue can cover the problem you were having.
The text was updated successfully, but these errors were encountered: