{"action":"opened","number":281,"pull_request":{"url":"https://api.github.com/repos/jacebrowning/doorstop/pulls/281","id":143058328,"html_url":"https://github.com/jacebrowning/doorstop/pull/281","diff_url":"https://github.com/jacebrowning/doorstop/pull/281.diff","patch_url":"https://github.com/jacebrowning/doorstop/pull/281.patch","issue_url":"https://api.github.com/repos/jacebrowning/doorstop/issues/281","number":281,"state":"open","locked":false,"title":"Only ignore relpaths, not entire paths","user":{"login":"ojohnny","id":6860386,"avatar_url":"https://avatars2.githubusercontent.com/u/6860386?v=4","gravatar_id":"","url":"https://api.github.com/users/ojohnny","html_url":"https://github.com/ojohnny","followers_url":"https://api.github.com/users/ojohnny/followers","following_url":"https://api.github.com/users/ojohnny/following{/other_user}","gists_url":"https://api.github.com/users/ojohnny/gists{/gist_id}","starred_url":"https://api.github.com/users/ojohnny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojohnny/subscriptions","organizations_url":"https://api.github.com/users/ojohnny/orgs","repos_url":"https://api.github.com/users/ojohnny/repos","events_url":"https://api.github.com/users/ojohnny/events{/privacy}","received_events_url":"https://api.github.com/users/ojohnny/received_events","type":"User","site_admin":false},"body":"There was a problem when my project repo got checked out by a CI runner, where\r\nit got placed into a '.../build/myproject' folder.\r\n\r\nIn .gitignore, there was a '/BUILD/' ignore path.\r\n\r\nAs a result, fnmatch.fnmatch(path, '*BUILD*') in BaseWorkingCopy.ignored\r\nreturned True (as I understand, it is case insensitive), eventually\r\nresulting in my entire tree being ignored when searching for refs.\r\n\r\nThere was a 'fix' for this, which don't ignore '*build*' if the\r\nenvironment variable 'CI' was set.  This didn't match my '*BUILD*'\r\npattern, so it didn't trigger.  Also, it would actually not ignore a\r\nreal 'build/' directory in my repository if there was one, so I consider\r\nthis a bug anyway.","created_at":"2017-09-26T07:36:53Z","updated_at":"2017-09-26T07:36:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/jacebrowning/doorstop/pulls/281/commits","review_comments_url":"https://api.github.com/repos/jacebrowning/doorstop/pulls/281/comments","review_comment_url":"https://api.github.com/repos/jacebrowning/doorstop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jacebrowning/doorstop/issues/281/comments","statuses_url":"https://api.github.com/repos/jacebrowning/doorstop/statuses/2052b0f0fd47f9184e350e44c9caef3567f9d4de","head":{"label":"ojohnny:only-ignore-relpath","ref":"only-ignore-relpath","sha":"2052b0f0fd47f9184e350e44c9caef3567f9d4de","user":{"login":"ojohnny","id":6860386,"avatar_url":"https://avatars2.githubusercontent.com/u/6860386?v=4","gravatar_id":"","url":"https://api.github.com/users/ojohnny","html_url":"https://github.com/ojohnny","followers_url":"https://api.github.com/users/ojohnny/followers","following_url":"https://api.github.com/users/ojohnny/following{/other_user}","gists_url":"https://api.github.com/users/ojohnny/gists{/gist_id}","starred_url":"https://api.github.com/users/ojohnny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojohnny/subscriptions","organizations_url":"https://api.github.com/users/ojohnny/orgs","repos_url":"https://api.github.com/users/ojohnny/repos","events_url":"https://api.github.com/users/ojohnny/events{/privacy}","received_events_url":"https://api.github.com/users/ojohnny/received_events","type":"User","site_admin":false},"repo":{"id":104847084,"name":"doorstop","full_name":"ojohnny/doorstop","owner":{"login":"ojohnny","id":6860386,"avatar_url":"https://avatars2.githubusercontent.com/u/6860386?v=4","gravatar_id":"","url":"https://api.github.com/users/ojohnny","html_url":"https://github.com/ojohnny","followers_url":"https://api.github.com/users/ojohnny/followers","following_url":"https://api.github.com/users/ojohnny/following{/other_user}","gists_url":"https://api.github.com/users/ojohnny/gists{/gist_id}","starred_url":"https://api.github.com/users/ojohnny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojohnny/subscriptions","organizations_url":"https://api.github.com/users/ojohnny/orgs","repos_url":"https://api.github.com/users/ojohnny/repos","events_url":"https://api.github.com/users/ojohnny/events{/privacy}","received_events_url":"https://api.github.com/users/ojohnny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ojohnny/doorstop","description":"Requirements management using version control.","fork":true,"url":"https://api.github.com/repos/ojohnny/doorstop","forks_url":"https://api.github.com/repos/ojohnny/doorstop/forks","keys_url":"https://api.github.com/repos/ojohnny/doorstop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ojohnny/doorstop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ojohnny/doorstop/teams","hooks_url":"https://api.github.com/repos/ojohnny/doorstop/hooks","issue_events_url":"https://api.github.com/repos/ojohnny/doorstop/issues/events{/number}","events_url":"https://api.github.com/repos/ojohnny/doorstop/events","assignees_url":"https://api.github.com/repos/ojohnny/doorstop/assignees{/user}","branches_url":"https://api.github.com/repos/ojohnny/doorstop/branches{/branch}","tags_url":"https://api.github.com/repos/ojohnny/doorstop/tags","blobs_url":"https://api.github.com/repos/ojohnny/doorstop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ojohnny/doorstop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ojohnny/doorstop/git/refs{/sha}","trees_url":"https://api.github.com/repos/ojohnny/doorstop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ojohnny/doorstop/statuses/{sha}","languages_url":"https://api.github.com/repos/ojohnny/doorstop/languages","stargazers_url":"https://api.github.com/repos/ojohnny/doorstop/stargazers","contributors_url":"https://api.github.com/repos/ojohnny/doorstop/contributors","subscribers_url":"https://api.github.com/repos/ojohnny/doorstop/subscribers","subscription_url":"https://api.github.com/repos/ojohnny/doorstop/subscription","commits_url":"https://api.github.com/repos/ojohnny/doorstop/commits{/sha}","git_commits_url":"https://api.github.com/repos/ojohnny/doorstop/git/commits{/sha}","comments_url":"https://api.github.com/repos/ojohnny/doorstop/comments{/number}","issue_comment_url":"https://api.github.com/repos/ojohnny/doorstop/issues/comments{/number}","contents_url":"https://api.github.com/repos/ojohnny/doorstop/contents/{+path}","compare_url":"https://api.github.com/repos/ojohnny/doorstop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ojohnny/doorstop/merges","archive_url":"https://api.github.com/repos/ojohnny/doorstop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ojohnny/doorstop/downloads","issues_url":"https://api.github.com/repos/ojohnny/doorstop/issues{/number}","pulls_url":"https://api.github.com/repos/ojohnny/doorstop/pulls{/number}","milestones_url":"https://api.github.com/repos/ojohnny/doorstop/milestones{/number}","notifications_url":"https://api.github.com/repos/ojohnny/doorstop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ojohnny/doorstop/labels{/name}","releases_url":"https://api.github.com/repos/ojohnny/doorstop/releases{/id}","deployments_url":"https://api.github.com/repos/ojohnny/doorstop/deployments","created_at":"2017-09-26T06:50:58Z","updated_at":"2017-09-26T06:51:00Z","pushed_at":"2017-09-26T07:34:06Z","git_url":"git://github.com/ojohnny/doorstop.git","ssh_url":"git@github.com:ojohnny/doorstop.git","clone_url":"https://github.com/ojohnny/doorstop.git","svn_url":"https://github.com/ojohnny/doorstop","homepage":"https://doorstop.readthedocs.io","size":9625,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"develop"}},"base":{"label":"jacebrowning:develop","ref":"develop","sha":"9986d45218faee7d9c620bbaa23fce7fe73014ba","user":{"login":"jacebrowning","id":939501,"avatar_url":"https://avatars0.githubusercontent.com/u/939501?v=4","gravatar_id":"","url":"https://api.github.com/users/jacebrowning","html_url":"https://github.com/jacebrowning","followers_url":"https://api.github.com/users/jacebrowning/followers","following_url":"https://api.github.com/users/jacebrowning/following{/other_user}","gists_url":"https://api.github.com/users/jacebrowning/gists{/gist_id}","starred_url":"https://api.github.com/users/jacebrowning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacebrowning/subscriptions","organizations_url":"https://api.github.com/users/jacebrowning/orgs","repos_url":"https://api.github.com/users/jacebrowning/repos","events_url":"https://api.github.com/users/jacebrowning/events{/privacy}","received_events_url":"https://api.github.com/users/jacebrowning/received_events","type":"User","site_admin":false},"repo":{"id":9140331,"name":"doorstop","full_name":"jacebrowning/doorstop","owner":{"login":"jacebrowning","id":939501,"avatar_url":"https://avatars0.githubusercontent.com/u/939501?v=4","gravatar_id":"","url":"https://api.github.com/users/jacebrowning","html_url":"https://github.com/jacebrowning","followers_url":"https://api.github.com/users/jacebrowning/followers","following_url":"https://api.github.com/users/jacebrowning/following{/other_user}","gists_url":"https://api.github.com/users/jacebrowning/gists{/gist_id}","starred_url":"https://api.github.com/users/jacebrowning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacebrowning/subscriptions","organizations_url":"https://api.github.com/users/jacebrowning/orgs","repos_url":"https://api.github.com/users/jacebrowning/repos","events_url":"https://api.github.com/users/jacebrowning/events{/privacy}","received_events_url":"https://api.github.com/users/jacebrowning/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacebrowning/doorstop","description":"Requirements management using version control.","fork":false,"url":"https://api.github.com/repos/jacebrowning/doorstop","forks_url":"https://api.github.com/repos/jacebrowning/doorstop/forks","keys_url":"https://api.github.com/repos/jacebrowning/doorstop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacebrowning/doorstop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacebrowning/doorstop/teams","hooks_url":"https://api.github.com/repos/jacebrowning/doorstop/hooks","issue_events_url":"https://api.github.com/repos/jacebrowning/doorstop/issues/events{/number}","events_url":"https://api.github.com/repos/jacebrowning/doorstop/events","assignees_url":"https://api.github.com/repos/jacebrowning/doorstop/assignees{/user}","branches_url":"https://api.github.com/repos/jacebrowning/doorstop/branches{/branch}","tags_url":"https://api.github.com/repos/jacebrowning/doorstop/tags","blobs_url":"https://api.github.com/repos/jacebrowning/doorstop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacebrowning/doorstop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacebrowning/doorstop/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacebrowning/doorstop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacebrowning/doorstop/statuses/{sha}","languages_url":"https://api.github.com/repos/jacebrowning/doorstop/languages","stargazers_url":"https://api.github.com/repos/jacebrowning/doorstop/stargazers","contributors_url":"https://api.github.com/repos/jacebrowning/doorstop/contributors","subscribers_url":"https://api.github.com/repos/jacebrowning/doorstop/subscribers","subscription_url":"https://api.github.com/repos/jacebrowning/doorstop/subscription","commits_url":"https://api.github.com/repos/jacebrowning/doorstop/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacebrowning/doorstop/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacebrowning/doorstop/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacebrowning/doorstop/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacebrowning/doorstop/contents/{+path}","compare_url":"https://api.github.com/repos/jacebrowning/doorstop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacebrowning/doorstop/merges","archive_url":"https://api.github.com/repos/jacebrowning/doorstop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacebrowning/doorstop/downloads","issues_url":"https://api.github.com/repos/jacebrowning/doorstop/issues{/number}","pulls_url":"https://api.github.com/repos/jacebrowning/doorstop/pulls{/number}","milestones_url":"https://api.github.com/repos/jacebrowning/doorstop/milestones{/number}","notifications_url":"https://api.github.com/repos/jacebrowning/doorstop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacebrowning/doorstop/labels{/name}","releases_url":"https://api.github.com/repos/jacebrowning/doorstop/releases{/id}","deployments_url":"https://api.github.com/repos/jacebrowning/doorstop/deployments","created_at":"2013-04-01T03:29:26Z","updated_at":"2017-09-15T07:37:32Z","pushed_at":"2017-08-26T19:23:35Z","git_url":"git://github.com/jacebrowning/doorstop.git","ssh_url":"git@github.com:jacebrowning/doorstop.git","clone_url":"https://github.com/jacebrowning/doorstop.git","svn_url":"https://github.com/jacebrowning/doorstop","homepage":"https://doorstop.readthedocs.io","size":9625,"stargazers_count":65,"watchers_count":65,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"open_issues_count":35,"forks":18,"open_issues":35,"watchers":65,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/jacebrowning/doorstop/pulls/281"},"html":{"href":"https://github.com/jacebrowning/doorstop/pull/281"},"issue":{"href":"https://api.github.com/repos/jacebrowning/doorstop/issues/281"},"comments":{"href":"https://api.github.com/repos/jacebrowning/doorstop/issues/281/comments"},"review_comments":{"href":"https://api.github.com/repos/jacebrowning/doorstop/pulls/281/comments"},"review_comment":{"href":"https://api.github.com/repos/jacebrowning/doorstop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jacebrowning/doorstop/pulls/281/commits"},"statuses":{"href":"https://api.github.com/repos/jacebrowning/doorstop/statuses/2052b0f0fd47f9184e350e44c9caef3567f9d4de"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":10,"changed_files":1}}
{"actor":{"display_login":"ojohnny"}}