{"action":"created","comment":{"url":"https://api.github.com/repos/fedora-infra/anitya/pulls/comments/31412890","id":31412890,"diff_hunk":"@@ -0,0 +1,58 @@\n+# -*- coding: utf-8 -*-\n+\n+\"\"\"\n+ (c) 2014-2015 - Copyright Red Hat Inc\n+ Authors:\n+   Pierre-Yves Chibon <pingou@pingoured.fr>","path":"anitya/lib/backends/stackage.py","position":6,"original_position":6,"commit_id":"015c99f98e8c33d7f2be9cc652d645ea7c09f617","original_commit_id":"015c99f98e8c33d7f2be9cc652d645ea7c09f617","user":{"login":"juhp","id":82731,"avatar_url":"https://avatars.githubusercontent.com/u/82731?v=3","gravatar_id":"","url":"https://api.github.com/users/juhp","html_url":"https://github.com/juhp","followers_url":"https://api.github.com/users/juhp/followers","following_url":"https://api.github.com/users/juhp/following{/other_user}","gists_url":"https://api.github.com/users/juhp/gists{/gist_id}","starred_url":"https://api.github.com/users/juhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhp/subscriptions","organizations_url":"https://api.github.com/users/juhp/orgs","repos_url":"https://api.github.com/users/juhp/repos","events_url":"https://api.github.com/users/juhp/events{/privacy}","received_events_url":"https://api.github.com/users/juhp/received_events","type":"User","site_admin":false},"body":"Okay up to you - most of the file is just copied from hackage.py.","created_at":"2015-06-01T10:01:11Z","updated_at":"2015-06-01T10:01:11Z","html_url":"https://github.com/fedora-infra/anitya/pull/167#discussion_r31412890","pull_request_url":"https://api.github.com/repos/fedora-infra/anitya/pulls/167","_links":{"self":{"href":"https://api.github.com/repos/fedora-infra/anitya/pulls/comments/31412890"},"html":{"href":"https://github.com/fedora-infra/anitya/pull/167#discussion_r31412890"},"pull_request":{"href":"https://api.github.com/repos/fedora-infra/anitya/pulls/167"}}},"pull_request":{"url":"https://api.github.com/repos/fedora-infra/anitya/pulls/167","id":36613512,"html_url":"https://github.com/fedora-infra/anitya/pull/167","diff_url":"https://github.com/fedora-infra/anitya/pull/167.diff","patch_url":"https://github.com/fedora-infra/anitya/pull/167.patch","issue_url":"https://api.github.com/repos/fedora-infra/anitya/issues/167","number":167,"state":"open","locked":false,"title":"add haskell Stackage backend","user":{"login":"juhp","id":82731,"avatar_url":"https://avatars.githubusercontent.com/u/82731?v=3","gravatar_id":"","url":"https://api.github.com/users/juhp","html_url":"https://github.com/juhp","followers_url":"https://api.github.com/users/juhp/followers","following_url":"https://api.github.com/users/juhp/following{/other_user}","gists_url":"https://api.github.com/users/juhp/gists{/gist_id}","starred_url":"https://api.github.com/users/juhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhp/subscriptions","organizations_url":"https://api.github.com/users/juhp/orgs","repos_url":"https://api.github.com/users/juhp/repos","events_url":"https://api.github.com/users/juhp/events{/privacy}","received_events_url":"https://api.github.com/users/juhp/received_events","type":"User","site_admin":false},"body":"This adds a new backend for Stackage (stable Haskell packages).\r\n\r\nStackage is a stabler subset of Hackage which we want to use for\r\nFedora Haskell package tracking when available.\r\n(Not all Fedora Haskell packages are in Stackage though so we still need the Hackage backend too.)\r\n\r\nThis is derived from hackage.py.\r\n\r\nI guess some test(s) needed too, if this looks ok?  Anything else?","created_at":"2015-06-01T09:53:27Z","updated_at":"2015-06-01T10:01:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1a137ff7a0e24fcebfbdb3c646e06f425c0d87b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fedora-infra/anitya/pulls/167/commits","review_comments_url":"https://api.github.com/repos/fedora-infra/anitya/pulls/167/comments","review_comment_url":"https://api.github.com/repos/fedora-infra/anitya/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fedora-infra/anitya/issues/167/comments","statuses_url":"https://api.github.com/repos/fedora-infra/anitya/statuses/015c99f98e8c33d7f2be9cc652d645ea7c09f617","head":{"label":"juhp:juhp-patch-1","ref":"juhp-patch-1","sha":"015c99f98e8c33d7f2be9cc652d645ea7c09f617","user":{"login":"juhp","id":82731,"avatar_url":"https://avatars.githubusercontent.com/u/82731?v=3","gravatar_id":"","url":"https://api.github.com/users/juhp","html_url":"https://github.com/juhp","followers_url":"https://api.github.com/users/juhp/followers","following_url":"https://api.github.com/users/juhp/following{/other_user}","gists_url":"https://api.github.com/users/juhp/gists{/gist_id}","starred_url":"https://api.github.com/users/juhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhp/subscriptions","organizations_url":"https://api.github.com/users/juhp/orgs","repos_url":"https://api.github.com/users/juhp/repos","events_url":"https://api.github.com/users/juhp/events{/privacy}","received_events_url":"https://api.github.com/users/juhp/received_events","type":"User","site_admin":false},"repo":{"id":36647807,"name":"anitya","full_name":"juhp/anitya","owner":{"login":"juhp","id":82731,"avatar_url":"https://avatars.githubusercontent.com/u/82731?v=3","gravatar_id":"","url":"https://api.github.com/users/juhp","html_url":"https://github.com/juhp","followers_url":"https://api.github.com/users/juhp/followers","following_url":"https://api.github.com/users/juhp/following{/other_user}","gists_url":"https://api.github.com/users/juhp/gists{/gist_id}","starred_url":"https://api.github.com/users/juhp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhp/subscriptions","organizations_url":"https://api.github.com/users/juhp/orgs","repos_url":"https://api.github.com/users/juhp/repos","events_url":"https://api.github.com/users/juhp/events{/privacy}","received_events_url":"https://api.github.com/users/juhp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/juhp/anitya","description":"A cross-distribution upstream release monitoring project","fork":true,"url":"https://api.github.com/repos/juhp/anitya","forks_url":"https://api.github.com/repos/juhp/anitya/forks","keys_url":"https://api.github.com/repos/juhp/anitya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/juhp/anitya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/juhp/anitya/teams","hooks_url":"https://api.github.com/repos/juhp/anitya/hooks","issue_events_url":"https://api.github.com/repos/juhp/anitya/issues/events{/number}","events_url":"https://api.github.com/repos/juhp/anitya/events","assignees_url":"https://api.github.com/repos/juhp/anitya/assignees{/user}","branches_url":"https://api.github.com/repos/juhp/anitya/branches{/branch}","tags_url":"https://api.github.com/repos/juhp/anitya/tags","blobs_url":"https://api.github.com/repos/juhp/anitya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/juhp/anitya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/juhp/anitya/git/refs{/sha}","trees_url":"https://api.github.com/repos/juhp/anitya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/juhp/anitya/statuses/{sha}","languages_url":"https://api.github.com/repos/juhp/anitya/languages","stargazers_url":"https://api.github.com/repos/juhp/anitya/stargazers","contributors_url":"https://api.github.com/repos/juhp/anitya/contributors","subscribers_url":"https://api.github.com/repos/juhp/anitya/subscribers","subscription_url":"https://api.github.com/repos/juhp/anitya/subscription","commits_url":"https://api.github.com/repos/juhp/anitya/commits{/sha}","git_commits_url":"https://api.github.com/repos/juhp/anitya/git/commits{/sha}","comments_url":"https://api.github.com/repos/juhp/anitya/comments{/number}","issue_comment_url":"https://api.github.com/repos/juhp/anitya/issues/comments{/number}","contents_url":"https://api.github.com/repos/juhp/anitya/contents/{+path}","compare_url":"https://api.github.com/repos/juhp/anitya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/juhp/anitya/merges","archive_url":"https://api.github.com/repos/juhp/anitya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/juhp/anitya/downloads","issues_url":"https://api.github.com/repos/juhp/anitya/issues{/number}","pulls_url":"https://api.github.com/repos/juhp/anitya/pulls{/number}","milestones_url":"https://api.github.com/repos/juhp/anitya/milestones{/number}","notifications_url":"https://api.github.com/repos/juhp/anitya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/juhp/anitya/labels{/name}","releases_url":"https://api.github.com/repos/juhp/anitya/releases{/id}","created_at":"2015-06-01T08:30:18Z","updated_at":"2015-06-01T08:30:33Z","pushed_at":"2015-06-01T09:42:22Z","git_url":"git://github.com/juhp/anitya.git","ssh_url":"git@github.com:juhp/anitya.git","clone_url":"https://github.com/juhp/anitya.git","svn_url":"https://github.com/juhp/anitya","homepage":"https://release-monitoring.org","size":5675,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"fedora-infra:master","ref":"master","sha":"90dc5779262486eaa9a25709b1b26febfe16b64d","user":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":14798348,"name":"anitya","full_name":"fedora-infra/anitya","owner":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fedora-infra/anitya","description":"A cross-distribution upstream release monitoring project","fork":false,"url":"https://api.github.com/repos/fedora-infra/anitya","forks_url":"https://api.github.com/repos/fedora-infra/anitya/forks","keys_url":"https://api.github.com/repos/fedora-infra/anitya/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedora-infra/anitya/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedora-infra/anitya/teams","hooks_url":"https://api.github.com/repos/fedora-infra/anitya/hooks","issue_events_url":"https://api.github.com/repos/fedora-infra/anitya/issues/events{/number}","events_url":"https://api.github.com/repos/fedora-infra/anitya/events","assignees_url":"https://api.github.com/repos/fedora-infra/anitya/assignees{/user}","branches_url":"https://api.github.com/repos/fedora-infra/anitya/branches{/branch}","tags_url":"https://api.github.com/repos/fedora-infra/anitya/tags","blobs_url":"https://api.github.com/repos/fedora-infra/anitya/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedora-infra/anitya/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedora-infra/anitya/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedora-infra/anitya/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedora-infra/anitya/statuses/{sha}","languages_url":"https://api.github.com/repos/fedora-infra/anitya/languages","stargazers_url":"https://api.github.com/repos/fedora-infra/anitya/stargazers","contributors_url":"https://api.github.com/repos/fedora-infra/anitya/contributors","subscribers_url":"https://api.github.com/repos/fedora-infra/anitya/subscribers","subscription_url":"https://api.github.com/repos/fedora-infra/anitya/subscription","commits_url":"https://api.github.com/repos/fedora-infra/anitya/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedora-infra/anitya/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedora-infra/anitya/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedora-infra/anitya/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedora-infra/anitya/contents/{+path}","compare_url":"https://api.github.com/repos/fedora-infra/anitya/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedora-infra/anitya/merges","archive_url":"https://api.github.com/repos/fedora-infra/anitya/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedora-infra/anitya/downloads","issues_url":"https://api.github.com/repos/fedora-infra/anitya/issues{/number}","pulls_url":"https://api.github.com/repos/fedora-infra/anitya/pulls{/number}","milestones_url":"https://api.github.com/repos/fedora-infra/anitya/milestones{/number}","notifications_url":"https://api.github.com/repos/fedora-infra/anitya/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedora-infra/anitya/labels{/name}","releases_url":"https://api.github.com/repos/fedora-infra/anitya/releases{/id}","created_at":"2013-11-29T10:17:26Z","updated_at":"2015-05-31T10:33:12Z","pushed_at":"2015-06-01T09:53:28Z","git_url":"git://github.com/fedora-infra/anitya.git","ssh_url":"git@github.com:fedora-infra/anitya.git","clone_url":"https://github.com/fedora-infra/anitya.git","svn_url":"https://github.com/fedora-infra/anitya","homepage":"https://release-monitoring.org","size":5675,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":9,"forks":13,"open_issues":9,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fedora-infra/anitya/pulls/167"},"html":{"href":"https://github.com/fedora-infra/anitya/pull/167"},"issue":{"href":"https://api.github.com/repos/fedora-infra/anitya/issues/167"},"comments":{"href":"https://api.github.com/repos/fedora-infra/anitya/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/fedora-infra/anitya/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/fedora-infra/anitya/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fedora-infra/anitya/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/fedora-infra/anitya/statuses/015c99f98e8c33d7f2be9cc652d645ea7c09f617"}}}}