{"action":"created","issue":{"url":"https://api.github.com/repos/valorin/debver/issues/1","labels_url":"https://api.github.com/repos/valorin/debver/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/valorin/debver/issues/1/comments","events_url":"https://api.github.com/repos/valorin/debver/issues/1/events","html_url":"https://github.com/valorin/debver/issues/1","id":57292330,"number":1,"title":"Wrong output in version comparisation","user":{"login":"teunis90","id":3136781,"avatar_url":"https://avatars.githubusercontent.com/u/3136781?v=3","gravatar_id":"","url":"https://api.github.com/users/teunis90","html_url":"https://github.com/teunis90","followers_url":"https://api.github.com/users/teunis90/followers","following_url":"https://api.github.com/users/teunis90/following{/other_user}","gists_url":"https://api.github.com/users/teunis90/gists{/gist_id}","starred_url":"https://api.github.com/users/teunis90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teunis90/subscriptions","organizations_url":"https://api.github.com/users/teunis90/orgs","repos_url":"https://api.github.com/users/teunis90/repos","events_url":"https://api.github.com/users/teunis90/events{/privacy}","received_events_url":"https://api.github.com/users/teunis90/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-11T09:21:21Z","updated_at":"2015-02-12T07:38:29Z","closed_at":"2015-02-12T07:38:29Z","body":"Hi Stephen,\r\n\r\nI know you marked this package as abandoned, but still like to file this issue (You never know who is looking into this in the future) \r\n\r\nTragically the '2.7.8.dfsg-2+squeeze8' updates is seen as the most recent one.\r\n\r\n2.7.8.dfsg-2+squeeze8 <-- Marked as newer\r\n2.7.8.dfsg-2+squeeze10\r\n\r\nI played a bit with the version to find out where the real issue is:\r\n\r\n2.7.8.dfsg-2+squeeze2 \r\n2.7.8.dfsg-2+squeeze30 <-- Marked as newer\r\n\r\n2.7.8.dfsg-2+squeeze3 \r\n2.7.8.dfsg-2+squeeze30 <-- Marked as newer\r\n\r\nNext one is interesting:\r\n\r\n2.7.8.dfsg-2+squeeze4 <-- Marked as newer\r\n2.7.8.dfsg-2+squeeze30\r\n\r\nSo I think when there starts a digit part is should compare the complete number instead of per character.\r\n\r\nI made a fork of your code if I have time I try to solve this issue. But if you have a clue where to start please leave a comment.\r\n\r\nBest,\r\n\r\nTeun"},"comment":{"url":"https://api.github.com/repos/valorin/debver/issues/comments/74029526","html_url":"https://github.com/valorin/debver/issues/1#issuecomment-74029526","issue_url":"https://api.github.com/repos/valorin/debver/issues/1","id":74029526,"user":{"login":"valorin","id":897369,"avatar_url":"https://avatars.githubusercontent.com/u/897369?v=3","gravatar_id":"","url":"https://api.github.com/users/valorin","html_url":"https://github.com/valorin","followers_url":"https://api.github.com/users/valorin/followers","following_url":"https://api.github.com/users/valorin/following{/other_user}","gists_url":"https://api.github.com/users/valorin/gists{/gist_id}","starred_url":"https://api.github.com/users/valorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valorin/subscriptions","organizations_url":"https://api.github.com/users/valorin/orgs","repos_url":"https://api.github.com/users/valorin/repos","events_url":"https://api.github.com/users/valorin/events{/privacy}","received_events_url":"https://api.github.com/users/valorin/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T07:38:29Z","updated_at":"2015-02-12T07:38:29Z","body":"PR merged :-)"}}