{"action":"created","issue":{"url":"https://api.github.com/repos/conan-io/conan/issues/1009","repository_url":"https://api.github.com/repos/conan-io/conan","labels_url":"https://api.github.com/repos/conan-io/conan/issues/1009/labels{/name}","comments_url":"https://api.github.com/repos/conan-io/conan/issues/1009/comments","events_url":"https://api.github.com/repos/conan-io/conan/issues/1009/events","html_url":"https://github.com/conan-io/conan/issues/1009","id":208802573,"number":1009,"title":"Scopes (part 2)","user":{"login":"SumuduLansakara","id":5267117,"avatar_url":"https://avatars.githubusercontent.com/u/5267117?v=3","gravatar_id":"","url":"https://api.github.com/users/SumuduLansakara","html_url":"https://github.com/SumuduLansakara","followers_url":"https://api.github.com/users/SumuduLansakara/followers","following_url":"https://api.github.com/users/SumuduLansakara/following{/other_user}","gists_url":"https://api.github.com/users/SumuduLansakara/gists{/gist_id}","starred_url":"https://api.github.com/users/SumuduLansakara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SumuduLansakara/subscriptions","organizations_url":"https://api.github.com/users/SumuduLansakara/orgs","repos_url":"https://api.github.com/users/SumuduLansakara/repos","events_url":"https://api.github.com/users/SumuduLansakara/events{/privacy}","received_events_url":"https://api.github.com/users/SumuduLansakara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-20T07:26:40Z","updated_at":"2017-02-23T22:50:07Z","closed_at":null,"body":"This issue is partly related to #331 \r\n\r\nSay i'm exporting a package recipe. Now conan search gives this.\r\n\r\n- mypackage/0.1.0@user/channel\r\n\r\nI can install it locally (assume I'm building from source through conan) using following command.\r\n\r\n- conan install mypackage/0.1.0@user/channel --build mypackage\r\n\r\nEverything works fine up to this point. \r\n\r\nBut it doesn't work if i try to pass a scope variable for the above install command. (no scope variable is set there)\r\n\r\n- conan install mypackage/0.1.0@user/channel --build mypackage --scope key=value\r\n\r\nI'm stuck here without being able to pass a flag that doesn't affect the package integrity. Can you explain this and provide any possible work around if this is the expected behavior."},"comment":{"url":"https://api.github.com/repos/conan-io/conan/issues/comments/282147626","html_url":"https://github.com/conan-io/conan/issues/1009#issuecomment-282147626","issue_url":"https://api.github.com/repos/conan-io/conan/issues/1009","id":282147626,"user":{"login":"memsharded","id":15367152,"avatar_url":"https://avatars.githubusercontent.com/u/15367152?v=3","gravatar_id":"","url":"https://api.github.com/users/memsharded","html_url":"https://github.com/memsharded","followers_url":"https://api.github.com/users/memsharded/followers","following_url":"https://api.github.com/users/memsharded/following{/other_user}","gists_url":"https://api.github.com/users/memsharded/gists{/gist_id}","starred_url":"https://api.github.com/users/memsharded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/memsharded/subscriptions","organizations_url":"https://api.github.com/users/memsharded/orgs","repos_url":"https://api.github.com/users/memsharded/repos","events_url":"https://api.github.com/users/memsharded/events{/privacy}","received_events_url":"https://api.github.com/users/memsharded/received_events","type":"User","site_admin":false},"created_at":"2017-02-23T22:50:07Z","updated_at":"2017-02-23T22:50:07Z","body":"Hi Sumudu,\r\n\r\nFirst, if you are creating packages, I very strongly recommend the ``conan test_package`` functionality. You can get a fully working example with it if you do:\r\n\r\n```bash\r\n$ conan new Pkg/0.1@user/channel -t \r\n$ conan test_package\r\n```\r\n\r\nThen, I think the issue is that you have to specify the package you want to apply the scope to, or ALL, like:\r\n```bash\r\n$ conan test_package --scope mypackaeg:key=value\r\nor\r\n$ conan test_package --scope ALL:key=value\r\n```\r\nPlease try it, and tell me if it works. (BTW, sorry for the delay in answering this question)"}}
{"actor":{"display_login":"memsharded"}}