{"action":"created","comment":{"url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/comments/70002550","id":70002550,"diff_hunk":"@@ -0,0 +1,34 @@\n+# -*- coding: utf-8 -*-\n+from __future__ import unicode_literals\n+\n+from django.db import migrations, models\n+\n+def try_update_iplant_to_cyverse(apps, schema_editor):\n+    try:\n+        EmailTemplate = apps.get_model(\"core\", \"EmailTemplate\")\n+        template = EmailTemplate.objects.get(email_address='support@iplantcollaborative.org')\n+        template.email_address = u'support@cyverse.org'\n+        template.email_footer = u'CyVerse Atmosphere Team'\n+        template.save()\n+    except:\n+        pass","path":"core/migrations/0055_update_templates_with_cyverse.py","position":14,"original_position":14,"commit_id":"a57fffee07a748a7d01a56f52269e69f091e589d","original_commit_id":"a57fffee07a748a7d01a56f52269e69f091e589d","user":{"login":"cdosborn","id":3847314,"avatar_url":"https://avatars.githubusercontent.com/u/3847314?v=3","gravatar_id":"","url":"https://api.github.com/users/cdosborn","html_url":"https://github.com/cdosborn","followers_url":"https://api.github.com/users/cdosborn/followers","following_url":"https://api.github.com/users/cdosborn/following{/other_user}","gists_url":"https://api.github.com/users/cdosborn/gists{/gist_id}","starred_url":"https://api.github.com/users/cdosborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdosborn/subscriptions","organizations_url":"https://api.github.com/users/cdosborn/orgs","repos_url":"https://api.github.com/users/cdosborn/repos","events_url":"https://api.github.com/users/cdosborn/events{/privacy}","received_events_url":"https://api.github.com/users/cdosborn/received_events","type":"User","site_admin":false},"body":"I tested this with bogus values that would throw the exception. This is safe to run on jetstream.","created_at":"2016-07-07T22:59:55Z","updated_at":"2016-07-07T22:59:55Z","html_url":"https://github.com/iPlantCollaborativeOpenSource/atmosphere/pull/167#discussion_r70002550","pull_request_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/167","_links":{"self":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/comments/70002550"},"html":{"href":"https://github.com/iPlantCollaborativeOpenSource/atmosphere/pull/167#discussion_r70002550"},"pull_request":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/167"}}},"pull_request":{"url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/167","id":76675834,"html_url":"https://github.com/iPlantCollaborativeOpenSource/atmosphere/pull/167","diff_url":"https://github.com/iPlantCollaborativeOpenSource/atmosphere/pull/167.diff","patch_url":"https://github.com/iPlantCollaborativeOpenSource/atmosphere/pull/167.patch","issue_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/issues/167","number":167,"state":"open","locked":false,"title":"Fix atmo resource request","user":{"login":"cdosborn","id":3847314,"avatar_url":"https://avatars.githubusercontent.com/u/3847314?v=3","gravatar_id":"","url":"https://api.github.com/users/cdosborn","html_url":"https://github.com/cdosborn","followers_url":"https://api.github.com/users/cdosborn/followers","following_url":"https://api.github.com/users/cdosborn/following{/other_user}","gists_url":"https://api.github.com/users/cdosborn/gists{/gist_id}","starred_url":"https://api.github.com/users/cdosborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdosborn/subscriptions","organizations_url":"https://api.github.com/users/cdosborn/orgs","repos_url":"https://api.github.com/users/cdosborn/repos","events_url":"https://api.github.com/users/cdosborn/events{/privacy}","received_events_url":"https://api.github.com/users/cdosborn/received_events","type":"User","site_admin":false},"body":"This is related to [ATMO-1415](https://pods.iplantcollaborative.org/jira/browse/ATMO-1415). This re-enables approve/deny resource requests. Mainly the changes are relevant to the denying action which hadn't been working for a while.\r\n\r\nThis is ready to be reviewed, but it should not be merged until this [tropo PR](https://github.com/iPlantCollaborativeOpenSource/troposphere/pull/408) is ready.\r\n\r\nI'm concerned that these changes may affect `MachineRequest`. ","created_at":"2016-07-07T22:26:31Z","updated_at":"2016-07-07T22:59:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ea405e0d0e90e1c8221748db869dec19d261d47","assignee":{"login":"steve-gregory","id":2889930,"avatar_url":"https://avatars.githubusercontent.com/u/2889930?v=3","gravatar_id":"","url":"https://api.github.com/users/steve-gregory","html_url":"https://github.com/steve-gregory","followers_url":"https://api.github.com/users/steve-gregory/followers","following_url":"https://api.github.com/users/steve-gregory/following{/other_user}","gists_url":"https://api.github.com/users/steve-gregory/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-gregory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-gregory/subscriptions","organizations_url":"https://api.github.com/users/steve-gregory/orgs","repos_url":"https://api.github.com/users/steve-gregory/repos","events_url":"https://api.github.com/users/steve-gregory/events{/privacy}","received_events_url":"https://api.github.com/users/steve-gregory/received_events","type":"User","site_admin":false},"assignees":[{"login":"steve-gregory","id":2889930,"avatar_url":"https://avatars.githubusercontent.com/u/2889930?v=3","gravatar_id":"","url":"https://api.github.com/users/steve-gregory","html_url":"https://github.com/steve-gregory","followers_url":"https://api.github.com/users/steve-gregory/followers","following_url":"https://api.github.com/users/steve-gregory/following{/other_user}","gists_url":"https://api.github.com/users/steve-gregory/gists{/gist_id}","starred_url":"https://api.github.com/users/steve-gregory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve-gregory/subscriptions","organizations_url":"https://api.github.com/users/steve-gregory/orgs","repos_url":"https://api.github.com/users/steve-gregory/repos","events_url":"https://api.github.com/users/steve-gregory/events{/privacy}","received_events_url":"https://api.github.com/users/steve-gregory/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/167/commits","review_comments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/167/comments","review_comment_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/issues/167/comments","statuses_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/statuses/a57fffee07a748a7d01a56f52269e69f091e589d","head":{"label":"cdosborn:fix-atmo-resource-request","ref":"fix-atmo-resource-request","sha":"a57fffee07a748a7d01a56f52269e69f091e589d","user":{"login":"cdosborn","id":3847314,"avatar_url":"https://avatars.githubusercontent.com/u/3847314?v=3","gravatar_id":"","url":"https://api.github.com/users/cdosborn","html_url":"https://github.com/cdosborn","followers_url":"https://api.github.com/users/cdosborn/followers","following_url":"https://api.github.com/users/cdosborn/following{/other_user}","gists_url":"https://api.github.com/users/cdosborn/gists{/gist_id}","starred_url":"https://api.github.com/users/cdosborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdosborn/subscriptions","organizations_url":"https://api.github.com/users/cdosborn/orgs","repos_url":"https://api.github.com/users/cdosborn/repos","events_url":"https://api.github.com/users/cdosborn/events{/privacy}","received_events_url":"https://api.github.com/users/cdosborn/received_events","type":"User","site_admin":false},"repo":{"id":44635999,"name":"atmosphere","full_name":"cdosborn/atmosphere","owner":{"login":"cdosborn","id":3847314,"avatar_url":"https://avatars.githubusercontent.com/u/3847314?v=3","gravatar_id":"","url":"https://api.github.com/users/cdosborn","html_url":"https://github.com/cdosborn","followers_url":"https://api.github.com/users/cdosborn/followers","following_url":"https://api.github.com/users/cdosborn/following{/other_user}","gists_url":"https://api.github.com/users/cdosborn/gists{/gist_id}","starred_url":"https://api.github.com/users/cdosborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdosborn/subscriptions","organizations_url":"https://api.github.com/users/cdosborn/orgs","repos_url":"https://api.github.com/users/cdosborn/repos","events_url":"https://api.github.com/users/cdosborn/events{/privacy}","received_events_url":"https://api.github.com/users/cdosborn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdosborn/atmosphere","description":"Where cloud lives.","fork":true,"url":"https://api.github.com/repos/cdosborn/atmosphere","forks_url":"https://api.github.com/repos/cdosborn/atmosphere/forks","keys_url":"https://api.github.com/repos/cdosborn/atmosphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdosborn/atmosphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdosborn/atmosphere/teams","hooks_url":"https://api.github.com/repos/cdosborn/atmosphere/hooks","issue_events_url":"https://api.github.com/repos/cdosborn/atmosphere/issues/events{/number}","events_url":"https://api.github.com/repos/cdosborn/atmosphere/events","assignees_url":"https://api.github.com/repos/cdosborn/atmosphere/assignees{/user}","branches_url":"https://api.github.com/repos/cdosborn/atmosphere/branches{/branch}","tags_url":"https://api.github.com/repos/cdosborn/atmosphere/tags","blobs_url":"https://api.github.com/repos/cdosborn/atmosphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdosborn/atmosphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdosborn/atmosphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdosborn/atmosphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdosborn/atmosphere/statuses/{sha}","languages_url":"https://api.github.com/repos/cdosborn/atmosphere/languages","stargazers_url":"https://api.github.com/repos/cdosborn/atmosphere/stargazers","contributors_url":"https://api.github.com/repos/cdosborn/atmosphere/contributors","subscribers_url":"https://api.github.com/repos/cdosborn/atmosphere/subscribers","subscription_url":"https://api.github.com/repos/cdosborn/atmosphere/subscription","commits_url":"https://api.github.com/repos/cdosborn/atmosphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdosborn/atmosphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdosborn/atmosphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdosborn/atmosphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdosborn/atmosphere/contents/{+path}","compare_url":"https://api.github.com/repos/cdosborn/atmosphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdosborn/atmosphere/merges","archive_url":"https://api.github.com/repos/cdosborn/atmosphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdosborn/atmosphere/downloads","issues_url":"https://api.github.com/repos/cdosborn/atmosphere/issues{/number}","pulls_url":"https://api.github.com/repos/cdosborn/atmosphere/pulls{/number}","milestones_url":"https://api.github.com/repos/cdosborn/atmosphere/milestones{/number}","notifications_url":"https://api.github.com/repos/cdosborn/atmosphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdosborn/atmosphere/labels{/name}","releases_url":"https://api.github.com/repos/cdosborn/atmosphere/releases{/id}","deployments_url":"https://api.github.com/repos/cdosborn/atmosphere/deployments","created_at":"2015-10-20T21:29:42Z","updated_at":"2016-03-15T18:54:57Z","pushed_at":"2016-07-07T22:21:43Z","git_url":"git://github.com/cdosborn/atmosphere.git","ssh_url":"git@github.com:cdosborn/atmosphere.git","clone_url":"https://github.com/cdosborn/atmosphere.git","svn_url":"https://github.com/cdosborn/atmosphere","homepage":"https://atmo.iplantcollaborative.org","size":177529,"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":"iPlantCollaborativeOpenSource:master","ref":"master","sha":"984a0105d5f8937963891a9f3b8d2c3069720caa","user":{"login":"iPlantCollaborativeOpenSource","id":669032,"avatar_url":"https://avatars.githubusercontent.com/u/669032?v=3","gravatar_id":"","url":"https://api.github.com/users/iPlantCollaborativeOpenSource","html_url":"https://github.com/iPlantCollaborativeOpenSource","followers_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/followers","following_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/following{/other_user}","gists_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/gists{/gist_id}","starred_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/subscriptions","organizations_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/orgs","repos_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/repos","events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/events{/privacy}","received_events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/received_events","type":"Organization","site_admin":false},"repo":{"id":8279795,"name":"atmosphere","full_name":"iPlantCollaborativeOpenSource/atmosphere","owner":{"login":"iPlantCollaborativeOpenSource","id":669032,"avatar_url":"https://avatars.githubusercontent.com/u/669032?v=3","gravatar_id":"","url":"https://api.github.com/users/iPlantCollaborativeOpenSource","html_url":"https://github.com/iPlantCollaborativeOpenSource","followers_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/followers","following_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/following{/other_user}","gists_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/gists{/gist_id}","starred_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/subscriptions","organizations_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/orgs","repos_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/repos","events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/events{/privacy}","received_events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iPlantCollaborativeOpenSource/atmosphere","description":"Where cloud lives.","fork":false,"url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere","forks_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/forks","keys_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/teams","hooks_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/hooks","issue_events_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/issues/events{/number}","events_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/events","assignees_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/assignees{/user}","branches_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/branches{/branch}","tags_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/tags","blobs_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/statuses/{sha}","languages_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/languages","stargazers_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/stargazers","contributors_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/contributors","subscribers_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/subscribers","subscription_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/subscription","commits_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/contents/{+path}","compare_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/merges","archive_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/downloads","issues_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/issues{/number}","pulls_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls{/number}","milestones_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/milestones{/number}","notifications_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/labels{/name}","releases_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/releases{/id}","deployments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/deployments","created_at":"2013-02-18T23:54:07Z","updated_at":"2016-07-05T08:27:43Z","pushed_at":"2016-07-07T22:26:32Z","git_url":"git://github.com/iPlantCollaborativeOpenSource/atmosphere.git","ssh_url":"git@github.com:iPlantCollaborativeOpenSource/atmosphere.git","clone_url":"https://github.com/iPlantCollaborativeOpenSource/atmosphere.git","svn_url":"https://github.com/iPlantCollaborativeOpenSource/atmosphere","homepage":"https://atmo.iplantcollaborative.org","size":177669,"stargazers_count":128,"watchers_count":128,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":5,"forks":61,"open_issues":5,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/167"},"html":{"href":"https://github.com/iPlantCollaborativeOpenSource/atmosphere/pull/167"},"issue":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/issues/167"},"comments":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/atmosphere/statuses/a57fffee07a748a7d01a56f52269e69f091e589d"}}}}
{"actor":{"display_login":"cdosborn"}}