{"action":"created","comment":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/27236105","id":27236105,"diff_hunk":"@@ -0,0 +1,24 @@\n+# Get the version of a package in various debian repositories\n+package DDG::Spice::DebVersion;\n+\n+use Text::Trim;\n+use DDG::Spice;\n+\n+triggers startend => \"debian version\", \"debian versions\", \"deb ver\", \"debian ver\";\n+\n+# spice from => '([^/]+)/?(?:([^/]+)/?(?:([^/]+)|)|)';","path":"lib/DDG/Spice/DebVersion.pm","position":9,"original_position":9,"commit_id":"3938525cd899d4f33431357d5bcf8d8f60719fe4","original_commit_id":"3938525cd899d4f33431357d5bcf8d8f60719fe4","user":{"login":"moollaza","id":873785,"avatar_url":"https://avatars.githubusercontent.com/u/873785?v=3","gravatar_id":"","url":"https://api.github.com/users/moollaza","html_url":"https://github.com/moollaza","followers_url":"https://api.github.com/users/moollaza/followers","following_url":"https://api.github.com/users/moollaza/following{/other_user}","gists_url":"https://api.github.com/users/moollaza/gists{/gist_id}","starred_url":"https://api.github.com/users/moollaza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moollaza/subscriptions","organizations_url":"https://api.github.com/users/moollaza/orgs","repos_url":"https://api.github.com/users/moollaza/repos","events_url":"https://api.github.com/users/moollaza/events{/privacy}","received_events_url":"https://api.github.com/users/moollaza/received_events","type":"User","site_admin":false},"body":"Might as well remove this comment :)","created_at":"2015-03-26T17:33:45Z","updated_at":"2015-03-26T17:33:45Z","html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1667#discussion_r27236105","pull_request_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1667","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments/27236105"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1667#discussion_r27236105"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1667"}}},"pull_request":{"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1667","id":31683892,"html_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1667","diff_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1667.diff","patch_url":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1667.patch","issue_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1667","number":1667,"state":"open","locked":false,"title":"Reviving old branch - Ideas/deb","user":{"login":"iambibhas","id":357253,"avatar_url":"https://avatars.githubusercontent.com/u/357253?v=3","gravatar_id":"","url":"https://api.github.com/users/iambibhas","html_url":"https://github.com/iambibhas","followers_url":"https://api.github.com/users/iambibhas/followers","following_url":"https://api.github.com/users/iambibhas/following{/other_user}","gists_url":"https://api.github.com/users/iambibhas/gists{/gist_id}","starred_url":"https://api.github.com/users/iambibhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambibhas/subscriptions","organizations_url":"https://api.github.com/users/iambibhas/orgs","repos_url":"https://api.github.com/users/iambibhas/repos","events_url":"https://api.github.com/users/iambibhas/events{/privacy}","received_events_url":"https://api.github.com/users/iambibhas/received_events","type":"User","site_admin":false},"body":"One of the stale branches from #1535. Using the current frontend format and changed the API being used. Debian now has an API that returns JSON of the versions.\r\n\r\n![](http://imgur.com/UAJjt7d.png)","created_at":"2015-03-22T06:35:41Z","updated_at":"2015-03-26T17:33:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6c98a3d789727149724ae854ffca6e995e4f8067","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1667/commits","review_comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1667/comments","review_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1667/comments","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/3938525cd899d4f33431357d5bcf8d8f60719fe4","head":{"label":"iambibhas:ideas/deb","ref":"ideas/deb","sha":"3938525cd899d4f33431357d5bcf8d8f60719fe4","user":{"login":"iambibhas","id":357253,"avatar_url":"https://avatars.githubusercontent.com/u/357253?v=3","gravatar_id":"","url":"https://api.github.com/users/iambibhas","html_url":"https://github.com/iambibhas","followers_url":"https://api.github.com/users/iambibhas/followers","following_url":"https://api.github.com/users/iambibhas/following{/other_user}","gists_url":"https://api.github.com/users/iambibhas/gists{/gist_id}","starred_url":"https://api.github.com/users/iambibhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambibhas/subscriptions","organizations_url":"https://api.github.com/users/iambibhas/orgs","repos_url":"https://api.github.com/users/iambibhas/repos","events_url":"https://api.github.com/users/iambibhas/events{/privacy}","received_events_url":"https://api.github.com/users/iambibhas/received_events","type":"User","site_admin":false},"repo":{"id":31980001,"name":"zeroclickinfo-spice","full_name":"iambibhas/zeroclickinfo-spice","owner":{"login":"iambibhas","id":357253,"avatar_url":"https://avatars.githubusercontent.com/u/357253?v=3","gravatar_id":"","url":"https://api.github.com/users/iambibhas","html_url":"https://github.com/iambibhas","followers_url":"https://api.github.com/users/iambibhas/followers","following_url":"https://api.github.com/users/iambibhas/following{/other_user}","gists_url":"https://api.github.com/users/iambibhas/gists{/gist_id}","starred_url":"https://api.github.com/users/iambibhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iambibhas/subscriptions","organizations_url":"https://api.github.com/users/iambibhas/orgs","repos_url":"https://api.github.com/users/iambibhas/repos","events_url":"https://api.github.com/users/iambibhas/events{/privacy}","received_events_url":"https://api.github.com/users/iambibhas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iambibhas/zeroclickinfo-spice","description":"DuckDuckGo instant answer plugins based on JavaScript APIs","fork":true,"url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice","forks_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/forks","keys_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/teams","hooks_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/hooks","issue_events_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/issues/events{/number}","events_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/events","assignees_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/assignees{/user}","branches_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/branches{/branch}","tags_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/tags","blobs_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/git/refs{/sha}","trees_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/statuses/{sha}","languages_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/languages","stargazers_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/stargazers","contributors_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/contributors","subscribers_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/subscribers","subscription_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/subscription","commits_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/commits{/sha}","git_commits_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/git/commits{/sha}","comments_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/comments{/number}","issue_comment_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/issues/comments{/number}","contents_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/contents/{+path}","compare_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/merges","archive_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/downloads","issues_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/issues{/number}","pulls_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/pulls{/number}","milestones_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/milestones{/number}","notifications_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/labels{/name}","releases_url":"https://api.github.com/repos/iambibhas/zeroclickinfo-spice/releases{/id}","created_at":"2015-03-10T20:25:35Z","updated_at":"2015-03-10T20:25:39Z","pushed_at":"2015-03-26T09:15:29Z","git_url":"git://github.com/iambibhas/zeroclickinfo-spice.git","ssh_url":"git@github.com:iambibhas/zeroclickinfo-spice.git","clone_url":"https://github.com/iambibhas/zeroclickinfo-spice.git","svn_url":"https://github.com/iambibhas/zeroclickinfo-spice","homepage":"http://duckduckhack.com/","size":14266,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"duckduckgo:master","ref":"master","sha":"0149f780bd7a9555843b0df6605ac7cb0aca2476","user":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"repo":{"id":1997671,"name":"zeroclickinfo-spice","full_name":"duckduckgo/zeroclickinfo-spice","owner":{"login":"duckduckgo","id":342708,"avatar_url":"https://avatars.githubusercontent.com/u/342708?v=3","gravatar_id":"","url":"https://api.github.com/users/duckduckgo","html_url":"https://github.com/duckduckgo","followers_url":"https://api.github.com/users/duckduckgo/followers","following_url":"https://api.github.com/users/duckduckgo/following{/other_user}","gists_url":"https://api.github.com/users/duckduckgo/gists{/gist_id}","starred_url":"https://api.github.com/users/duckduckgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckduckgo/subscriptions","organizations_url":"https://api.github.com/users/duckduckgo/orgs","repos_url":"https://api.github.com/users/duckduckgo/repos","events_url":"https://api.github.com/users/duckduckgo/events{/privacy}","received_events_url":"https://api.github.com/users/duckduckgo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/duckduckgo/zeroclickinfo-spice","description":"DuckDuckGo instant answer plugins based on JavaScript APIs","fork":false,"url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice","forks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/forks","keys_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/teams","hooks_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/hooks","issue_events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/events{/number}","events_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/events","assignees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/assignees{/user}","branches_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/branches{/branch}","tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/tags","blobs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/refs{/sha}","trees_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/{sha}","languages_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/languages","stargazers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/stargazers","contributors_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/contributors","subscribers_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/subscribers","subscription_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/subscription","commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/commits{/sha}","git_commits_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/git/commits{/sha}","comments_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/comments{/number}","issue_comment_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/comments{/number}","contents_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/contents/{+path}","compare_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/merges","archive_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/downloads","issues_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues{/number}","pulls_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls{/number}","milestones_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/milestones{/number}","notifications_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/labels{/name}","releases_url":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/releases{/id}","created_at":"2011-07-04T22:08:37Z","updated_at":"2015-03-26T16:20:22Z","pushed_at":"2015-03-26T17:05:24Z","git_url":"git://github.com/duckduckgo/zeroclickinfo-spice.git","ssh_url":"git@github.com:duckduckgo/zeroclickinfo-spice.git","clone_url":"https://github.com/duckduckgo/zeroclickinfo-spice.git","svn_url":"https://github.com/duckduckgo/zeroclickinfo-spice","homepage":"http://duckduckhack.com/","size":33113,"stargazers_count":218,"watchers_count":218,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":488,"mirror_url":null,"open_issues_count":121,"forks":488,"open_issues":121,"watchers":218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1667"},"html":{"href":"https://github.com/duckduckgo/zeroclickinfo-spice/pull/1667"},"issue":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1667"},"comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/issues/1667/comments"},"review_comments":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1667/comments"},"review_comment":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/pulls/1667/commits"},"statuses":{"href":"https://api.github.com/repos/duckduckgo/zeroclickinfo-spice/statuses/3938525cd899d4f33431357d5bcf8d8f60719fe4"}}}}