On Wed, Mar 3, 2010 at 2:35 AM, Thomas Bächler <thomas@archlinux.org> wrote:
Am 03.03.2010 04:59, schrieb Dan McGee:
The force flag is a big ugly crap. I find sanitizing upstream version to be much.. saner. Or figure out a way to have both a sane version for pacman and the insane upstream version.
I was actually thinking about this again and thinking epoch might not be a bad idea- I don't know if I had any legit objection to it before but I can't think of one anymore. If someone is interested in implementing, I'd be for it.
I was thinking more of having two version numbers. The pkgver and the optional, internal sanitized pkgver. The internal one is used for comparison if it exists, but pacman always displays the pkgver for upstream consistency. Maybe epoch is better, but I wanted to mention this idea.
I think Thomas' idea is a good one (using some internal number), and using the epoch for the internal value doesn't sound too bad.