{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/1908","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/1908/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/1908/comments","events_url":"https://api.github.com/repos/composer/composer/issues/1908/events","html_url":"https://github.com/composer/composer/issues/1908","id":14463792,"number":1908,"title":"composer update: can't change repository for a vcs dependency","user":{"login":"meonkeys","id":50639,"avatar_url":"https://avatars.githubusercontent.com/u/50639?v=3","gravatar_id":"","url":"https://api.github.com/users/meonkeys","html_url":"https://github.com/meonkeys","followers_url":"https://api.github.com/users/meonkeys/followers","following_url":"https://api.github.com/users/meonkeys/following{/other_user}","gists_url":"https://api.github.com/users/meonkeys/gists{/gist_id}","starred_url":"https://api.github.com/users/meonkeys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meonkeys/subscriptions","organizations_url":"https://api.github.com/users/meonkeys/orgs","repos_url":"https://api.github.com/users/meonkeys/repos","events_url":"https://api.github.com/users/meonkeys/events{/privacy}","received_events_url":"https://api.github.com/users/meonkeys/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/composer/composer/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/composer/composer/labels/Feature","name":"Feature","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/composer/composer/milestones/6","html_url":"https://github.com/composer/composer/milestones/Bugs","labels_url":"https://api.github.com/repos/composer/composer/milestones/6/labels","id":162532,"number":6,"title":"Bugs","description":"Bugs that have to be looked at","creator":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"open_issues":59,"closed_issues":114,"state":"open","created_at":"2012-08-18T15:15:20Z","updated_at":"2016-03-02T17:33:53Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2013-05-17T17:48:59Z","updated_at":"2016-03-02T17:33:53Z","closed_at":"2016-03-02T17:33:53Z","body":"If I change the URL for a dependency, `composer update` won't change composer.lock. \r\n\r\nUse case: \r\n\r\n* install dependency with composer \r\n* find a bug \r\n* patch it, send pull request \r\n* switch to my fork \r\n* once they apply my patch, switch back \r\n\r\n[Here's a script to demonstrate the problem](https://gist.github.com/meonkeys/5570869).\r\n\r\n-Adam \r\n\r\nP.S.:\r\n\r\n* [This](http://stackoverflow.com/questions/14636936/change-composer-git-source-for-a-package) is similar, but didn't answer my question.\r\n* Same with [this](https://github.com/composer/composer/issues/1551#issuecomment-12978227), (which seems like a crosspost of the [stackoverflow post](http://stackoverflow.com/questions/14636936/change-composer-git-source-for-a-package)).\r\n* [Crosspost](https://groups.google.com/d/msg/composer-dev/hbO15jcLa-g/BYw3VncTKlUJ)."},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/191341500","html_url":"https://github.com/composer/composer/issues/1908#issuecomment-191341500","issue_url":"https://api.github.com/repos/composer/composer/issues/1908","id":191341500,"user":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T17:33:53Z","updated_at":"2016-03-02T17:33:53Z","body":"Closing as I believe it has been fixed a while back"}}