{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/5432","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/5432/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/5432/comments","events_url":"https://api.github.com/repos/composer/composer/issues/5432/events","html_url":"https://github.com/composer/composer/issues/5432","id":160119176,"number":5432,"title":"Issue resolving cyclic dependencies in a library after cloning tagged version of a repo","user":{"login":"gorkalaucirica","id":1749891,"avatar_url":"https://avatars.githubusercontent.com/u/1749891?v=3","gravatar_id":"","url":"https://api.github.com/users/gorkalaucirica","html_url":"https://github.com/gorkalaucirica","followers_url":"https://api.github.com/users/gorkalaucirica/followers","following_url":"https://api.github.com/users/gorkalaucirica/following{/other_user}","gists_url":"https://api.github.com/users/gorkalaucirica/gists{/gist_id}","starred_url":"https://api.github.com/users/gorkalaucirica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorkalaucirica/subscriptions","organizations_url":"https://api.github.com/users/gorkalaucirica/orgs","repos_url":"https://api.github.com/users/gorkalaucirica/repos","events_url":"https://api.github.com/users/gorkalaucirica/events{/privacy}","received_events_url":"https://api.github.com/users/gorkalaucirica/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/composer/composer/labels/Support","name":"Support","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-06-14T07:57:26Z","updated_at":"2016-10-24T08:49:12Z","closed_at":"2016-06-14T08:47:27Z","body":"This problem is mainly related to travis workflow, as it clones the repo as follows to test run tests over a specific tagged version of a repository:\r\n\r\n```\r\ngit clone --depth=50 --branch=v1.0.0 https://github.com/BenGorUser/SymfonyRoutingBridgeBundle.git \r\n```\r\n\r\nOur [SymfonyRoutingBridgeBundle](https://github.com/BenGorUser/SymfonyRoutingBridgeBundle) has a cyclic dependency with [BenGorUserBundle](https://github.com/BenGorUser/User) but it does not resolve it well as you can see in the following travis build:\r\n\r\nhttps://travis-ci.org/BenGorUser/SymfonyRoutingBridgeBundle/builds/137440803\r\n\r\nThe issue is that the repository requires `bengor-user/user-bundle: ^1.0` but takes the cloned repo's version as `dev-1d2b4a80112c63750e814fea1ccb2281d399dacf` even if it is tagged as v1.0.0.\r\n\r\nThe build done over the same commit but on master branch passes all tests successfully as composer resolves the dependencies correctly:\r\n\r\nhttps://travis-ci.org/BenGorUser/SymfonyRoutingBridgeBundle/jobs/137440680\r\n"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/255683067","html_url":"https://github.com/composer/composer/issues/5432#issuecomment-255683067","issue_url":"https://api.github.com/repos/composer/composer/issues/5432","id":255683067,"user":{"login":"glensc","id":199095,"avatar_url":"https://avatars.githubusercontent.com/u/199095?v=3","gravatar_id":"","url":"https://api.github.com/users/glensc","html_url":"https://github.com/glensc","followers_url":"https://api.github.com/users/glensc/followers","following_url":"https://api.github.com/users/glensc/following{/other_user}","gists_url":"https://api.github.com/users/glensc/gists{/gist_id}","starred_url":"https://api.github.com/users/glensc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glensc/subscriptions","organizations_url":"https://api.github.com/users/glensc/orgs","repos_url":"https://api.github.com/users/glensc/repos","events_url":"https://api.github.com/users/glensc/events{/privacy}","received_events_url":"https://api.github.com/users/glensc/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T08:49:12Z","updated_at":"2016-10-24T08:49:12Z","body":"@alcohol referenced commit that made branch detection to work on gitlab-ci again. perhaps you can do the same on composer side?"}}
{"actor":{"display_login":"glensc"}}