use int compare when both version fields are ints
Fixes #129
Previous and after my change
We should diligently adhere to the version comparison specification, as described on the Debian site, see https://www.debian.org/doc/debian-policy/ch-controlfields.html#version. It's not only about the upstream version split by . which you tried to implement, but also about epochs. I'm working on it, I will create a pull request to your code @benprew when I'm ready!
@benprew Thank you for your effort contributing to this project. As it turns out, the version problem annoyed me as well. Let's improve it together. I created a pull request improving your solution, please let me know what you think! https://github.com/benprew/eddy/pull/1
Update to support different debian version schemes, with tests! Thanks camilajenny!
@donadigo Are you able to review this PR? Are you still supporting eddy?
Thanks