Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not include epoch version in generate .deb filenames
- Loading branch information
Showing
1 changed file
with
2 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dee3ddc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this change made? I have an epoch use case. At the moment I have to use
-p
:-/http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version
dee3ddc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've never seen any debian package 'file names' that include the epoch. Apt-get also doesn't handle things well, it converts ":" in the filenames to %58 url-style encoding. Much confusings occur.
If you can show me a few debian packages with the epoch in the filename, we can revert this change or alternately make it a flag.
dee3ddc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I was mistaken. The Version control field contains the epoch, it just differs from the filename (and that's just fine).
For others who stumble upon this:
http://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html#s-pkgname
Thanks!
dee3ddc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, actually, you uncover a good point.
The output from fpm only shows you the filename. Perhaps it should show some data as well?
dee3ddc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me. It looks like you're already tracking this:
#105
dee3ddc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slight update:
APT (says it) grabs debs with an epoch in the filename, whether or not it's actually doing so:
rcrowley/freight#21