{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/tattoo/issues/25","repository_url":"https://api.github.com/repos/Polymer/tattoo","labels_url":"https://api.github.com/repos/Polymer/tattoo/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/tattoo/issues/25/comments","events_url":"https://api.github.com/repos/Polymer/tattoo/issues/25/events","html_url":"https://github.com/Polymer/tattoo/issues/25","id":190153987,"number":25,"title":"Fix handling of multiple references to same repo","user":{"login":"usergenic","id":578,"avatar_url":"https://avatars.githubusercontent.com/u/578?v=3","gravatar_id":"","url":"https://api.github.com/users/usergenic","html_url":"https://github.com/usergenic","followers_url":"https://api.github.com/users/usergenic/followers","following_url":"https://api.github.com/users/usergenic/following{/other_user}","gists_url":"https://api.github.com/users/usergenic/gists{/gist_id}","starred_url":"https://api.github.com/users/usergenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usergenic/subscriptions","organizations_url":"https://api.github.com/users/usergenic/orgs","repos_url":"https://api.github.com/users/usergenic/repos","events_url":"https://api.github.com/users/usergenic/events{/privacy}","received_events_url":"https://api.github.com/users/usergenic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-17T20:25:34Z","updated_at":"2016-11-18T23:06:50Z","closed_at":"2016-11-18T23:06:50Z","body":"Right now the system just throws up if there are multiple repo references with the same name before it initiates any cloning or bower installation etc.  This is true even if there are two identical/duplicate repo references.  It should be smarter about how it does that.  We discussed in person about the possibility in the future of supporting exploding a matrix of branches etc, but this is thorny and so the best thing to do is disallow it.\r\n\r\nHowever, I think multiple references to the same repository should probably just favor last-in, which would make it convenient to say that the following implies test all the paper elements on the 2.0 preview branches, except paper-hat should be tested on its special branch.\r\n\r\n```\r\ntattoo PolymerElements/paper-*#2.0-preview PolymerElements/paper-hat#special-branch\r\n```\r\n\r\nThen tattoo would only need to throw/exit when a package with the same name is referenced from two separate owners/orgs.  Like this wouldn't work:\r\n```\r\ntattoo Hooli/cool-thing PiedPiper/cool-thing\r\n```\r\n\r\nAnd, by extension, the following would only fail *if* the owners had a `cool-` element name in common.\r\n```\r\ntattoo Hooli/cool-* PiedPiper/cool-*\r\n```"},"comment":{"url":"https://api.github.com/repos/Polymer/tattoo/issues/comments/261665595","html_url":"https://github.com/Polymer/tattoo/issues/25#issuecomment-261665595","issue_url":"https://api.github.com/repos/Polymer/tattoo/issues/25","id":261665595,"user":{"login":"usergenic","id":578,"avatar_url":"https://avatars.githubusercontent.com/u/578?v=3","gravatar_id":"","url":"https://api.github.com/users/usergenic","html_url":"https://github.com/usergenic","followers_url":"https://api.github.com/users/usergenic/followers","following_url":"https://api.github.com/users/usergenic/following{/other_user}","gists_url":"https://api.github.com/users/usergenic/gists{/gist_id}","starred_url":"https://api.github.com/users/usergenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usergenic/subscriptions","organizations_url":"https://api.github.com/users/usergenic/orgs","repos_url":"https://api.github.com/users/usergenic/repos","events_url":"https://api.github.com/users/usergenic/events{/privacy}","received_events_url":"https://api.github.com/users/usergenic/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T23:06:50Z","updated_at":"2016-11-18T23:06:50Z","body":"It now works like this in v2.  The ability to use #hashrefs in wildcarded repo refs is not a thing yet but now multiple references to same repo by same owner are just favored last-in as described."}}
{"actor":{"display_login":"usergenic"}}