{"action":"opened","issue":{"url":"https://api.github.com/repos/chocolatey/choco/issues/1542","repository_url":"https://api.github.com/repos/chocolatey/choco","labels_url":"https://api.github.com/repos/chocolatey/choco/issues/1542/labels{/name}","comments_url":"https://api.github.com/repos/chocolatey/choco/issues/1542/comments","events_url":"https://api.github.com/repos/chocolatey/choco/issues/1542/events","html_url":"https://github.com/chocolatey/choco/issues/1542","id":315811451,"number":1542,"title":"Explain search by tags behavior","user":{"login":"jirkapok","id":25587226,"avatar_url":"https://avatars2.githubusercontent.com/u/25587226?v=4","gravatar_id":"","url":"https://api.github.com/users/jirkapok","html_url":"https://github.com/jirkapok","followers_url":"https://api.github.com/users/jirkapok/followers","following_url":"https://api.github.com/users/jirkapok/following{/other_user}","gists_url":"https://api.github.com/users/jirkapok/gists{/gist_id}","starred_url":"https://api.github.com/users/jirkapok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirkapok/subscriptions","organizations_url":"https://api.github.com/users/jirkapok/orgs","repos_url":"https://api.github.com/users/jirkapok/repos","events_url":"https://api.github.com/users/jirkapok/events{/privacy}","received_events_url":"https://api.github.com/users/jirkapok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-19T10:07:42Z","updated_at":"2018-04-19T10:07:42Z","closed_at":null,"author_association":"NONE","body":"## Steps to reproduce\r\n\r\nHaving following command line chat with chocolatey 0.10.9:\r\n\r\n~~~powershell\r\nPS> choco list git\r\n60 packages found.\r\nPS> choco list git --by-tag-only msysgit\r\n0 packages found.\r\nPS> choco list --by-tag-only git msysgit\r\n0 packages found.\r\nPS> choco list --by-tag-only msysgit git\r\nmsysgit 1.7.10.20120526 [Approved]\r\n1 packages found.\r\nPS> choco list --by-tag-only msysgit\r\n5 packages found.\r\n~~~\r\n\r\nIn this example there are multiple packages which fit to search by name \"git\" and also multiple packages from this list contain both tags \"git msysgit\" in chocolatey.org (official public) source.\r\n* See also https://github.com/chocolatey/choco/wiki/CommandsList\r\n* Documentation doesn't mention how to use the filter nor examples\r\n\r\n## What is the expected behavior?\r\n\r\nUse cases:\r\n* If both name and tag is provided, does it mean choco returns packages which fit `NAME AND TAG`?\r\n* If tag only is provided should it return all packages with that tag?\r\n* How to provide multiple tags, what is the separator?\r\n* If multiple tags are provided:\r\n  * does the order meter?\r\n  * choco returns only packages where `OR` or `AND` operator is applied for all tags?\r\n\r\n"}}
{"actor":{"display_login":"jirkapok"}}