{"action":"opened","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/744","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/744/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/744/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/744/events","html_url":"https://github.com/yarnpkg/yarn/issues/744","id":182378393,"number":744,"title":"yarn doesn't like slashes in dependency branch names","user":{"login":"Tyriar","id":2193314,"avatar_url":"https://avatars.githubusercontent.com/u/2193314?v=3","gravatar_id":"","url":"https://api.github.com/users/Tyriar","html_url":"https://github.com/Tyriar","followers_url":"https://api.github.com/users/Tyriar/followers","following_url":"https://api.github.com/users/Tyriar/following{/other_user}","gists_url":"https://api.github.com/users/Tyriar/gists{/gist_id}","starred_url":"https://api.github.com/users/Tyriar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tyriar/subscriptions","organizations_url":"https://api.github.com/users/Tyriar/orgs","repos_url":"https://api.github.com/users/Tyriar/repos","events_url":"https://api.github.com/users/Tyriar/events{/privacy}","received_events_url":"https://api.github.com/users/Tyriar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-11T21:24:46Z","updated_at":"2016-10-11T21:24:46Z","closed_at":null,"body":"<!-- *Before creating an issue please make sure you are using the latest version of yarn.* -->\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\n\r\nBug\r\n\r\n**What is the current behavior?**\r\n\r\nThe branch cannot be found with the following dependency in my package.json:\r\n\r\n```\r\n\"xterm\": \"git+https://github.com/Tyriar/xterm.js.git#vscode-release/1.6\",\r\n```\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n\r\nI'm trying to build vscode using yarn. I cloned the repo, copied `./scripts/npm.sh` to `./scripts/yarn.sh` and replaced all instances of \"npm\" in the new file to \"yarn\" then ran it:\r\n\r\n```\r\n./scripts/yarn.sh\r\nerror Couldn't find match for \"vscode-release/1.6\" in \"119_fix_cursor_blink,124_add_textarea_back,124_fix_focus_blur,132_fix_constant_focus,154_fix_resize_at_top_ex\r\nception,158_add_webpack,159_fix_nbsp_resize,209_hide_textarea_when_not_composing,233_fix_cursor_on_top_of_ime,235_fix_scroll_to_top_on_app_mode,242_enable_scroll_on\r\n_soft_reset,add_linkify_to_demo,addon,fix,full_ts_conversion_wip,gh-pages,improve_copyright_line,issue,linkify,master,package-json,patch-1,patch-2,remove_linkify_fr\r\nom_readme,set_package_main,typescript_build,typescript_build_2,vscode-release,windows_demo,0.10,0.11,0.12,0.13,0.14,0.15,0.16,0.17,0.18,0.19,0.20,0.21,0.22,0.23,0.2\r\n4,0.25,0.26,0.27,0.29,0.3,0.30,0.31,0.32,0.33,0.4,0.5,0.6,0.7,0.8,0.9,0.9.1,0.9.2,0.9.3,v0.0.2\" for \"https://github.com/Tyriar/xterm.js.git\".\r\n```\r\n\r\nI imagine this will repro with an empty project with a branch containing a slash.\r\n\r\n**What is the expected behavior?**\r\n\r\nIt should work like with `npm`\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\n\r\nnode 6.7.0\r\nyarn 0.15.1\r\nUbuntu 16.04"}}
{"actor":{"display_login":"Tyriar"}}