{"action":"created","comment":{"url":"https://api.github.com/repos/divmain/GitSavvy/pulls/comments/65059981","id":65059981,"diff_hunk":"@@ -33,3 +36,15 @@ def get_lastest_local_tag(self):\n \n         tag = self.git(\"describe\", \"--tags\", \"--abbrev=0\", throw_on_stderr=False).strip()\n         return tag\n+\n+    def handle_semver_tags(self, entries):\n+        \"\"\"\n+        Sorts tags using LooseVersion if there's a tag matching the semver format.\n+        \"\"\"\n+\n+        semver_test = re.compile('\\d+\\.\\d+\\.\\d+')","path":"core/git_mixins/tags.py","position":25,"original_position":25,"commit_id":"31fef9837d2ede9b79592088236385849d4047de","original_commit_id":"31fef9837d2ede9b79592088236385849d4047de","user":{"login":"stoivo","id":3492040,"avatar_url":"https://avatars.githubusercontent.com/u/3492040?v=3","gravatar_id":"","url":"https://api.github.com/users/stoivo","html_url":"https://github.com/stoivo","followers_url":"https://api.github.com/users/stoivo/followers","following_url":"https://api.github.com/users/stoivo/following{/other_user}","gists_url":"https://api.github.com/users/stoivo/gists{/gist_id}","starred_url":"https://api.github.com/users/stoivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoivo/subscriptions","organizations_url":"https://api.github.com/users/stoivo/orgs","repos_url":"https://api.github.com/users/stoivo/repos","events_url":"https://api.github.com/users/stoivo/events{/privacy}","received_events_url":"https://api.github.com/users/stoivo/received_events","type":"User","site_admin":false},"body":"This one does not match 'v1.2.3'.\r\n```python\r\n>>> print(semver_test.match('1.2.3'))\r\n<_sre.SRE_Match object at 0x11090fa58>\r\n>>> print(semver_test.match('v1.2.3'))\r\nNone\r\n```","created_at":"2016-05-30T11:37:14Z","updated_at":"2016-05-30T11:37:14Z","html_url":"https://github.com/divmain/GitSavvy/pull/418#discussion_r65059981","pull_request_url":"https://api.github.com/repos/divmain/GitSavvy/pulls/418","_links":{"self":{"href":"https://api.github.com/repos/divmain/GitSavvy/pulls/comments/65059981"},"html":{"href":"https://github.com/divmain/GitSavvy/pull/418#discussion_r65059981"},"pull_request":{"href":"https://api.github.com/repos/divmain/GitSavvy/pulls/418"}}},"pull_request":{"url":"https://api.github.com/repos/divmain/GitSavvy/pulls/418","id":71812528,"html_url":"https://github.com/divmain/GitSavvy/pull/418","diff_url":"https://github.com/divmain/GitSavvy/pull/418.diff","patch_url":"https://github.com/divmain/GitSavvy/pull/418.patch","issue_url":"https://api.github.com/repos/divmain/GitSavvy/issues/418","number":418,"state":"open","locked":false,"title":"Detect semver tags and sort accordingly","user":{"login":"mreq","id":1286942,"avatar_url":"https://avatars.githubusercontent.com/u/1286942?v=3","gravatar_id":"","url":"https://api.github.com/users/mreq","html_url":"https://github.com/mreq","followers_url":"https://api.github.com/users/mreq/followers","following_url":"https://api.github.com/users/mreq/following{/other_user}","gists_url":"https://api.github.com/users/mreq/gists{/gist_id}","starred_url":"https://api.github.com/users/mreq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreq/subscriptions","organizations_url":"https://api.github.com/users/mreq/orgs","repos_url":"https://api.github.com/users/mreq/repos","events_url":"https://api.github.com/users/mreq/events{/privacy}","received_events_url":"https://api.github.com/users/mreq/received_events","type":"User","site_admin":false},"body":"PR for #352 \r\n\r\nfeel free to move the function around, am not sure where to put it exactly","created_at":"2016-05-28T21:53:21Z","updated_at":"2016-05-30T11:37:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ff89a4f083b0cf871bc63c3f2888b77d0726bbc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/divmain/GitSavvy/pulls/418/commits","review_comments_url":"https://api.github.com/repos/divmain/GitSavvy/pulls/418/comments","review_comment_url":"https://api.github.com/repos/divmain/GitSavvy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/divmain/GitSavvy/issues/418/comments","statuses_url":"https://api.github.com/repos/divmain/GitSavvy/statuses/31fef9837d2ede9b79592088236385849d4047de","head":{"label":"mreq:semver-tags","ref":"semver-tags","sha":"31fef9837d2ede9b79592088236385849d4047de","user":{"login":"mreq","id":1286942,"avatar_url":"https://avatars.githubusercontent.com/u/1286942?v=3","gravatar_id":"","url":"https://api.github.com/users/mreq","html_url":"https://github.com/mreq","followers_url":"https://api.github.com/users/mreq/followers","following_url":"https://api.github.com/users/mreq/following{/other_user}","gists_url":"https://api.github.com/users/mreq/gists{/gist_id}","starred_url":"https://api.github.com/users/mreq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreq/subscriptions","organizations_url":"https://api.github.com/users/mreq/orgs","repos_url":"https://api.github.com/users/mreq/repos","events_url":"https://api.github.com/users/mreq/events{/privacy}","received_events_url":"https://api.github.com/users/mreq/received_events","type":"User","site_admin":false},"repo":{"id":53979229,"name":"GitSavvy","full_name":"mreq/GitSavvy","owner":{"login":"mreq","id":1286942,"avatar_url":"https://avatars.githubusercontent.com/u/1286942?v=3","gravatar_id":"","url":"https://api.github.com/users/mreq","html_url":"https://github.com/mreq","followers_url":"https://api.github.com/users/mreq/followers","following_url":"https://api.github.com/users/mreq/following{/other_user}","gists_url":"https://api.github.com/users/mreq/gists{/gist_id}","starred_url":"https://api.github.com/users/mreq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreq/subscriptions","organizations_url":"https://api.github.com/users/mreq/orgs","repos_url":"https://api.github.com/users/mreq/repos","events_url":"https://api.github.com/users/mreq/events{/privacy}","received_events_url":"https://api.github.com/users/mreq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mreq/GitSavvy","description":"Full git and GitHub integration with Sublime Text 3.","fork":true,"url":"https://api.github.com/repos/mreq/GitSavvy","forks_url":"https://api.github.com/repos/mreq/GitSavvy/forks","keys_url":"https://api.github.com/repos/mreq/GitSavvy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mreq/GitSavvy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mreq/GitSavvy/teams","hooks_url":"https://api.github.com/repos/mreq/GitSavvy/hooks","issue_events_url":"https://api.github.com/repos/mreq/GitSavvy/issues/events{/number}","events_url":"https://api.github.com/repos/mreq/GitSavvy/events","assignees_url":"https://api.github.com/repos/mreq/GitSavvy/assignees{/user}","branches_url":"https://api.github.com/repos/mreq/GitSavvy/branches{/branch}","tags_url":"https://api.github.com/repos/mreq/GitSavvy/tags","blobs_url":"https://api.github.com/repos/mreq/GitSavvy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mreq/GitSavvy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mreq/GitSavvy/git/refs{/sha}","trees_url":"https://api.github.com/repos/mreq/GitSavvy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mreq/GitSavvy/statuses/{sha}","languages_url":"https://api.github.com/repos/mreq/GitSavvy/languages","stargazers_url":"https://api.github.com/repos/mreq/GitSavvy/stargazers","contributors_url":"https://api.github.com/repos/mreq/GitSavvy/contributors","subscribers_url":"https://api.github.com/repos/mreq/GitSavvy/subscribers","subscription_url":"https://api.github.com/repos/mreq/GitSavvy/subscription","commits_url":"https://api.github.com/repos/mreq/GitSavvy/commits{/sha}","git_commits_url":"https://api.github.com/repos/mreq/GitSavvy/git/commits{/sha}","comments_url":"https://api.github.com/repos/mreq/GitSavvy/comments{/number}","issue_comment_url":"https://api.github.com/repos/mreq/GitSavvy/issues/comments{/number}","contents_url":"https://api.github.com/repos/mreq/GitSavvy/contents/{+path}","compare_url":"https://api.github.com/repos/mreq/GitSavvy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mreq/GitSavvy/merges","archive_url":"https://api.github.com/repos/mreq/GitSavvy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mreq/GitSavvy/downloads","issues_url":"https://api.github.com/repos/mreq/GitSavvy/issues{/number}","pulls_url":"https://api.github.com/repos/mreq/GitSavvy/pulls{/number}","milestones_url":"https://api.github.com/repos/mreq/GitSavvy/milestones{/number}","notifications_url":"https://api.github.com/repos/mreq/GitSavvy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mreq/GitSavvy/labels{/name}","releases_url":"https://api.github.com/repos/mreq/GitSavvy/releases{/id}","deployments_url":"https://api.github.com/repos/mreq/GitSavvy/deployments","created_at":"2016-03-15T21:19:17Z","updated_at":"2016-03-15T21:19:18Z","pushed_at":"2016-05-28T21:52:08Z","git_url":"git://github.com/mreq/GitSavvy.git","ssh_url":"git@github.com:mreq/GitSavvy.git","clone_url":"https://github.com/mreq/GitSavvy.git","svn_url":"https://github.com/mreq/GitSavvy","homepage":"","size":976,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"divmain:master","ref":"master","sha":"12d0154cf3a9ef4e268a79152a7abe3fd4447107","user":{"login":"divmain","id":5016978,"avatar_url":"https://avatars.githubusercontent.com/u/5016978?v=3","gravatar_id":"","url":"https://api.github.com/users/divmain","html_url":"https://github.com/divmain","followers_url":"https://api.github.com/users/divmain/followers","following_url":"https://api.github.com/users/divmain/following{/other_user}","gists_url":"https://api.github.com/users/divmain/gists{/gist_id}","starred_url":"https://api.github.com/users/divmain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divmain/subscriptions","organizations_url":"https://api.github.com/users/divmain/orgs","repos_url":"https://api.github.com/users/divmain/repos","events_url":"https://api.github.com/users/divmain/events{/privacy}","received_events_url":"https://api.github.com/users/divmain/received_events","type":"User","site_admin":false},"repo":{"id":29417074,"name":"GitSavvy","full_name":"divmain/GitSavvy","owner":{"login":"divmain","id":5016978,"avatar_url":"https://avatars.githubusercontent.com/u/5016978?v=3","gravatar_id":"","url":"https://api.github.com/users/divmain","html_url":"https://github.com/divmain","followers_url":"https://api.github.com/users/divmain/followers","following_url":"https://api.github.com/users/divmain/following{/other_user}","gists_url":"https://api.github.com/users/divmain/gists{/gist_id}","starred_url":"https://api.github.com/users/divmain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divmain/subscriptions","organizations_url":"https://api.github.com/users/divmain/orgs","repos_url":"https://api.github.com/users/divmain/repos","events_url":"https://api.github.com/users/divmain/events{/privacy}","received_events_url":"https://api.github.com/users/divmain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/divmain/GitSavvy","description":"Full git and GitHub integration with Sublime Text 3.","fork":false,"url":"https://api.github.com/repos/divmain/GitSavvy","forks_url":"https://api.github.com/repos/divmain/GitSavvy/forks","keys_url":"https://api.github.com/repos/divmain/GitSavvy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/divmain/GitSavvy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/divmain/GitSavvy/teams","hooks_url":"https://api.github.com/repos/divmain/GitSavvy/hooks","issue_events_url":"https://api.github.com/repos/divmain/GitSavvy/issues/events{/number}","events_url":"https://api.github.com/repos/divmain/GitSavvy/events","assignees_url":"https://api.github.com/repos/divmain/GitSavvy/assignees{/user}","branches_url":"https://api.github.com/repos/divmain/GitSavvy/branches{/branch}","tags_url":"https://api.github.com/repos/divmain/GitSavvy/tags","blobs_url":"https://api.github.com/repos/divmain/GitSavvy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/divmain/GitSavvy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/divmain/GitSavvy/git/refs{/sha}","trees_url":"https://api.github.com/repos/divmain/GitSavvy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/divmain/GitSavvy/statuses/{sha}","languages_url":"https://api.github.com/repos/divmain/GitSavvy/languages","stargazers_url":"https://api.github.com/repos/divmain/GitSavvy/stargazers","contributors_url":"https://api.github.com/repos/divmain/GitSavvy/contributors","subscribers_url":"https://api.github.com/repos/divmain/GitSavvy/subscribers","subscription_url":"https://api.github.com/repos/divmain/GitSavvy/subscription","commits_url":"https://api.github.com/repos/divmain/GitSavvy/commits{/sha}","git_commits_url":"https://api.github.com/repos/divmain/GitSavvy/git/commits{/sha}","comments_url":"https://api.github.com/repos/divmain/GitSavvy/comments{/number}","issue_comment_url":"https://api.github.com/repos/divmain/GitSavvy/issues/comments{/number}","contents_url":"https://api.github.com/repos/divmain/GitSavvy/contents/{+path}","compare_url":"https://api.github.com/repos/divmain/GitSavvy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/divmain/GitSavvy/merges","archive_url":"https://api.github.com/repos/divmain/GitSavvy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/divmain/GitSavvy/downloads","issues_url":"https://api.github.com/repos/divmain/GitSavvy/issues{/number}","pulls_url":"https://api.github.com/repos/divmain/GitSavvy/pulls{/number}","milestones_url":"https://api.github.com/repos/divmain/GitSavvy/milestones{/number}","notifications_url":"https://api.github.com/repos/divmain/GitSavvy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/divmain/GitSavvy/labels{/name}","releases_url":"https://api.github.com/repos/divmain/GitSavvy/releases{/id}","deployments_url":"https://api.github.com/repos/divmain/GitSavvy/deployments","created_at":"2015-01-18T05:40:08Z","updated_at":"2016-05-29T16:27:40Z","pushed_at":"2016-05-28T21:53:21Z","git_url":"git://github.com/divmain/GitSavvy.git","ssh_url":"git@github.com:divmain/GitSavvy.git","clone_url":"https://github.com/divmain/GitSavvy.git","svn_url":"https://github.com/divmain/GitSavvy","homepage":"","size":1036,"stargazers_count":1340,"watchers_count":1340,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":81,"mirror_url":null,"open_issues_count":41,"forks":81,"open_issues":41,"watchers":1340,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/divmain/GitSavvy/pulls/418"},"html":{"href":"https://github.com/divmain/GitSavvy/pull/418"},"issue":{"href":"https://api.github.com/repos/divmain/GitSavvy/issues/418"},"comments":{"href":"https://api.github.com/repos/divmain/GitSavvy/issues/418/comments"},"review_comments":{"href":"https://api.github.com/repos/divmain/GitSavvy/pulls/418/comments"},"review_comment":{"href":"https://api.github.com/repos/divmain/GitSavvy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/divmain/GitSavvy/pulls/418/commits"},"statuses":{"href":"https://api.github.com/repos/divmain/GitSavvy/statuses/31fef9837d2ede9b79592088236385849d4047de"}}}}
{"actor":{"display_login":"stoivo"}}