{"action":"created","comment":{"url":"https://api.github.com/repos/open-craft/opencraft/pulls/comments/37500290","id":37500290,"diff_hunk":"@@ -1 +1,156 @@\n-# opencraft\n+OpenCraft\n+=========\n+\n+Install\n+-------\n+\n+Instructions based on Ubuntu 14.04.\n+\n+Install the system package dependencies & virtualenv:\n+\n+```\n+$ sudo apt-get install `cat debian_packages.lst`\n+$ pip3 install --user virtualenv && pip3 install --user virtualenvwrapper\n+```\n+\n+Ensure you load virtualenv with Python 3 in `~/.bashrc`:\n+\n+```\n+export PATH=\"$PATH:$HOME/.local/bin\" VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3\n+source $HOME/.local/bin/virtualenvwrapper.sh","path":"README.md","position":21,"original_position":21,"commit_id":"b72b988d0d1cd293d24eb19d917d47ad81586827","original_commit_id":"d50f36d0f367e8a9f73ed66f183537589bac5c22","user":{"login":"antoviaque","id":514483,"avatar_url":"https://avatars.githubusercontent.com/u/514483?v=3","gravatar_id":"","url":"https://api.github.com/users/antoviaque","html_url":"https://github.com/antoviaque","followers_url":"https://api.github.com/users/antoviaque/followers","following_url":"https://api.github.com/users/antoviaque/following{/other_user}","gists_url":"https://api.github.com/users/antoviaque/gists{/gist_id}","starred_url":"https://api.github.com/users/antoviaque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoviaque/subscriptions","organizations_url":"https://api.github.com/users/antoviaque/orgs","repos_url":"https://api.github.com/users/antoviaque/repos","events_url":"https://api.github.com/users/antoviaque/events{/privacy}","received_events_url":"https://api.github.com/users/antoviaque/received_events","type":"User","site_admin":false},"body":"@bradenmacdonald Good point - added to the paragraph below, since it only makes sense to add it to the `.bashrc` when that's the only virtualenv the current user will use. Which isn't the case, for example, for my local dev environment (but might be on yours if you use a VM for that).","created_at":"2015-08-20T07:03:30Z","updated_at":"2015-08-20T07:03:30Z","html_url":"https://github.com/open-craft/opencraft/pull/1#discussion_r37500290","pull_request_url":"https://api.github.com/repos/open-craft/opencraft/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/open-craft/opencraft/pulls/comments/37500290"},"html":{"href":"https://github.com/open-craft/opencraft/pull/1#discussion_r37500290"},"pull_request":{"href":"https://api.github.com/repos/open-craft/opencraft/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/open-craft/opencraft/pulls/1","id":41975809,"html_url":"https://github.com/open-craft/opencraft/pull/1","diff_url":"https://github.com/open-craft/opencraft/pull/1.diff","patch_url":"https://github.com/open-craft/opencraft/pull/1.patch","issue_url":"https://api.github.com/repos/open-craft/opencraft/issues/1","number":1,"state":"open","locked":false,"title":"OpenCraft MVP - Fake PR for review","user":{"login":"antoviaque","id":514483,"avatar_url":"https://avatars.githubusercontent.com/u/514483?v=3","gravatar_id":"","url":"https://api.github.com/users/antoviaque","html_url":"https://github.com/antoviaque","followers_url":"https://api.github.com/users/antoviaque/followers","following_url":"https://api.github.com/users/antoviaque/following{/other_user}","gists_url":"https://api.github.com/users/antoviaque/gists{/gist_id}","starred_url":"https://api.github.com/users/antoviaque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoviaque/subscriptions","organizations_url":"https://api.github.com/users/antoviaque/orgs","repos_url":"https://api.github.com/users/antoviaque/repos","events_url":"https://api.github.com/users/antoviaque/events{/privacy}","received_events_url":"https://api.github.com/users/antoviaque/received_events","type":"User","site_admin":false},"body":"See http://console.opencraft.com/ for a working example, and the README for installation instructions.\r\n\r\n### Being discussed\r\n\r\nReviewers input needed:\r\n\r\n- [ ] [Determine list of XBlocks to load by default](https://github.com/open-craft/opencraft/pull/1#discussion_r36607383)\r\n- [ ] Pylint configuration\r\n  - [ ] [Which warnings to ignore](https://github.com/open-craft/opencraft/pull/1#discussion-diff-36737650)\r\n  - [ ] [Max locals](https://github.com/open-craft/opencraft/pull/1#discussion-diff-36738319) & [Max branches](https://github.com/open-craft/opencraft/pull/1#discussion-diff-36738464)\r\n- [ ] [Better status transition management - state machine?](https://github.com/open-craft/opencraft/pull/1#discussion_r36733250)\r\n- [ ] [Better approach for reboot detection](https://github.com/open-craft/opencraft/pull/1#discussion_r36733404)\r\n\r\n### Todo\r\n\r\n- [X] Small nits\r\n- [X] [Clearing temporary files & directories](https://github.com/open-craft/opencraft/pull/1#discussion-diff-36727282)\r\n- [X] Use constants for instance & server model status\r\n- [X] Web UI loading indicator\r\n- [ ] Integration tests\r\n  - [X] Add an integration test that fully instantiates a sandbox\r\n  - [X] Setup CircleCI to run integration tests\r\n  - [ ] Make CircleCI builds reliable (they currently timeout)\r\n  - [ ] [Get the build to fail when the ansible run fails (might also require error states for VMs & retries)](https://github.com/open-craft/opencraft/pull/1#discussion_r36624887)\r\n- [ ] [Switch to OpenStack CLI instead of class](https://github.com/open-craft/opencraft/pull/1#discussion_r36623788)\r\n  - [ ] [Use OS_* variables for OpenStack configuration](https://github.com/open-craft/opencraft/pull/1#discussion-diff-36625380)\r\n  - [ ] [Use vanilla Ubuntu image from upstream](https://github.com/open-craft/opencraft/pull/1#discussion-diff-36625198)\r\n  - [ ] [Implementation-agnostic public IP retreival](https://github.com/open-craft/opencraft/pull/1#discussion_r36624339)\r\n- [ ] [Improve logging management](https://github.com/open-craft/opencraft/pull/1#discussion_r36728597)\r\n  - [ ] [Use custom constants for logging levels](https://github.com/open-craft/opencraft/pull/1#discussion-diff-36729765)\r\n- [ ] Better PR handling - dedicated model?\r\n  - [ ] [Shorter & updated sandbox names](https://github.com/open-craft/opencraft/pull/1#discussion_r36607416)\r\n  - [ ] [Links to PRs in Web UI](https://github.com/open-craft/opencraft/pull/1#discussion_r36713342)\r\n- [ ] OpenCraft logo & \"Powered by\"/licensing footer\r\n- [ ] [Relax regex syntax for configuration variables in PRs](https://github.com/open-craft/opencraft/pull/1#discussion_r37372753)","created_at":"2015-08-09T19:44:02Z","updated_at":"2015-08-20T07:03:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"515566351670eb43265fc37da79d5bce5283555a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/open-craft/opencraft/pulls/1/commits","review_comments_url":"https://api.github.com/repos/open-craft/opencraft/pulls/1/comments","review_comment_url":"https://api.github.com/repos/open-craft/opencraft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-craft/opencraft/issues/1/comments","statuses_url":"https://api.github.com/repos/open-craft/opencraft/statuses/b72b988d0d1cd293d24eb19d917d47ad81586827","head":{"label":"open-craft:master","ref":"master","sha":"b72b988d0d1cd293d24eb19d917d47ad81586827","user":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars.githubusercontent.com/u/7414786?v=3","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"repo":{"id":40447973,"name":"opencraft","full_name":"open-craft/opencraft","owner":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars.githubusercontent.com/u/7414786?v=3","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-craft/opencraft","description":"OpenCraft - Instance Manager","fork":false,"url":"https://api.github.com/repos/open-craft/opencraft","forks_url":"https://api.github.com/repos/open-craft/opencraft/forks","keys_url":"https://api.github.com/repos/open-craft/opencraft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-craft/opencraft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-craft/opencraft/teams","hooks_url":"https://api.github.com/repos/open-craft/opencraft/hooks","issue_events_url":"https://api.github.com/repos/open-craft/opencraft/issues/events{/number}","events_url":"https://api.github.com/repos/open-craft/opencraft/events","assignees_url":"https://api.github.com/repos/open-craft/opencraft/assignees{/user}","branches_url":"https://api.github.com/repos/open-craft/opencraft/branches{/branch}","tags_url":"https://api.github.com/repos/open-craft/opencraft/tags","blobs_url":"https://api.github.com/repos/open-craft/opencraft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-craft/opencraft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-craft/opencraft/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-craft/opencraft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-craft/opencraft/statuses/{sha}","languages_url":"https://api.github.com/repos/open-craft/opencraft/languages","stargazers_url":"https://api.github.com/repos/open-craft/opencraft/stargazers","contributors_url":"https://api.github.com/repos/open-craft/opencraft/contributors","subscribers_url":"https://api.github.com/repos/open-craft/opencraft/subscribers","subscription_url":"https://api.github.com/repos/open-craft/opencraft/subscription","commits_url":"https://api.github.com/repos/open-craft/opencraft/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-craft/opencraft/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-craft/opencraft/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-craft/opencraft/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-craft/opencraft/contents/{+path}","compare_url":"https://api.github.com/repos/open-craft/opencraft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-craft/opencraft/merges","archive_url":"https://api.github.com/repos/open-craft/opencraft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-craft/opencraft/downloads","issues_url":"https://api.github.com/repos/open-craft/opencraft/issues{/number}","pulls_url":"https://api.github.com/repos/open-craft/opencraft/pulls{/number}","milestones_url":"https://api.github.com/repos/open-craft/opencraft/milestones{/number}","notifications_url":"https://api.github.com/repos/open-craft/opencraft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-craft/opencraft/labels{/name}","releases_url":"https://api.github.com/repos/open-craft/opencraft/releases{/id}","created_at":"2015-08-09T19:35:05Z","updated_at":"2015-08-09T19:35:23Z","pushed_at":"2015-08-20T07:03:16Z","git_url":"git://github.com/open-craft/opencraft.git","ssh_url":"git@github.com:open-craft/opencraft.git","clone_url":"https://github.com/open-craft/opencraft.git","svn_url":"https://github.com/open-craft/opencraft","homepage":null,"size":744,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"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":"open-craft:first-commit","ref":"first-commit","sha":"6b98fa6fd444590401a3ddc8f4b8a47bd1e6633e","user":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars.githubusercontent.com/u/7414786?v=3","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"repo":{"id":40447973,"name":"opencraft","full_name":"open-craft/opencraft","owner":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars.githubusercontent.com/u/7414786?v=3","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-craft/opencraft","description":"OpenCraft - Instance Manager","fork":false,"url":"https://api.github.com/repos/open-craft/opencraft","forks_url":"https://api.github.com/repos/open-craft/opencraft/forks","keys_url":"https://api.github.com/repos/open-craft/opencraft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-craft/opencraft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-craft/opencraft/teams","hooks_url":"https://api.github.com/repos/open-craft/opencraft/hooks","issue_events_url":"https://api.github.com/repos/open-craft/opencraft/issues/events{/number}","events_url":"https://api.github.com/repos/open-craft/opencraft/events","assignees_url":"https://api.github.com/repos/open-craft/opencraft/assignees{/user}","branches_url":"https://api.github.com/repos/open-craft/opencraft/branches{/branch}","tags_url":"https://api.github.com/repos/open-craft/opencraft/tags","blobs_url":"https://api.github.com/repos/open-craft/opencraft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-craft/opencraft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-craft/opencraft/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-craft/opencraft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-craft/opencraft/statuses/{sha}","languages_url":"https://api.github.com/repos/open-craft/opencraft/languages","stargazers_url":"https://api.github.com/repos/open-craft/opencraft/stargazers","contributors_url":"https://api.github.com/repos/open-craft/opencraft/contributors","subscribers_url":"https://api.github.com/repos/open-craft/opencraft/subscribers","subscription_url":"https://api.github.com/repos/open-craft/opencraft/subscription","commits_url":"https://api.github.com/repos/open-craft/opencraft/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-craft/opencraft/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-craft/opencraft/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-craft/opencraft/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-craft/opencraft/contents/{+path}","compare_url":"https://api.github.com/repos/open-craft/opencraft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-craft/opencraft/merges","archive_url":"https://api.github.com/repos/open-craft/opencraft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-craft/opencraft/downloads","issues_url":"https://api.github.com/repos/open-craft/opencraft/issues{/number}","pulls_url":"https://api.github.com/repos/open-craft/opencraft/pulls{/number}","milestones_url":"https://api.github.com/repos/open-craft/opencraft/milestones{/number}","notifications_url":"https://api.github.com/repos/open-craft/opencraft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-craft/opencraft/labels{/name}","releases_url":"https://api.github.com/repos/open-craft/opencraft/releases{/id}","created_at":"2015-08-09T19:35:05Z","updated_at":"2015-08-09T19:35:23Z","pushed_at":"2015-08-20T07:03:16Z","git_url":"git://github.com/open-craft/opencraft.git","ssh_url":"git@github.com:open-craft/opencraft.git","clone_url":"https://github.com/open-craft/opencraft.git","svn_url":"https://github.com/open-craft/opencraft","homepage":null,"size":744,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-craft/opencraft/pulls/1"},"html":{"href":"https://github.com/open-craft/opencraft/pull/1"},"issue":{"href":"https://api.github.com/repos/open-craft/opencraft/issues/1"},"comments":{"href":"https://api.github.com/repos/open-craft/opencraft/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/open-craft/opencraft/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/open-craft/opencraft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-craft/opencraft/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/open-craft/opencraft/statuses/b72b988d0d1cd293d24eb19d917d47ad81586827"}}}}