{"action":"created","comment":{"url":"https://api.github.com/repos/CCI-MOC/haas/pulls/comments/62608861","id":62608861,"diff_hunk":"@@ -1,44 +1,52 @@\n-The first time you start working in the repository, set up a clean test\n-environment (Before you start make sure that you have setup a database\n-to be used by for HaaS. HaaS supports SQLIte and PostgreSQL databases.\n-You should setup either of the two before you start further. Details to\n-setup a database can be found in INSTALL.rst)::\n+Setup Test Environment\n+++++++++++++++++++++++\n \n-  virtualenv .venv\n+Install Prerequisite Software\n+=============================\n \n-Next, each time you start working, enter the environment::\n+HaaS requires a number of packages available through the CentOS RPM\n+repositories, as well as the EPEL repository. EPEL can be enabled via::\n \n-  source .venv/bin/activate\n+    yum install epel-release\n \n-Then, proceed with installing the HaaS and its dependencies into the virtual\n-environment::\n+Then, the rest of the packages can be installed via::\n \n-  pip install -e .\n+    yum install libvirt bridge-utils ipmitool telnet httpd mod_wsgi python-pip qemu-kvm python-virtinst virt-install python-psycopg2 vconfig net-tools\n \n-On systems with older versions of ``pip``, such as Debian Wheezy and Ubuntu\n-12.04, this install will fail with the following error::\n+In addition, HaaS depends on a number of python libraries. Many of these are\n+available as RPMs as well, but we recommend installing them with pip, since\n+this will install the versions that HaaS has been tested with.  This is done\n+automatically by the instructions below.\n \n-  AttributeError: 'NoneType' object has no attribute 'skip_requirements_regex'\n+Creating HaaS System User\n+=========================\n \n-Fix this by upgrading ``pip`` within the virtual environment::\n+Create a system user ``haas_user`` with::","path":"HACKING.rst","position":39,"original_position":39,"commit_id":"88cc322635cacf131c3d68adaea37f64c1ed281a","original_commit_id":"88cc322635cacf131c3d68adaea37f64c1ed281a","user":{"login":"SahilTikale","id":2398718,"avatar_url":"https://avatars.githubusercontent.com/u/2398718?v=3","gravatar_id":"","url":"https://api.github.com/users/SahilTikale","html_url":"https://github.com/SahilTikale","followers_url":"https://api.github.com/users/SahilTikale/followers","following_url":"https://api.github.com/users/SahilTikale/following{/other_user}","gists_url":"https://api.github.com/users/SahilTikale/gists{/gist_id}","starred_url":"https://api.github.com/users/SahilTikale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SahilTikale/subscriptions","organizations_url":"https://api.github.com/users/SahilTikale/orgs","repos_url":"https://api.github.com/users/SahilTikale/repos","events_url":"https://api.github.com/users/SahilTikale/events{/privacy}","received_events_url":"https://api.github.com/users/SahilTikale/received_events","type":"User","site_admin":false},"body":"I always wanted the user to be simply `haas` and not `haas_user`.\r\nIf you have no objection against it, I suggest changing it here. ","created_at":"2016-05-10T03:51:20Z","updated_at":"2016-05-10T03:51:20Z","html_url":"https://github.com/CCI-MOC/haas/pull/591#discussion_r62608861","pull_request_url":"https://api.github.com/repos/CCI-MOC/haas/pulls/591","_links":{"self":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/comments/62608861"},"html":{"href":"https://github.com/CCI-MOC/haas/pull/591#discussion_r62608861"},"pull_request":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/591"}}},"pull_request":{"url":"https://api.github.com/repos/CCI-MOC/haas/pulls/591","id":69369549,"html_url":"https://github.com/CCI-MOC/haas/pull/591","diff_url":"https://github.com/CCI-MOC/haas/pull/591.diff","patch_url":"https://github.com/CCI-MOC/haas/pull/591.patch","issue_url":"https://api.github.com/repos/CCI-MOC/haas/issues/591","number":591,"state":"open","locked":false,"title":"Update HACKING.rst to have more information","user":{"login":"kylehogan","id":4662845,"avatar_url":"https://avatars.githubusercontent.com/u/4662845?v=3","gravatar_id":"","url":"https://api.github.com/users/kylehogan","html_url":"https://github.com/kylehogan","followers_url":"https://api.github.com/users/kylehogan/followers","following_url":"https://api.github.com/users/kylehogan/following{/other_user}","gists_url":"https://api.github.com/users/kylehogan/gists{/gist_id}","starred_url":"https://api.github.com/users/kylehogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylehogan/subscriptions","organizations_url":"https://api.github.com/users/kylehogan/orgs","repos_url":"https://api.github.com/users/kylehogan/repos","events_url":"https://api.github.com/users/kylehogan/events{/privacy}","received_events_url":"https://api.github.com/users/kylehogan/received_events","type":"User","site_admin":false},"body":"I just did an update to HACKING.rst with some more specifics on how to get haas set up. One more thing I would like to add is how to configure the test environment to use PostgreSQL","created_at":"2016-05-09T16:05:38Z","updated_at":"2016-05-10T03:51:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66ff2407fb6f461ac25a0b13e6c96cd5c9a0f441","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CCI-MOC/haas/pulls/591/commits","review_comments_url":"https://api.github.com/repos/CCI-MOC/haas/pulls/591/comments","review_comment_url":"https://api.github.com/repos/CCI-MOC/haas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CCI-MOC/haas/issues/591/comments","statuses_url":"https://api.github.com/repos/CCI-MOC/haas/statuses/88cc322635cacf131c3d68adaea37f64c1ed281a","head":{"label":"kylehogan:update_developer_docs","ref":"update_developer_docs","sha":"88cc322635cacf131c3d68adaea37f64c1ed281a","user":{"login":"kylehogan","id":4662845,"avatar_url":"https://avatars.githubusercontent.com/u/4662845?v=3","gravatar_id":"","url":"https://api.github.com/users/kylehogan","html_url":"https://github.com/kylehogan","followers_url":"https://api.github.com/users/kylehogan/followers","following_url":"https://api.github.com/users/kylehogan/following{/other_user}","gists_url":"https://api.github.com/users/kylehogan/gists{/gist_id}","starred_url":"https://api.github.com/users/kylehogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylehogan/subscriptions","organizations_url":"https://api.github.com/users/kylehogan/orgs","repos_url":"https://api.github.com/users/kylehogan/repos","events_url":"https://api.github.com/users/kylehogan/events{/privacy}","received_events_url":"https://api.github.com/users/kylehogan/received_events","type":"User","site_admin":false},"repo":{"id":52108659,"name":"haas","full_name":"kylehogan/haas","owner":{"login":"kylehogan","id":4662845,"avatar_url":"https://avatars.githubusercontent.com/u/4662845?v=3","gravatar_id":"","url":"https://api.github.com/users/kylehogan","html_url":"https://github.com/kylehogan","followers_url":"https://api.github.com/users/kylehogan/followers","following_url":"https://api.github.com/users/kylehogan/following{/other_user}","gists_url":"https://api.github.com/users/kylehogan/gists{/gist_id}","starred_url":"https://api.github.com/users/kylehogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylehogan/subscriptions","organizations_url":"https://api.github.com/users/kylehogan/orgs","repos_url":"https://api.github.com/users/kylehogan/repos","events_url":"https://api.github.com/users/kylehogan/events{/privacy}","received_events_url":"https://api.github.com/users/kylehogan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kylehogan/haas","description":"","fork":true,"url":"https://api.github.com/repos/kylehogan/haas","forks_url":"https://api.github.com/repos/kylehogan/haas/forks","keys_url":"https://api.github.com/repos/kylehogan/haas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kylehogan/haas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kylehogan/haas/teams","hooks_url":"https://api.github.com/repos/kylehogan/haas/hooks","issue_events_url":"https://api.github.com/repos/kylehogan/haas/issues/events{/number}","events_url":"https://api.github.com/repos/kylehogan/haas/events","assignees_url":"https://api.github.com/repos/kylehogan/haas/assignees{/user}","branches_url":"https://api.github.com/repos/kylehogan/haas/branches{/branch}","tags_url":"https://api.github.com/repos/kylehogan/haas/tags","blobs_url":"https://api.github.com/repos/kylehogan/haas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kylehogan/haas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kylehogan/haas/git/refs{/sha}","trees_url":"https://api.github.com/repos/kylehogan/haas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kylehogan/haas/statuses/{sha}","languages_url":"https://api.github.com/repos/kylehogan/haas/languages","stargazers_url":"https://api.github.com/repos/kylehogan/haas/stargazers","contributors_url":"https://api.github.com/repos/kylehogan/haas/contributors","subscribers_url":"https://api.github.com/repos/kylehogan/haas/subscribers","subscription_url":"https://api.github.com/repos/kylehogan/haas/subscription","commits_url":"https://api.github.com/repos/kylehogan/haas/commits{/sha}","git_commits_url":"https://api.github.com/repos/kylehogan/haas/git/commits{/sha}","comments_url":"https://api.github.com/repos/kylehogan/haas/comments{/number}","issue_comment_url":"https://api.github.com/repos/kylehogan/haas/issues/comments{/number}","contents_url":"https://api.github.com/repos/kylehogan/haas/contents/{+path}","compare_url":"https://api.github.com/repos/kylehogan/haas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kylehogan/haas/merges","archive_url":"https://api.github.com/repos/kylehogan/haas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kylehogan/haas/downloads","issues_url":"https://api.github.com/repos/kylehogan/haas/issues{/number}","pulls_url":"https://api.github.com/repos/kylehogan/haas/pulls{/number}","milestones_url":"https://api.github.com/repos/kylehogan/haas/milestones{/number}","notifications_url":"https://api.github.com/repos/kylehogan/haas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kylehogan/haas/labels{/name}","releases_url":"https://api.github.com/repos/kylehogan/haas/releases{/id}","deployments_url":"https://api.github.com/repos/kylehogan/haas/deployments","created_at":"2016-02-19T18:43:43Z","updated_at":"2016-02-19T18:43:43Z","pushed_at":"2016-05-09T20:23:13Z","git_url":"git://github.com/kylehogan/haas.git","ssh_url":"git@github.com:kylehogan/haas.git","clone_url":"https://github.com/kylehogan/haas.git","svn_url":"https://github.com/kylehogan/haas","homepage":null,"size":1943,"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":"CCI-MOC:master","ref":"master","sha":"9385a60387153e30fea714e96b07c226b5b41b79","user":{"login":"CCI-MOC","id":3578683,"avatar_url":"https://avatars.githubusercontent.com/u/3578683?v=3","gravatar_id":"","url":"https://api.github.com/users/CCI-MOC","html_url":"https://github.com/CCI-MOC","followers_url":"https://api.github.com/users/CCI-MOC/followers","following_url":"https://api.github.com/users/CCI-MOC/following{/other_user}","gists_url":"https://api.github.com/users/CCI-MOC/gists{/gist_id}","starred_url":"https://api.github.com/users/CCI-MOC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CCI-MOC/subscriptions","organizations_url":"https://api.github.com/users/CCI-MOC/orgs","repos_url":"https://api.github.com/users/CCI-MOC/repos","events_url":"https://api.github.com/users/CCI-MOC/events{/privacy}","received_events_url":"https://api.github.com/users/CCI-MOC/received_events","type":"Organization","site_admin":false},"repo":{"id":16487339,"name":"haas","full_name":"CCI-MOC/haas","owner":{"login":"CCI-MOC","id":3578683,"avatar_url":"https://avatars.githubusercontent.com/u/3578683?v=3","gravatar_id":"","url":"https://api.github.com/users/CCI-MOC","html_url":"https://github.com/CCI-MOC","followers_url":"https://api.github.com/users/CCI-MOC/followers","following_url":"https://api.github.com/users/CCI-MOC/following{/other_user}","gists_url":"https://api.github.com/users/CCI-MOC/gists{/gist_id}","starred_url":"https://api.github.com/users/CCI-MOC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CCI-MOC/subscriptions","organizations_url":"https://api.github.com/users/CCI-MOC/orgs","repos_url":"https://api.github.com/users/CCI-MOC/repos","events_url":"https://api.github.com/users/CCI-MOC/events{/privacy}","received_events_url":"https://api.github.com/users/CCI-MOC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CCI-MOC/haas","description":"Hardware as a Service","fork":false,"url":"https://api.github.com/repos/CCI-MOC/haas","forks_url":"https://api.github.com/repos/CCI-MOC/haas/forks","keys_url":"https://api.github.com/repos/CCI-MOC/haas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CCI-MOC/haas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CCI-MOC/haas/teams","hooks_url":"https://api.github.com/repos/CCI-MOC/haas/hooks","issue_events_url":"https://api.github.com/repos/CCI-MOC/haas/issues/events{/number}","events_url":"https://api.github.com/repos/CCI-MOC/haas/events","assignees_url":"https://api.github.com/repos/CCI-MOC/haas/assignees{/user}","branches_url":"https://api.github.com/repos/CCI-MOC/haas/branches{/branch}","tags_url":"https://api.github.com/repos/CCI-MOC/haas/tags","blobs_url":"https://api.github.com/repos/CCI-MOC/haas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CCI-MOC/haas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CCI-MOC/haas/git/refs{/sha}","trees_url":"https://api.github.com/repos/CCI-MOC/haas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CCI-MOC/haas/statuses/{sha}","languages_url":"https://api.github.com/repos/CCI-MOC/haas/languages","stargazers_url":"https://api.github.com/repos/CCI-MOC/haas/stargazers","contributors_url":"https://api.github.com/repos/CCI-MOC/haas/contributors","subscribers_url":"https://api.github.com/repos/CCI-MOC/haas/subscribers","subscription_url":"https://api.github.com/repos/CCI-MOC/haas/subscription","commits_url":"https://api.github.com/repos/CCI-MOC/haas/commits{/sha}","git_commits_url":"https://api.github.com/repos/CCI-MOC/haas/git/commits{/sha}","comments_url":"https://api.github.com/repos/CCI-MOC/haas/comments{/number}","issue_comment_url":"https://api.github.com/repos/CCI-MOC/haas/issues/comments{/number}","contents_url":"https://api.github.com/repos/CCI-MOC/haas/contents/{+path}","compare_url":"https://api.github.com/repos/CCI-MOC/haas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CCI-MOC/haas/merges","archive_url":"https://api.github.com/repos/CCI-MOC/haas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CCI-MOC/haas/downloads","issues_url":"https://api.github.com/repos/CCI-MOC/haas/issues{/number}","pulls_url":"https://api.github.com/repos/CCI-MOC/haas/pulls{/number}","milestones_url":"https://api.github.com/repos/CCI-MOC/haas/milestones{/number}","notifications_url":"https://api.github.com/repos/CCI-MOC/haas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CCI-MOC/haas/labels{/name}","releases_url":"https://api.github.com/repos/CCI-MOC/haas/releases{/id}","deployments_url":"https://api.github.com/repos/CCI-MOC/haas/deployments","created_at":"2014-02-03T17:48:01Z","updated_at":"2016-04-07T15:30:55Z","pushed_at":"2016-05-09T20:23:13Z","git_url":"git://github.com/CCI-MOC/haas.git","ssh_url":"git@github.com:CCI-MOC/haas.git","clone_url":"https://github.com/CCI-MOC/haas.git","svn_url":"https://github.com/CCI-MOC/haas","homepage":"","size":2441,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":130,"forks":28,"open_issues":130,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/591"},"html":{"href":"https://github.com/CCI-MOC/haas/pull/591"},"issue":{"href":"https://api.github.com/repos/CCI-MOC/haas/issues/591"},"comments":{"href":"https://api.github.com/repos/CCI-MOC/haas/issues/591/comments"},"review_comments":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/591/comments"},"review_comment":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CCI-MOC/haas/pulls/591/commits"},"statuses":{"href":"https://api.github.com/repos/CCI-MOC/haas/statuses/88cc322635cacf131c3d68adaea37f64c1ed281a"}}}}