{"action":"opened","issue":{"url":"https://api.github.com/repos/akaihola/hardlinkpy/issues/18","repository_url":"https://api.github.com/repos/akaihola/hardlinkpy","labels_url":"https://api.github.com/repos/akaihola/hardlinkpy/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/akaihola/hardlinkpy/issues/18/comments","events_url":"https://api.github.com/repos/akaihola/hardlinkpy/issues/18/events","html_url":"https://github.com/akaihola/hardlinkpy/issues/18","id":337367732,"node_id":"MDU6SXNzdWUzMzczNjc3MzI=","number":18,"title":"Currently match is matched against the entire pathname, not just filename","user":{"login":"chadnetzer","id":122251,"node_id":"MDQ6VXNlcjEyMjI1MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/122251?v=4","gravatar_id":"","url":"https://api.github.com/users/chadnetzer","html_url":"https://github.com/chadnetzer","followers_url":"https://api.github.com/users/chadnetzer/followers","following_url":"https://api.github.com/users/chadnetzer/following{/other_user}","gists_url":"https://api.github.com/users/chadnetzer/gists{/gist_id}","starred_url":"https://api.github.com/users/chadnetzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chadnetzer/subscriptions","organizations_url":"https://api.github.com/users/chadnetzer/orgs","repos_url":"https://api.github.com/users/chadnetzer/repos","events_url":"https://api.github.com/users/chadnetzer/events{/privacy}","received_events_url":"https://api.github.com/users/chadnetzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-02T04:38:43Z","updated_at":"2018-07-02T04:38:43Z","closed_at":null,"author_association":"NONE","body":"This means, for example, if one wants to match against the files 'foo1' and 'foo99', it is required to use a match of \"*foo*\", rather than just \"foo*\".  Ie. you have to match against an arbitrary initial pathname, just to match a part of a filename.  The test suite unfortunately misses this case.\r\n\r\nThe match option is worded to imply matching filenames, as opposed to directories.  A user that wants to match specific directory trees can simply supply just those directories as arguments.  And they can exclude subdirectories with the -x option.  So to me, it makes sense to change the match option to match filenames as implied.\r\n\r\nThe fnmatch module does allow matching against strings such as \"foo/bar*\", ie. it allows path separators.  So if possible, we could also say that matching against a directory would require using the path separator in the match string."}}
{"actor":{"display_login":"chadnetzer"}}