{"action":"created","comment":{"url":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/comments/77868244","id":77868244,"diff_hunk":"@@ -0,0 +1,66 @@\n+import os\n+\n+from distutils.command.build_ext import build_ext as _build_ext\n+from setuptools.command.bdist_egg import bdist_egg as _bdist_egg\n+from wheel.bdist_wheel import bdist_wheel as _bdist_wheel\n+\n+from setuptools import Command\n+\n+from subprocess import call\n+\n+\n+class FrontEndBuildFailure(Exception):\n+    pass\n+\n+\n+class build_frontend(Command):\n+    \"\"\" A command class to run `setup.sh` \"\"\"\n+    description = 'build front-end JavaScript and CSS'\n+    user_options = []\n+    possible_scripts = ['frontendbuild.sh', 'setup.sh']","path":"cfgov_setup.py","position":20,"original_position":20,"commit_id":"0db94b1e16c043e083e870beee41ed6f9096d018","original_commit_id":"0db94b1e16c043e083e870beee41ed6f9096d018","user":{"login":"rosskarchner","id":235397,"avatar_url":"https://avatars.githubusercontent.com/u/235397?v=3","gravatar_id":"","url":"https://api.github.com/users/rosskarchner","html_url":"https://github.com/rosskarchner","followers_url":"https://api.github.com/users/rosskarchner/followers","following_url":"https://api.github.com/users/rosskarchner/following{/other_user}","gists_url":"https://api.github.com/users/rosskarchner/gists{/gist_id}","starred_url":"https://api.github.com/users/rosskarchner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosskarchner/subscriptions","organizations_url":"https://api.github.com/users/rosskarchner/orgs","repos_url":"https://api.github.com/users/rosskarchner/repos","events_url":"https://api.github.com/users/rosskarchner/events{/privacy}","received_events_url":"https://api.github.com/users/rosskarchner/received_events","type":"User","site_admin":false},"body":"That would be ideal-- I'll think about ways of accomplishing that.","created_at":"2016-09-07T17:28:48Z","updated_at":"2016-09-07T17:28:48Z","html_url":"https://github.com/cfpb/cfgov-django-setup/pull/1#discussion_r77868244","pull_request_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/comments/77868244"},"html":{"href":"https://github.com/cfpb/cfgov-django-setup/pull/1#discussion_r77868244"},"pull_request":{"href":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/1","id":84312274,"html_url":"https://github.com/cfpb/cfgov-django-setup/pull/1","diff_url":"https://github.com/cfpb/cfgov-django-setup/pull/1.diff","patch_url":"https://github.com/cfpb/cfgov-django-setup/pull/1.patch","issue_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/issues/1","number":1,"state":"open","locked":false,"title":"Initial code","user":{"login":"rosskarchner","id":235397,"avatar_url":"https://avatars.githubusercontent.com/u/235397?v=3","gravatar_id":"","url":"https://api.github.com/users/rosskarchner","html_url":"https://github.com/rosskarchner","followers_url":"https://api.github.com/users/rosskarchner/followers","following_url":"https://api.github.com/users/rosskarchner/following{/other_user}","gists_url":"https://api.github.com/users/rosskarchner/gists{/gist_id}","starred_url":"https://api.github.com/users/rosskarchner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosskarchner/subscriptions","organizations_url":"https://api.github.com/users/rosskarchner/orgs","repos_url":"https://api.github.com/users/rosskarchner/repos","events_url":"https://api.github.com/users/rosskarchner/events{/privacy}","received_events_url":"https://api.github.com/users/rosskarchner/received_events","type":"User","site_admin":false},"body":"Here is the first implementation of the cfgov-setup module. Check the [README](https://github.com/rosskarchner/cfgov-django-setup/blob/master/README.md) to understand the intent.","created_at":"2016-09-07T14:37:20Z","updated_at":"2016-09-07T17:28:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43c1bb3a8b115aae669b7335c0c06d42ad731d1b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/1/commits","review_comments_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/1/comments","review_comment_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/issues/1/comments","statuses_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/statuses/0db94b1e16c043e083e870beee41ed6f9096d018","head":{"label":"rosskarchner:master","ref":"master","sha":"0db94b1e16c043e083e870beee41ed6f9096d018","user":{"login":"rosskarchner","id":235397,"avatar_url":"https://avatars.githubusercontent.com/u/235397?v=3","gravatar_id":"","url":"https://api.github.com/users/rosskarchner","html_url":"https://github.com/rosskarchner","followers_url":"https://api.github.com/users/rosskarchner/followers","following_url":"https://api.github.com/users/rosskarchner/following{/other_user}","gists_url":"https://api.github.com/users/rosskarchner/gists{/gist_id}","starred_url":"https://api.github.com/users/rosskarchner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosskarchner/subscriptions","organizations_url":"https://api.github.com/users/rosskarchner/orgs","repos_url":"https://api.github.com/users/rosskarchner/repos","events_url":"https://api.github.com/users/rosskarchner/events{/privacy}","received_events_url":"https://api.github.com/users/rosskarchner/received_events","type":"User","site_admin":false},"repo":{"id":67612719,"name":"cfgov-django-setup","full_name":"rosskarchner/cfgov-django-setup","owner":{"login":"rosskarchner","id":235397,"avatar_url":"https://avatars.githubusercontent.com/u/235397?v=3","gravatar_id":"","url":"https://api.github.com/users/rosskarchner","html_url":"https://github.com/rosskarchner","followers_url":"https://api.github.com/users/rosskarchner/followers","following_url":"https://api.github.com/users/rosskarchner/following{/other_user}","gists_url":"https://api.github.com/users/rosskarchner/gists{/gist_id}","starred_url":"https://api.github.com/users/rosskarchner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosskarchner/subscriptions","organizations_url":"https://api.github.com/users/rosskarchner/orgs","repos_url":"https://api.github.com/users/rosskarchner/repos","events_url":"https://api.github.com/users/rosskarchner/events{/privacy}","received_events_url":"https://api.github.com/users/rosskarchner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rosskarchner/cfgov-django-setup","description":"common code shared across our django apps that also trigger grunt/gulp builds","fork":true,"url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup","forks_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/forks","keys_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/teams","hooks_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/hooks","issue_events_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/issues/events{/number}","events_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/events","assignees_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/assignees{/user}","branches_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/branches{/branch}","tags_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/tags","blobs_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/git/refs{/sha}","trees_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/statuses/{sha}","languages_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/languages","stargazers_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/stargazers","contributors_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/contributors","subscribers_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/subscribers","subscription_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/subscription","commits_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/commits{/sha}","git_commits_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/git/commits{/sha}","comments_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/comments{/number}","issue_comment_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/issues/comments{/number}","contents_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/contents/{+path}","compare_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/merges","archive_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/downloads","issues_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/issues{/number}","pulls_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/pulls{/number}","milestones_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/milestones{/number}","notifications_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/labels{/name}","releases_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/releases{/id}","deployments_url":"https://api.github.com/repos/rosskarchner/cfgov-django-setup/deployments","created_at":"2016-09-07T14:11:34Z","updated_at":"2016-09-07T14:12:25Z","pushed_at":"2016-09-07T15:05:08Z","git_url":"git://github.com/rosskarchner/cfgov-django-setup.git","ssh_url":"git@github.com:rosskarchner/cfgov-django-setup.git","clone_url":"https://github.com/rosskarchner/cfgov-django-setup.git","svn_url":"https://github.com/rosskarchner/cfgov-django-setup","homepage":null,"size":210,"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":"cfpb:master","ref":"master","sha":"2a3dacef849f95b74c8d16cfbbad6fabf22ddb6f","user":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"repo":{"id":67242656,"name":"cfgov-django-setup","full_name":"cfpb/cfgov-django-setup","owner":{"login":"cfpb","id":1071563,"avatar_url":"https://avatars.githubusercontent.com/u/1071563?v=3","gravatar_id":"","url":"https://api.github.com/users/cfpb","html_url":"https://github.com/cfpb","followers_url":"https://api.github.com/users/cfpb/followers","following_url":"https://api.github.com/users/cfpb/following{/other_user}","gists_url":"https://api.github.com/users/cfpb/gists{/gist_id}","starred_url":"https://api.github.com/users/cfpb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfpb/subscriptions","organizations_url":"https://api.github.com/users/cfpb/orgs","repos_url":"https://api.github.com/users/cfpb/repos","events_url":"https://api.github.com/users/cfpb/events{/privacy}","received_events_url":"https://api.github.com/users/cfpb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cfpb/cfgov-django-setup","description":"common code shared across our django apps that also trigger grunt/gulp builds","fork":false,"url":"https://api.github.com/repos/cfpb/cfgov-django-setup","forks_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/forks","keys_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/teams","hooks_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/hooks","issue_events_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/issues/events{/number}","events_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/events","assignees_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/assignees{/user}","branches_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/branches{/branch}","tags_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/tags","blobs_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/statuses/{sha}","languages_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/languages","stargazers_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/stargazers","contributors_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/contributors","subscribers_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/subscribers","subscription_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/subscription","commits_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/contents/{+path}","compare_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/merges","archive_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/downloads","issues_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/issues{/number}","pulls_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls{/number}","milestones_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/milestones{/number}","notifications_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/labels{/name}","releases_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/releases{/id}","deployments_url":"https://api.github.com/repos/cfpb/cfgov-django-setup/deployments","created_at":"2016-09-02T17:38:28Z","updated_at":"2016-09-02T17:39:40Z","pushed_at":"2016-09-07T15:05:08Z","git_url":"git://github.com/cfpb/cfgov-django-setup.git","ssh_url":"git@github.com:cfpb/cfgov-django-setup.git","clone_url":"https://github.com/cfpb/cfgov-django-setup.git","svn_url":"https://github.com/cfpb/cfgov-django-setup","homepage":null,"size":205,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/1"},"html":{"href":"https://github.com/cfpb/cfgov-django-setup/pull/1"},"issue":{"href":"https://api.github.com/repos/cfpb/cfgov-django-setup/issues/1"},"comments":{"href":"https://api.github.com/repos/cfpb/cfgov-django-setup/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfpb/cfgov-django-setup/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/cfpb/cfgov-django-setup/statuses/0db94b1e16c043e083e870beee41ed6f9096d018"}}}}
{"actor":{"display_login":"rosskarchner"}}