{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/basepi/salt/pulls/20","id":42974273,"html_url":"https://github.com/basepi/salt/pull/20","diff_url":"https://github.com/basepi/salt/pull/20.diff","patch_url":"https://github.com/basepi/salt/pull/20.patch","issue_url":"https://api.github.com/repos/basepi/salt/issues/20","number":20,"state":"open","locked":false,"title":"Better sensitive data redaction in git execution module","user":{"login":"terminalmage","id":328598,"avatar_url":"https://avatars.githubusercontent.com/u/328598?v=3","gravatar_id":"","url":"https://api.github.com/users/terminalmage","html_url":"https://github.com/terminalmage","followers_url":"https://api.github.com/users/terminalmage/followers","following_url":"https://api.github.com/users/terminalmage/following{/other_user}","gists_url":"https://api.github.com/users/terminalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/terminalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terminalmage/subscriptions","organizations_url":"https://api.github.com/users/terminalmage/orgs","repos_url":"https://api.github.com/users/terminalmage/repos","events_url":"https://api.github.com/users/terminalmage/events{/privacy}","received_events_url":"https://api.github.com/users/terminalmage/received_events","type":"User","site_admin":false},"body":"This modifies the existing behavior such that re.IGNORECASE will be used\nif we're on Python 2.7 or later. If not, then we try to match the regex\nfirst on a lowercased version of the string, and if it matches, return\nthe substitution on a lowercased version of the string. If there is no\nmatch, we just return the original string. This keeps us from\nunnecessarily lowercasing the string.","created_at":"2015-08-20T20:27:22Z","updated_at":"2015-08-20T20:27:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/basepi/salt/pulls/20/commits","review_comments_url":"https://api.github.com/repos/basepi/salt/pulls/20/comments","review_comment_url":"https://api.github.com/repos/basepi/salt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/basepi/salt/issues/20/comments","statuses_url":"https://api.github.com/repos/basepi/salt/statuses/509f89f64fba8ba4d5d88b5f4f63b55d250fe237","head":{"label":"terminalmage:pr-26530","ref":"pr-26530","sha":"509f89f64fba8ba4d5d88b5f4f63b55d250fe237","user":{"login":"terminalmage","id":328598,"avatar_url":"https://avatars.githubusercontent.com/u/328598?v=3","gravatar_id":"","url":"https://api.github.com/users/terminalmage","html_url":"https://github.com/terminalmage","followers_url":"https://api.github.com/users/terminalmage/followers","following_url":"https://api.github.com/users/terminalmage/following{/other_user}","gists_url":"https://api.github.com/users/terminalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/terminalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terminalmage/subscriptions","organizations_url":"https://api.github.com/users/terminalmage/orgs","repos_url":"https://api.github.com/users/terminalmage/repos","events_url":"https://api.github.com/users/terminalmage/events{/privacy}","received_events_url":"https://api.github.com/users/terminalmage/received_events","type":"User","site_admin":false},"repo":{"id":3186460,"name":"salt","full_name":"terminalmage/salt","owner":{"login":"terminalmage","id":328598,"avatar_url":"https://avatars.githubusercontent.com/u/328598?v=3","gravatar_id":"","url":"https://api.github.com/users/terminalmage","html_url":"https://github.com/terminalmage","followers_url":"https://api.github.com/users/terminalmage/followers","following_url":"https://api.github.com/users/terminalmage/following{/other_user}","gists_url":"https://api.github.com/users/terminalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/terminalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terminalmage/subscriptions","organizations_url":"https://api.github.com/users/terminalmage/orgs","repos_url":"https://api.github.com/users/terminalmage/repos","events_url":"https://api.github.com/users/terminalmage/events{/privacy}","received_events_url":"https://api.github.com/users/terminalmage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/terminalmage/salt","description":"Central system and configuration manager ","fork":true,"url":"https://api.github.com/repos/terminalmage/salt","forks_url":"https://api.github.com/repos/terminalmage/salt/forks","keys_url":"https://api.github.com/repos/terminalmage/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/terminalmage/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/terminalmage/salt/teams","hooks_url":"https://api.github.com/repos/terminalmage/salt/hooks","issue_events_url":"https://api.github.com/repos/terminalmage/salt/issues/events{/number}","events_url":"https://api.github.com/repos/terminalmage/salt/events","assignees_url":"https://api.github.com/repos/terminalmage/salt/assignees{/user}","branches_url":"https://api.github.com/repos/terminalmage/salt/branches{/branch}","tags_url":"https://api.github.com/repos/terminalmage/salt/tags","blobs_url":"https://api.github.com/repos/terminalmage/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/terminalmage/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/terminalmage/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/terminalmage/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/terminalmage/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/terminalmage/salt/languages","stargazers_url":"https://api.github.com/repos/terminalmage/salt/stargazers","contributors_url":"https://api.github.com/repos/terminalmage/salt/contributors","subscribers_url":"https://api.github.com/repos/terminalmage/salt/subscribers","subscription_url":"https://api.github.com/repos/terminalmage/salt/subscription","commits_url":"https://api.github.com/repos/terminalmage/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/terminalmage/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/terminalmage/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/terminalmage/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/terminalmage/salt/contents/{+path}","compare_url":"https://api.github.com/repos/terminalmage/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/terminalmage/salt/merges","archive_url":"https://api.github.com/repos/terminalmage/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/terminalmage/salt/downloads","issues_url":"https://api.github.com/repos/terminalmage/salt/issues{/number}","pulls_url":"https://api.github.com/repos/terminalmage/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/terminalmage/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/terminalmage/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/terminalmage/salt/labels{/name}","releases_url":"https://api.github.com/repos/terminalmage/salt/releases{/id}","created_at":"2012-01-15T22:33:58Z","updated_at":"2015-05-20T21:10:27Z","pushed_at":"2015-08-20T20:26:51Z","git_url":"git://github.com/terminalmage/salt.git","ssh_url":"git@github.com:terminalmage/salt.git","clone_url":"https://github.com/terminalmage/salt.git","svn_url":"https://github.com/terminalmage/salt","homepage":"saltstack.org","size":122611,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"basepi:merge-forward-2015.8","ref":"merge-forward-2015.8","sha":"0aadf75d0dcec234dde176dd8170e1d98d4f6cb1","user":{"login":"basepi","id":702318,"avatar_url":"https://avatars.githubusercontent.com/u/702318?v=3","gravatar_id":"","url":"https://api.github.com/users/basepi","html_url":"https://github.com/basepi","followers_url":"https://api.github.com/users/basepi/followers","following_url":"https://api.github.com/users/basepi/following{/other_user}","gists_url":"https://api.github.com/users/basepi/gists{/gist_id}","starred_url":"https://api.github.com/users/basepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basepi/subscriptions","organizations_url":"https://api.github.com/users/basepi/orgs","repos_url":"https://api.github.com/users/basepi/repos","events_url":"https://api.github.com/users/basepi/events{/privacy}","received_events_url":"https://api.github.com/users/basepi/received_events","type":"User","site_admin":false},"repo":{"id":7823385,"name":"salt","full_name":"basepi/salt","owner":{"login":"basepi","id":702318,"avatar_url":"https://avatars.githubusercontent.com/u/702318?v=3","gravatar_id":"","url":"https://api.github.com/users/basepi","html_url":"https://github.com/basepi","followers_url":"https://api.github.com/users/basepi/followers","following_url":"https://api.github.com/users/basepi/following{/other_user}","gists_url":"https://api.github.com/users/basepi/gists{/gist_id}","starred_url":"https://api.github.com/users/basepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basepi/subscriptions","organizations_url":"https://api.github.com/users/basepi/orgs","repos_url":"https://api.github.com/users/basepi/repos","events_url":"https://api.github.com/users/basepi/events{/privacy}","received_events_url":"https://api.github.com/users/basepi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/basepi/salt","description":"Central system and configuration manager ","fork":true,"url":"https://api.github.com/repos/basepi/salt","forks_url":"https://api.github.com/repos/basepi/salt/forks","keys_url":"https://api.github.com/repos/basepi/salt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/basepi/salt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/basepi/salt/teams","hooks_url":"https://api.github.com/repos/basepi/salt/hooks","issue_events_url":"https://api.github.com/repos/basepi/salt/issues/events{/number}","events_url":"https://api.github.com/repos/basepi/salt/events","assignees_url":"https://api.github.com/repos/basepi/salt/assignees{/user}","branches_url":"https://api.github.com/repos/basepi/salt/branches{/branch}","tags_url":"https://api.github.com/repos/basepi/salt/tags","blobs_url":"https://api.github.com/repos/basepi/salt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/basepi/salt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/basepi/salt/git/refs{/sha}","trees_url":"https://api.github.com/repos/basepi/salt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/basepi/salt/statuses/{sha}","languages_url":"https://api.github.com/repos/basepi/salt/languages","stargazers_url":"https://api.github.com/repos/basepi/salt/stargazers","contributors_url":"https://api.github.com/repos/basepi/salt/contributors","subscribers_url":"https://api.github.com/repos/basepi/salt/subscribers","subscription_url":"https://api.github.com/repos/basepi/salt/subscription","commits_url":"https://api.github.com/repos/basepi/salt/commits{/sha}","git_commits_url":"https://api.github.com/repos/basepi/salt/git/commits{/sha}","comments_url":"https://api.github.com/repos/basepi/salt/comments{/number}","issue_comment_url":"https://api.github.com/repos/basepi/salt/issues/comments{/number}","contents_url":"https://api.github.com/repos/basepi/salt/contents/{+path}","compare_url":"https://api.github.com/repos/basepi/salt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/basepi/salt/merges","archive_url":"https://api.github.com/repos/basepi/salt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/basepi/salt/downloads","issues_url":"https://api.github.com/repos/basepi/salt/issues{/number}","pulls_url":"https://api.github.com/repos/basepi/salt/pulls{/number}","milestones_url":"https://api.github.com/repos/basepi/salt/milestones{/number}","notifications_url":"https://api.github.com/repos/basepi/salt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/basepi/salt/labels{/name}","releases_url":"https://api.github.com/repos/basepi/salt/releases{/id}","created_at":"2013-01-25T16:06:11Z","updated_at":"2015-04-16T23:51:44Z","pushed_at":"2015-08-20T19:47:33Z","git_url":"git://github.com/basepi/salt.git","ssh_url":"git@github.com:basepi/salt.git","clone_url":"https://github.com/basepi/salt.git","svn_url":"https://github.com/basepi/salt","homepage":"saltstack.org","size":121382,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/basepi/salt/pulls/20"},"html":{"href":"https://github.com/basepi/salt/pull/20"},"issue":{"href":"https://api.github.com/repos/basepi/salt/issues/20"},"comments":{"href":"https://api.github.com/repos/basepi/salt/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/basepi/salt/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/basepi/salt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/basepi/salt/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/basepi/salt/statuses/509f89f64fba8ba4d5d88b5f4f63b55d250fe237"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":3,"changed_files":1}}