{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/clearlinux/autospec/pulls/21","id":145009770,"html_url":"https://github.com/clearlinux/autospec/pull/21","diff_url":"https://github.com/clearlinux/autospec/pull/21.diff","patch_url":"https://github.com/clearlinux/autospec/pull/21.patch","issue_url":"https://api.github.com/repos/clearlinux/autospec/issues/21","number":21,"state":"open","locked":false,"title":"Updates to allow autospec to be installable","user":{"login":"bensallen","id":1652762,"avatar_url":"https://avatars1.githubusercontent.com/u/1652762?v=4","gravatar_id":"","url":"https://api.github.com/users/bensallen","html_url":"https://github.com/bensallen","followers_url":"https://api.github.com/users/bensallen/followers","following_url":"https://api.github.com/users/bensallen/following{/other_user}","gists_url":"https://api.github.com/users/bensallen/gists{/gist_id}","starred_url":"https://api.github.com/users/bensallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensallen/subscriptions","organizations_url":"https://api.github.com/users/bensallen/orgs","repos_url":"https://api.github.com/users/bensallen/repos","events_url":"https://api.github.com/users/bensallen/events{/privacy}","received_events_url":"https://api.github.com/users/bensallen/received_events","type":"User","site_admin":false},"body":"- Rename autospec package to libautospec to avoid name collisions between autospec.py itself and the package.\r\n- Update all import modules in libautospec to use `from libautospec import ...` to provide appropriate name spacing of modules, without having to change existing calls to functions in said modules.\r\n- Update Makefile to set PYTHONPATH to ${CURDIR}/, so new use `from libautospec import ...` is tested and correctly pathed.\r\n- Update all tests for new package libautospec naming.\r\n- Move autospec.py to scripts directory so it is not included in libautospec package.\r\n- Add autospec.py as a script so setuptools will install it to /usr/bin or similar.\r\n\r\nSuggest reviewing 81043e2, which was committed before renaming the autospec directory to libautospec. This commit provides actual diffs.\r\n\r\nShould close #8.","created_at":"2017-10-05T20:12:55Z","updated_at":"2017-10-05T20:12:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/clearlinux/autospec/pulls/21/commits","review_comments_url":"https://api.github.com/repos/clearlinux/autospec/pulls/21/comments","review_comment_url":"https://api.github.com/repos/clearlinux/autospec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clearlinux/autospec/issues/21/comments","statuses_url":"https://api.github.com/repos/clearlinux/autospec/statuses/5643e3e58747f64c522fb21636acb58bbd789962","head":{"label":"bensallen:package_rename","ref":"package_rename","sha":"5643e3e58747f64c522fb21636acb58bbd789962","user":{"login":"bensallen","id":1652762,"avatar_url":"https://avatars1.githubusercontent.com/u/1652762?v=4","gravatar_id":"","url":"https://api.github.com/users/bensallen","html_url":"https://github.com/bensallen","followers_url":"https://api.github.com/users/bensallen/followers","following_url":"https://api.github.com/users/bensallen/following{/other_user}","gists_url":"https://api.github.com/users/bensallen/gists{/gist_id}","starred_url":"https://api.github.com/users/bensallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensallen/subscriptions","organizations_url":"https://api.github.com/users/bensallen/orgs","repos_url":"https://api.github.com/users/bensallen/repos","events_url":"https://api.github.com/users/bensallen/events{/privacy}","received_events_url":"https://api.github.com/users/bensallen/received_events","type":"User","site_admin":false},"repo":{"id":83169200,"name":"autospec","full_name":"bensallen/autospec","owner":{"login":"bensallen","id":1652762,"avatar_url":"https://avatars1.githubusercontent.com/u/1652762?v=4","gravatar_id":"","url":"https://api.github.com/users/bensallen","html_url":"https://github.com/bensallen","followers_url":"https://api.github.com/users/bensallen/followers","following_url":"https://api.github.com/users/bensallen/following{/other_user}","gists_url":"https://api.github.com/users/bensallen/gists{/gist_id}","starred_url":"https://api.github.com/users/bensallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bensallen/subscriptions","organizations_url":"https://api.github.com/users/bensallen/orgs","repos_url":"https://api.github.com/users/bensallen/repos","events_url":"https://api.github.com/users/bensallen/events{/privacy}","received_events_url":"https://api.github.com/users/bensallen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bensallen/autospec","description":"RPM packaging automation tool","fork":true,"url":"https://api.github.com/repos/bensallen/autospec","forks_url":"https://api.github.com/repos/bensallen/autospec/forks","keys_url":"https://api.github.com/repos/bensallen/autospec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bensallen/autospec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bensallen/autospec/teams","hooks_url":"https://api.github.com/repos/bensallen/autospec/hooks","issue_events_url":"https://api.github.com/repos/bensallen/autospec/issues/events{/number}","events_url":"https://api.github.com/repos/bensallen/autospec/events","assignees_url":"https://api.github.com/repos/bensallen/autospec/assignees{/user}","branches_url":"https://api.github.com/repos/bensallen/autospec/branches{/branch}","tags_url":"https://api.github.com/repos/bensallen/autospec/tags","blobs_url":"https://api.github.com/repos/bensallen/autospec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bensallen/autospec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bensallen/autospec/git/refs{/sha}","trees_url":"https://api.github.com/repos/bensallen/autospec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bensallen/autospec/statuses/{sha}","languages_url":"https://api.github.com/repos/bensallen/autospec/languages","stargazers_url":"https://api.github.com/repos/bensallen/autospec/stargazers","contributors_url":"https://api.github.com/repos/bensallen/autospec/contributors","subscribers_url":"https://api.github.com/repos/bensallen/autospec/subscribers","subscription_url":"https://api.github.com/repos/bensallen/autospec/subscription","commits_url":"https://api.github.com/repos/bensallen/autospec/commits{/sha}","git_commits_url":"https://api.github.com/repos/bensallen/autospec/git/commits{/sha}","comments_url":"https://api.github.com/repos/bensallen/autospec/comments{/number}","issue_comment_url":"https://api.github.com/repos/bensallen/autospec/issues/comments{/number}","contents_url":"https://api.github.com/repos/bensallen/autospec/contents/{+path}","compare_url":"https://api.github.com/repos/bensallen/autospec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bensallen/autospec/merges","archive_url":"https://api.github.com/repos/bensallen/autospec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bensallen/autospec/downloads","issues_url":"https://api.github.com/repos/bensallen/autospec/issues{/number}","pulls_url":"https://api.github.com/repos/bensallen/autospec/pulls{/number}","milestones_url":"https://api.github.com/repos/bensallen/autospec/milestones{/number}","notifications_url":"https://api.github.com/repos/bensallen/autospec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bensallen/autospec/labels{/name}","releases_url":"https://api.github.com/repos/bensallen/autospec/releases{/id}","deployments_url":"https://api.github.com/repos/bensallen/autospec/deployments","created_at":"2017-02-25T23:09:13Z","updated_at":"2017-02-25T23:09:17Z","pushed_at":"2017-10-05T20:08:13Z","git_url":"git://github.com/bensallen/autospec.git","ssh_url":"git@github.com:bensallen/autospec.git","clone_url":"https://github.com/bensallen/autospec.git","svn_url":"https://github.com/bensallen/autospec","homepage":"","size":7716,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"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":"clearlinux:master","ref":"master","sha":"e2b9e04981ca135c485f98c9fd45b59321032fc0","user":{"login":"clearlinux","id":12545216,"avatar_url":"https://avatars2.githubusercontent.com/u/12545216?v=4","gravatar_id":"","url":"https://api.github.com/users/clearlinux","html_url":"https://github.com/clearlinux","followers_url":"https://api.github.com/users/clearlinux/followers","following_url":"https://api.github.com/users/clearlinux/following{/other_user}","gists_url":"https://api.github.com/users/clearlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/clearlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clearlinux/subscriptions","organizations_url":"https://api.github.com/users/clearlinux/orgs","repos_url":"https://api.github.com/users/clearlinux/repos","events_url":"https://api.github.com/users/clearlinux/events{/privacy}","received_events_url":"https://api.github.com/users/clearlinux/received_events","type":"Organization","site_admin":false},"repo":{"id":45694952,"name":"autospec","full_name":"clearlinux/autospec","owner":{"login":"clearlinux","id":12545216,"avatar_url":"https://avatars2.githubusercontent.com/u/12545216?v=4","gravatar_id":"","url":"https://api.github.com/users/clearlinux","html_url":"https://github.com/clearlinux","followers_url":"https://api.github.com/users/clearlinux/followers","following_url":"https://api.github.com/users/clearlinux/following{/other_user}","gists_url":"https://api.github.com/users/clearlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/clearlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clearlinux/subscriptions","organizations_url":"https://api.github.com/users/clearlinux/orgs","repos_url":"https://api.github.com/users/clearlinux/repos","events_url":"https://api.github.com/users/clearlinux/events{/privacy}","received_events_url":"https://api.github.com/users/clearlinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clearlinux/autospec","description":"RPM packaging automation tool","fork":false,"url":"https://api.github.com/repos/clearlinux/autospec","forks_url":"https://api.github.com/repos/clearlinux/autospec/forks","keys_url":"https://api.github.com/repos/clearlinux/autospec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clearlinux/autospec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clearlinux/autospec/teams","hooks_url":"https://api.github.com/repos/clearlinux/autospec/hooks","issue_events_url":"https://api.github.com/repos/clearlinux/autospec/issues/events{/number}","events_url":"https://api.github.com/repos/clearlinux/autospec/events","assignees_url":"https://api.github.com/repos/clearlinux/autospec/assignees{/user}","branches_url":"https://api.github.com/repos/clearlinux/autospec/branches{/branch}","tags_url":"https://api.github.com/repos/clearlinux/autospec/tags","blobs_url":"https://api.github.com/repos/clearlinux/autospec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clearlinux/autospec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clearlinux/autospec/git/refs{/sha}","trees_url":"https://api.github.com/repos/clearlinux/autospec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clearlinux/autospec/statuses/{sha}","languages_url":"https://api.github.com/repos/clearlinux/autospec/languages","stargazers_url":"https://api.github.com/repos/clearlinux/autospec/stargazers","contributors_url":"https://api.github.com/repos/clearlinux/autospec/contributors","subscribers_url":"https://api.github.com/repos/clearlinux/autospec/subscribers","subscription_url":"https://api.github.com/repos/clearlinux/autospec/subscription","commits_url":"https://api.github.com/repos/clearlinux/autospec/commits{/sha}","git_commits_url":"https://api.github.com/repos/clearlinux/autospec/git/commits{/sha}","comments_url":"https://api.github.com/repos/clearlinux/autospec/comments{/number}","issue_comment_url":"https://api.github.com/repos/clearlinux/autospec/issues/comments{/number}","contents_url":"https://api.github.com/repos/clearlinux/autospec/contents/{+path}","compare_url":"https://api.github.com/repos/clearlinux/autospec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clearlinux/autospec/merges","archive_url":"https://api.github.com/repos/clearlinux/autospec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clearlinux/autospec/downloads","issues_url":"https://api.github.com/repos/clearlinux/autospec/issues{/number}","pulls_url":"https://api.github.com/repos/clearlinux/autospec/pulls{/number}","milestones_url":"https://api.github.com/repos/clearlinux/autospec/milestones{/number}","notifications_url":"https://api.github.com/repos/clearlinux/autospec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clearlinux/autospec/labels{/name}","releases_url":"https://api.github.com/repos/clearlinux/autospec/releases{/id}","deployments_url":"https://api.github.com/repos/clearlinux/autospec/deployments","created_at":"2015-11-06T16:58:26Z","updated_at":"2017-10-04T12:05:39Z","pushed_at":"2017-10-05T20:06:42Z","git_url":"git://github.com/clearlinux/autospec.git","ssh_url":"git@github.com:clearlinux/autospec.git","clone_url":"https://github.com/clearlinux/autospec.git","svn_url":"https://github.com/clearlinux/autospec","homepage":"","size":7723,"stargazers_count":23,"watchers_count":23,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":3,"forks":7,"open_issues":3,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clearlinux/autospec/pulls/21"},"html":{"href":"https://github.com/clearlinux/autospec/pull/21"},"issue":{"href":"https://api.github.com/repos/clearlinux/autospec/issues/21"},"comments":{"href":"https://api.github.com/repos/clearlinux/autospec/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/clearlinux/autospec/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/clearlinux/autospec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clearlinux/autospec/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/clearlinux/autospec/statuses/5643e3e58747f64c522fb21636acb58bbd789962"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":132,"deletions":131,"changed_files":260}}
{"actor":{"display_login":"bensallen"}}