{"action":"opened","number":96,"pull_request":{"url":"https://api.github.com/repos/getcarina/dvm/pulls/96","id":66564833,"html_url":"https://github.com/getcarina/dvm/pull/96","diff_url":"https://github.com/getcarina/dvm/pull/96.diff","patch_url":"https://github.com/getcarina/dvm/pull/96.patch","issue_url":"https://api.github.com/repos/getcarina/dvm/issues/96","number":96,"state":"open","locked":false,"title":"[WIP]Use semver for sorting","user":{"login":"carolynvs","id":1368985,"avatar_url":"https://avatars.githubusercontent.com/u/1368985?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynvs","html_url":"https://github.com/carolynvs","followers_url":"https://api.github.com/users/carolynvs/followers","following_url":"https://api.github.com/users/carolynvs/following{/other_user}","gists_url":"https://api.github.com/users/carolynvs/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynvs/subscriptions","organizations_url":"https://api.github.com/users/carolynvs/orgs","repos_url":"https://api.github.com/users/carolynvs/repos","events_url":"https://api.github.com/users/carolynvs/events{/privacy}","received_events_url":"https://api.github.com/users/carolynvs/received_events","type":"User","site_admin":false},"body":"I grabbed this one because using the semver library also helps setup the fix #95.\r\n\r\nI've wrapped up all the logic related to the version into a class `dockerversion.Version`, which manages the version + optional alias.\r\n\r\nCloses #92.","created_at":"2016-04-14T22:33:01Z","updated_at":"2016-04-14T22:33:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"carolynvs","id":1368985,"avatar_url":"https://avatars.githubusercontent.com/u/1368985?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynvs","html_url":"https://github.com/carolynvs","followers_url":"https://api.github.com/users/carolynvs/followers","following_url":"https://api.github.com/users/carolynvs/following{/other_user}","gists_url":"https://api.github.com/users/carolynvs/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynvs/subscriptions","organizations_url":"https://api.github.com/users/carolynvs/orgs","repos_url":"https://api.github.com/users/carolynvs/repos","events_url":"https://api.github.com/users/carolynvs/events{/privacy}","received_events_url":"https://api.github.com/users/carolynvs/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/getcarina/dvm/pulls/96/commits","review_comments_url":"https://api.github.com/repos/getcarina/dvm/pulls/96/comments","review_comment_url":"https://api.github.com/repos/getcarina/dvm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/getcarina/dvm/issues/96/comments","statuses_url":"https://api.github.com/repos/getcarina/dvm/statuses/619a67decbfac43f6d4be65aa8ffefc053732877","head":{"label":"carolynvs:semver-all-the-things","ref":"semver-all-the-things","sha":"619a67decbfac43f6d4be65aa8ffefc053732877","user":{"login":"carolynvs","id":1368985,"avatar_url":"https://avatars.githubusercontent.com/u/1368985?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynvs","html_url":"https://github.com/carolynvs","followers_url":"https://api.github.com/users/carolynvs/followers","following_url":"https://api.github.com/users/carolynvs/following{/other_user}","gists_url":"https://api.github.com/users/carolynvs/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynvs/subscriptions","organizations_url":"https://api.github.com/users/carolynvs/orgs","repos_url":"https://api.github.com/users/carolynvs/repos","events_url":"https://api.github.com/users/carolynvs/events{/privacy}","received_events_url":"https://api.github.com/users/carolynvs/received_events","type":"User","site_admin":false},"repo":{"id":44553892,"name":"dvm","full_name":"carolynvs/dvm","owner":{"login":"carolynvs","id":1368985,"avatar_url":"https://avatars.githubusercontent.com/u/1368985?v=3","gravatar_id":"","url":"https://api.github.com/users/carolynvs","html_url":"https://github.com/carolynvs","followers_url":"https://api.github.com/users/carolynvs/followers","following_url":"https://api.github.com/users/carolynvs/following{/other_user}","gists_url":"https://api.github.com/users/carolynvs/gists{/gist_id}","starred_url":"https://api.github.com/users/carolynvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carolynvs/subscriptions","organizations_url":"https://api.github.com/users/carolynvs/orgs","repos_url":"https://api.github.com/users/carolynvs/repos","events_url":"https://api.github.com/users/carolynvs/events{/privacy}","received_events_url":"https://api.github.com/users/carolynvs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carolynvs/dvm","description":"Docker Version Manager","fork":true,"url":"https://api.github.com/repos/carolynvs/dvm","forks_url":"https://api.github.com/repos/carolynvs/dvm/forks","keys_url":"https://api.github.com/repos/carolynvs/dvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carolynvs/dvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carolynvs/dvm/teams","hooks_url":"https://api.github.com/repos/carolynvs/dvm/hooks","issue_events_url":"https://api.github.com/repos/carolynvs/dvm/issues/events{/number}","events_url":"https://api.github.com/repos/carolynvs/dvm/events","assignees_url":"https://api.github.com/repos/carolynvs/dvm/assignees{/user}","branches_url":"https://api.github.com/repos/carolynvs/dvm/branches{/branch}","tags_url":"https://api.github.com/repos/carolynvs/dvm/tags","blobs_url":"https://api.github.com/repos/carolynvs/dvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carolynvs/dvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carolynvs/dvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/carolynvs/dvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carolynvs/dvm/statuses/{sha}","languages_url":"https://api.github.com/repos/carolynvs/dvm/languages","stargazers_url":"https://api.github.com/repos/carolynvs/dvm/stargazers","contributors_url":"https://api.github.com/repos/carolynvs/dvm/contributors","subscribers_url":"https://api.github.com/repos/carolynvs/dvm/subscribers","subscription_url":"https://api.github.com/repos/carolynvs/dvm/subscription","commits_url":"https://api.github.com/repos/carolynvs/dvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/carolynvs/dvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/carolynvs/dvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/carolynvs/dvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/carolynvs/dvm/contents/{+path}","compare_url":"https://api.github.com/repos/carolynvs/dvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carolynvs/dvm/merges","archive_url":"https://api.github.com/repos/carolynvs/dvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carolynvs/dvm/downloads","issues_url":"https://api.github.com/repos/carolynvs/dvm/issues{/number}","pulls_url":"https://api.github.com/repos/carolynvs/dvm/pulls{/number}","milestones_url":"https://api.github.com/repos/carolynvs/dvm/milestones{/number}","notifications_url":"https://api.github.com/repos/carolynvs/dvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carolynvs/dvm/labels{/name}","releases_url":"https://api.github.com/repos/carolynvs/dvm/releases{/id}","deployments_url":"https://api.github.com/repos/carolynvs/dvm/deployments","created_at":"2015-10-19T18:09:04Z","updated_at":"2015-10-27T20:37:50Z","pushed_at":"2016-04-14T22:32:42Z","git_url":"git://github.com/carolynvs/dvm.git","ssh_url":"git@github.com:carolynvs/dvm.git","clone_url":"https://github.com/carolynvs/dvm.git","svn_url":"https://github.com/carolynvs/dvm","homepage":null,"size":140,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"getcarina:master","ref":"master","sha":"d7aa16c32cfbd39525edc9bea699912abf89a4d6","user":{"login":"getcarina","id":15111063,"avatar_url":"https://avatars.githubusercontent.com/u/15111063?v=3","gravatar_id":"","url":"https://api.github.com/users/getcarina","html_url":"https://github.com/getcarina","followers_url":"https://api.github.com/users/getcarina/followers","following_url":"https://api.github.com/users/getcarina/following{/other_user}","gists_url":"https://api.github.com/users/getcarina/gists{/gist_id}","starred_url":"https://api.github.com/users/getcarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getcarina/subscriptions","organizations_url":"https://api.github.com/users/getcarina/orgs","repos_url":"https://api.github.com/users/getcarina/repos","events_url":"https://api.github.com/users/getcarina/events{/privacy}","received_events_url":"https://api.github.com/users/getcarina/received_events","type":"Organization","site_admin":false},"repo":{"id":42531199,"name":"dvm","full_name":"getcarina/dvm","owner":{"login":"getcarina","id":15111063,"avatar_url":"https://avatars.githubusercontent.com/u/15111063?v=3","gravatar_id":"","url":"https://api.github.com/users/getcarina","html_url":"https://github.com/getcarina","followers_url":"https://api.github.com/users/getcarina/followers","following_url":"https://api.github.com/users/getcarina/following{/other_user}","gists_url":"https://api.github.com/users/getcarina/gists{/gist_id}","starred_url":"https://api.github.com/users/getcarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getcarina/subscriptions","organizations_url":"https://api.github.com/users/getcarina/orgs","repos_url":"https://api.github.com/users/getcarina/repos","events_url":"https://api.github.com/users/getcarina/events{/privacy}","received_events_url":"https://api.github.com/users/getcarina/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/getcarina/dvm","description":"Docker Version Manager","fork":false,"url":"https://api.github.com/repos/getcarina/dvm","forks_url":"https://api.github.com/repos/getcarina/dvm/forks","keys_url":"https://api.github.com/repos/getcarina/dvm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getcarina/dvm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getcarina/dvm/teams","hooks_url":"https://api.github.com/repos/getcarina/dvm/hooks","issue_events_url":"https://api.github.com/repos/getcarina/dvm/issues/events{/number}","events_url":"https://api.github.com/repos/getcarina/dvm/events","assignees_url":"https://api.github.com/repos/getcarina/dvm/assignees{/user}","branches_url":"https://api.github.com/repos/getcarina/dvm/branches{/branch}","tags_url":"https://api.github.com/repos/getcarina/dvm/tags","blobs_url":"https://api.github.com/repos/getcarina/dvm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getcarina/dvm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getcarina/dvm/git/refs{/sha}","trees_url":"https://api.github.com/repos/getcarina/dvm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getcarina/dvm/statuses/{sha}","languages_url":"https://api.github.com/repos/getcarina/dvm/languages","stargazers_url":"https://api.github.com/repos/getcarina/dvm/stargazers","contributors_url":"https://api.github.com/repos/getcarina/dvm/contributors","subscribers_url":"https://api.github.com/repos/getcarina/dvm/subscribers","subscription_url":"https://api.github.com/repos/getcarina/dvm/subscription","commits_url":"https://api.github.com/repos/getcarina/dvm/commits{/sha}","git_commits_url":"https://api.github.com/repos/getcarina/dvm/git/commits{/sha}","comments_url":"https://api.github.com/repos/getcarina/dvm/comments{/number}","issue_comment_url":"https://api.github.com/repos/getcarina/dvm/issues/comments{/number}","contents_url":"https://api.github.com/repos/getcarina/dvm/contents/{+path}","compare_url":"https://api.github.com/repos/getcarina/dvm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getcarina/dvm/merges","archive_url":"https://api.github.com/repos/getcarina/dvm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getcarina/dvm/downloads","issues_url":"https://api.github.com/repos/getcarina/dvm/issues{/number}","pulls_url":"https://api.github.com/repos/getcarina/dvm/pulls{/number}","milestones_url":"https://api.github.com/repos/getcarina/dvm/milestones{/number}","notifications_url":"https://api.github.com/repos/getcarina/dvm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getcarina/dvm/labels{/name}","releases_url":"https://api.github.com/repos/getcarina/dvm/releases{/id}","deployments_url":"https://api.github.com/repos/getcarina/dvm/deployments","created_at":"2015-09-15T16:18:09Z","updated_at":"2016-04-14T10:34:23Z","pushed_at":"2016-04-14T22:33:01Z","git_url":"git://github.com/getcarina/dvm.git","ssh_url":"git@github.com:getcarina/dvm.git","clone_url":"https://github.com/getcarina/dvm.git","svn_url":"https://github.com/getcarina/dvm","homepage":null,"size":137,"stargazers_count":97,"watchers_count":97,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":14,"forks":16,"open_issues":14,"watchers":97,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/getcarina/dvm/pulls/96"},"html":{"href":"https://github.com/getcarina/dvm/pull/96"},"issue":{"href":"https://api.github.com/repos/getcarina/dvm/issues/96"},"comments":{"href":"https://api.github.com/repos/getcarina/dvm/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/getcarina/dvm/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/getcarina/dvm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/getcarina/dvm/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/getcarina/dvm/statuses/619a67decbfac43f6d4be65aa8ffefc053732877"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":228,"deletions":109,"changed_files":4}}