{"action":"created","comment":{"url":"https://api.github.com/repos/composer/satis/pulls/comments/45467224","id":45467224,"diff_hunk":"@@ -137,6 +171,10 @@ public function select(Composer $composer, $verbose)\n             }\n         }\n \n+        if($this->hasRepositoryFilter() && count($repos) !== 1) {\n+            throw new \\InvalidArgumentException(sprintf('Specified repository url %s does not exist.', $this->repositoryFilter));","path":"src/Composer/Satis/PackageSelection/PackageSelection.php","position":62,"original_position":62,"commit_id":"3bae6876a2c37cb6437c02836640b8830713dfc2","original_commit_id":"3bae6876a2c37cb6437c02836640b8830713dfc2","user":{"login":"mbrodala","id":5037116,"avatar_url":"https://avatars.githubusercontent.com/u/5037116?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrodala","html_url":"https://github.com/mbrodala","followers_url":"https://api.github.com/users/mbrodala/followers","following_url":"https://api.github.com/users/mbrodala/following{/other_user}","gists_url":"https://api.github.com/users/mbrodala/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrodala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrodala/subscriptions","organizations_url":"https://api.github.com/users/mbrodala/orgs","repos_url":"https://api.github.com/users/mbrodala/repos","events_url":"https://api.github.com/users/mbrodala/events{/privacy}","received_events_url":"https://api.github.com/users/mbrodala/received_events","type":"User","site_admin":false},"body":"Please use quotes (`... url \"%s\" does ...`) to clearly show where the URL starts and ends.","created_at":"2015-11-20T13:17:26Z","updated_at":"2015-11-20T13:17:26Z","html_url":"https://github.com/composer/satis/pull/266#discussion_r45467224","pull_request_url":"https://api.github.com/repos/composer/satis/pulls/266","_links":{"self":{"href":"https://api.github.com/repos/composer/satis/pulls/comments/45467224"},"html":{"href":"https://github.com/composer/satis/pull/266#discussion_r45467224"},"pull_request":{"href":"https://api.github.com/repos/composer/satis/pulls/266"}}},"pull_request":{"url":"https://api.github.com/repos/composer/satis/pulls/266","id":51354398,"html_url":"https://github.com/composer/satis/pull/266","diff_url":"https://github.com/composer/satis/pull/266.diff","patch_url":"https://github.com/composer/satis/pull/266.patch","issue_url":"https://api.github.com/repos/composer/satis/issues/266","number":266,"state":"open","locked":false,"title":"Reimplemented PR#232, PR#110","user":{"login":"realshadow","id":6673222,"avatar_url":"https://avatars.githubusercontent.com/u/6673222?v=3","gravatar_id":"","url":"https://api.github.com/users/realshadow","html_url":"https://github.com/realshadow","followers_url":"https://api.github.com/users/realshadow/followers","following_url":"https://api.github.com/users/realshadow/following{/other_user}","gists_url":"https://api.github.com/users/realshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/realshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realshadow/subscriptions","organizations_url":"https://api.github.com/users/realshadow/orgs","repos_url":"https://api.github.com/users/realshadow/repos","events_url":"https://api.github.com/users/realshadow/events{/privacy}","received_events_url":"https://api.github.com/users/realshadow/received_events","type":"User","site_admin":false},"body":"This is reimplemented https://github.com/composer/satis/pull/232, which also closes https://github.com/composer/satis/pull/110.\r\n\r\nThis allows for building a single package by it's url address, e.g.\r\n\r\n```\r\nphp bin/satis build satis.json public --repository-url https://github.com/realshadow/serializers.git\r\n```\r\n\r\nBuilding by specifying both - `package` and `repository-url` argument is not possible and should be used separately.\r\n\r\nCan someone please look at this? \r\n\r\nThanks","created_at":"2015-11-20T13:10:46Z","updated_at":"2015-11-20T13:17:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"342e6b907ebf5992461da3d7bd3ca3247f23d8a4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/composer/satis/pulls/266/commits","review_comments_url":"https://api.github.com/repos/composer/satis/pulls/266/comments","review_comment_url":"https://api.github.com/repos/composer/satis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/composer/satis/issues/266/comments","statuses_url":"https://api.github.com/repos/composer/satis/statuses/3bae6876a2c37cb6437c02836640b8830713dfc2","head":{"label":"realshadow:repository_filter","ref":"repository_filter","sha":"3bae6876a2c37cb6437c02836640b8830713dfc2","user":{"login":"realshadow","id":6673222,"avatar_url":"https://avatars.githubusercontent.com/u/6673222?v=3","gravatar_id":"","url":"https://api.github.com/users/realshadow","html_url":"https://github.com/realshadow","followers_url":"https://api.github.com/users/realshadow/followers","following_url":"https://api.github.com/users/realshadow/following{/other_user}","gists_url":"https://api.github.com/users/realshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/realshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realshadow/subscriptions","organizations_url":"https://api.github.com/users/realshadow/orgs","repos_url":"https://api.github.com/users/realshadow/repos","events_url":"https://api.github.com/users/realshadow/events{/privacy}","received_events_url":"https://api.github.com/users/realshadow/received_events","type":"User","site_admin":false},"repo":{"id":46520292,"name":"satis","full_name":"realshadow/satis","owner":{"login":"realshadow","id":6673222,"avatar_url":"https://avatars.githubusercontent.com/u/6673222?v=3","gravatar_id":"","url":"https://api.github.com/users/realshadow","html_url":"https://github.com/realshadow","followers_url":"https://api.github.com/users/realshadow/followers","following_url":"https://api.github.com/users/realshadow/following{/other_user}","gists_url":"https://api.github.com/users/realshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/realshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/realshadow/subscriptions","organizations_url":"https://api.github.com/users/realshadow/orgs","repos_url":"https://api.github.com/users/realshadow/repos","events_url":"https://api.github.com/users/realshadow/events{/privacy}","received_events_url":"https://api.github.com/users/realshadow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/realshadow/satis","description":"Simple static Composer repository generator","fork":true,"url":"https://api.github.com/repos/realshadow/satis","forks_url":"https://api.github.com/repos/realshadow/satis/forks","keys_url":"https://api.github.com/repos/realshadow/satis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/realshadow/satis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/realshadow/satis/teams","hooks_url":"https://api.github.com/repos/realshadow/satis/hooks","issue_events_url":"https://api.github.com/repos/realshadow/satis/issues/events{/number}","events_url":"https://api.github.com/repos/realshadow/satis/events","assignees_url":"https://api.github.com/repos/realshadow/satis/assignees{/user}","branches_url":"https://api.github.com/repos/realshadow/satis/branches{/branch}","tags_url":"https://api.github.com/repos/realshadow/satis/tags","blobs_url":"https://api.github.com/repos/realshadow/satis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/realshadow/satis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/realshadow/satis/git/refs{/sha}","trees_url":"https://api.github.com/repos/realshadow/satis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/realshadow/satis/statuses/{sha}","languages_url":"https://api.github.com/repos/realshadow/satis/languages","stargazers_url":"https://api.github.com/repos/realshadow/satis/stargazers","contributors_url":"https://api.github.com/repos/realshadow/satis/contributors","subscribers_url":"https://api.github.com/repos/realshadow/satis/subscribers","subscription_url":"https://api.github.com/repos/realshadow/satis/subscription","commits_url":"https://api.github.com/repos/realshadow/satis/commits{/sha}","git_commits_url":"https://api.github.com/repos/realshadow/satis/git/commits{/sha}","comments_url":"https://api.github.com/repos/realshadow/satis/comments{/number}","issue_comment_url":"https://api.github.com/repos/realshadow/satis/issues/comments{/number}","contents_url":"https://api.github.com/repos/realshadow/satis/contents/{+path}","compare_url":"https://api.github.com/repos/realshadow/satis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/realshadow/satis/merges","archive_url":"https://api.github.com/repos/realshadow/satis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/realshadow/satis/downloads","issues_url":"https://api.github.com/repos/realshadow/satis/issues{/number}","pulls_url":"https://api.github.com/repos/realshadow/satis/pulls{/number}","milestones_url":"https://api.github.com/repos/realshadow/satis/milestones{/number}","notifications_url":"https://api.github.com/repos/realshadow/satis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/realshadow/satis/labels{/name}","releases_url":"https://api.github.com/repos/realshadow/satis/releases{/id}","created_at":"2015-11-19T21:05:32Z","updated_at":"2015-11-19T21:05:32Z","pushed_at":"2015-11-20T13:07:10Z","git_url":"git://github.com/realshadow/satis.git","ssh_url":"git@github.com:realshadow/satis.git","clone_url":"https://github.com/realshadow/satis.git","svn_url":"https://github.com/realshadow/satis","homepage":"","size":311,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"composer:master","ref":"master","sha":"6df3fc0012606e356f18b3d2ec4758f2742fe50c","user":{"login":"composer","id":837015,"avatar_url":"https://avatars.githubusercontent.com/u/837015?v=3","gravatar_id":"","url":"https://api.github.com/users/composer","html_url":"https://github.com/composer","followers_url":"https://api.github.com/users/composer/followers","following_url":"https://api.github.com/users/composer/following{/other_user}","gists_url":"https://api.github.com/users/composer/gists{/gist_id}","starred_url":"https://api.github.com/users/composer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/composer/subscriptions","organizations_url":"https://api.github.com/users/composer/orgs","repos_url":"https://api.github.com/users/composer/repos","events_url":"https://api.github.com/users/composer/events{/privacy}","received_events_url":"https://api.github.com/users/composer/received_events","type":"Organization","site_admin":false},"repo":{"id":3192821,"name":"satis","full_name":"composer/satis","owner":{"login":"composer","id":837015,"avatar_url":"https://avatars.githubusercontent.com/u/837015?v=3","gravatar_id":"","url":"https://api.github.com/users/composer","html_url":"https://github.com/composer","followers_url":"https://api.github.com/users/composer/followers","following_url":"https://api.github.com/users/composer/following{/other_user}","gists_url":"https://api.github.com/users/composer/gists{/gist_id}","starred_url":"https://api.github.com/users/composer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/composer/subscriptions","organizations_url":"https://api.github.com/users/composer/orgs","repos_url":"https://api.github.com/users/composer/repos","events_url":"https://api.github.com/users/composer/events{/privacy}","received_events_url":"https://api.github.com/users/composer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/composer/satis","description":"Simple static Composer repository generator","fork":false,"url":"https://api.github.com/repos/composer/satis","forks_url":"https://api.github.com/repos/composer/satis/forks","keys_url":"https://api.github.com/repos/composer/satis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/composer/satis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/composer/satis/teams","hooks_url":"https://api.github.com/repos/composer/satis/hooks","issue_events_url":"https://api.github.com/repos/composer/satis/issues/events{/number}","events_url":"https://api.github.com/repos/composer/satis/events","assignees_url":"https://api.github.com/repos/composer/satis/assignees{/user}","branches_url":"https://api.github.com/repos/composer/satis/branches{/branch}","tags_url":"https://api.github.com/repos/composer/satis/tags","blobs_url":"https://api.github.com/repos/composer/satis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/composer/satis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/composer/satis/git/refs{/sha}","trees_url":"https://api.github.com/repos/composer/satis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/composer/satis/statuses/{sha}","languages_url":"https://api.github.com/repos/composer/satis/languages","stargazers_url":"https://api.github.com/repos/composer/satis/stargazers","contributors_url":"https://api.github.com/repos/composer/satis/contributors","subscribers_url":"https://api.github.com/repos/composer/satis/subscribers","subscription_url":"https://api.github.com/repos/composer/satis/subscription","commits_url":"https://api.github.com/repos/composer/satis/commits{/sha}","git_commits_url":"https://api.github.com/repos/composer/satis/git/commits{/sha}","comments_url":"https://api.github.com/repos/composer/satis/comments{/number}","issue_comment_url":"https://api.github.com/repos/composer/satis/issues/comments{/number}","contents_url":"https://api.github.com/repos/composer/satis/contents/{+path}","compare_url":"https://api.github.com/repos/composer/satis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/composer/satis/merges","archive_url":"https://api.github.com/repos/composer/satis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/composer/satis/downloads","issues_url":"https://api.github.com/repos/composer/satis/issues{/number}","pulls_url":"https://api.github.com/repos/composer/satis/pulls{/number}","milestones_url":"https://api.github.com/repos/composer/satis/milestones{/number}","notifications_url":"https://api.github.com/repos/composer/satis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/composer/satis/labels{/name}","releases_url":"https://api.github.com/repos/composer/satis/releases{/id}","created_at":"2012-01-16T18:10:58Z","updated_at":"2015-11-20T11:43:41Z","pushed_at":"2015-11-20T13:10:47Z","git_url":"git://github.com/composer/satis.git","ssh_url":"git@github.com:composer/satis.git","clone_url":"https://github.com/composer/satis.git","svn_url":"https://github.com/composer/satis","homepage":"","size":1490,"stargazers_count":927,"watchers_count":927,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":214,"mirror_url":null,"open_issues_count":86,"forks":214,"open_issues":86,"watchers":927,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/composer/satis/pulls/266"},"html":{"href":"https://github.com/composer/satis/pull/266"},"issue":{"href":"https://api.github.com/repos/composer/satis/issues/266"},"comments":{"href":"https://api.github.com/repos/composer/satis/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/composer/satis/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/composer/satis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/composer/satis/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/composer/satis/statuses/3bae6876a2c37cb6437c02836640b8830713dfc2"}}}}