{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/warehouse/issues/1886","repository_url":"https://api.github.com/repos/pypa/warehouse","labels_url":"https://api.github.com/repos/pypa/warehouse/issues/1886/labels{/name}","comments_url":"https://api.github.com/repos/pypa/warehouse/issues/1886/comments","events_url":"https://api.github.com/repos/pypa/warehouse/issues/1886/events","html_url":"https://github.com/pypa/warehouse/issues/1886","id":218740651,"number":1886,"title":"Search method in XML-RPC API treats {\"summary\": \"fix code\"} as {\"summary\": [\"fix\", \"code\"]}","user":{"login":"jwodder","id":98207,"avatar_url":"https://avatars1.githubusercontent.com/u/98207?v=4","gravatar_id":"","url":"https://api.github.com/users/jwodder","html_url":"https://github.com/jwodder","followers_url":"https://api.github.com/users/jwodder/followers","following_url":"https://api.github.com/users/jwodder/following{/other_user}","gists_url":"https://api.github.com/users/jwodder/gists{/gist_id}","starred_url":"https://api.github.com/users/jwodder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwodder/subscriptions","organizations_url":"https://api.github.com/users/jwodder/orgs","repos_url":"https://api.github.com/users/jwodder/repos","events_url":"https://api.github.com/users/jwodder/events{/privacy}","received_events_url":"https://api.github.com/users/jwodder/received_events","type":"User","site_admin":false},"labels":[{"id":835444594,"url":"https://api.github.com/repos/pypa/warehouse/labels/APIs/feeds","name":"APIs/feeds","color":"bfd4f2","default":false},{"id":541094596,"url":"https://api.github.com/repos/pypa/warehouse/labels/bug","name":"bug","color":"fe3f0b","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pypa/warehouse/milestones/9","html_url":"https://github.com/pypa/warehouse/milestone/9","labels_url":"https://api.github.com/repos/pypa/warehouse/milestones/9/labels","id":2964639,"number":9,"title":"2: End User MVP","description":"Necessary features for Python users (other than package maintainers) to try, test, and report bugs against Warehouse. Including infrastructure improvements tracked in https://github.com/python/pypi-infra . May include redirecting a portion of `pip install` traffic to Warehouse.","creator":{"login":"brainwane","id":842790,"avatar_url":"https://avatars0.githubusercontent.com/u/842790?v=4","gravatar_id":"","url":"https://api.github.com/users/brainwane","html_url":"https://github.com/brainwane","followers_url":"https://api.github.com/users/brainwane/followers","following_url":"https://api.github.com/users/brainwane/following{/other_user}","gists_url":"https://api.github.com/users/brainwane/gists{/gist_id}","starred_url":"https://api.github.com/users/brainwane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainwane/subscriptions","organizations_url":"https://api.github.com/users/brainwane/orgs","repos_url":"https://api.github.com/users/brainwane/repos","events_url":"https://api.github.com/users/brainwane/events{/privacy}","received_events_url":"https://api.github.com/users/brainwane/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2017-12-07T14:37:21Z","updated_at":"2018-02-15T20:15:00Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2017-04-02T04:14:59Z","updated_at":"2018-02-15T20:39:29Z","closed_at":"2018-02-15T20:15:00Z","author_association":"NONE","body":"As stated in the title, the `search` method of [PyPI/Warehouse's XML-RPC API](https://warehouse.readthedocs.io/api-reference/xml-rpc/) splits the values of its `spec` argument on whitespace, resulting in the method returning (for the example in the title) packages with either \"fix\" or \"code\" in their summary, not just those with both \"fix\" and \"code\" (let alone just those that contain the exact string \"fix code\").  This happens even if the `spec` value is passed as a one-element list (e.g., `{\"summary\": [\"fix code\"]}`), and while I haven't tested every field, it is not limited to just \"summary\".\r\n\r\nOn the off chance that this is the intended behavior, the documentation should at least be updated."},"comment":{"url":"https://api.github.com/repos/pypa/warehouse/issues/comments/366054458","html_url":"https://github.com/pypa/warehouse/issues/1886#issuecomment-366054458","issue_url":"https://api.github.com/repos/pypa/warehouse/issues/1886","id":366054458,"user":{"login":"brainwane","id":842790,"avatar_url":"https://avatars0.githubusercontent.com/u/842790?v=4","gravatar_id":"","url":"https://api.github.com/users/brainwane","html_url":"https://github.com/brainwane","followers_url":"https://api.github.com/users/brainwane/followers","following_url":"https://api.github.com/users/brainwane/following{/other_user}","gists_url":"https://api.github.com/users/brainwane/gists{/gist_id}","starred_url":"https://api.github.com/users/brainwane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brainwane/subscriptions","organizations_url":"https://api.github.com/users/brainwane/orgs","repos_url":"https://api.github.com/users/brainwane/repos","events_url":"https://api.github.com/users/brainwane/events{/privacy}","received_events_url":"https://api.github.com/users/brainwane/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T20:39:29Z","updated_at":"2018-02-15T20:39:29Z","author_association":"COLLABORATOR","body":"@waseem18 Thank you for the fix!\r\n\r\nIf you have time to help us with testing #2898, that would be great! And if you want a next issue to work with, would you consider helping me start on #2930?"}}
{"actor":{"display_login":"brainwane"}}