{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/3742","labels_url":"https://api.github.com/repos/composer/composer/issues/3742/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/3742/comments","events_url":"https://api.github.com/repos/composer/composer/issues/3742/events","html_url":"https://github.com/composer/composer/issues/3742","id":57614571,"number":3742,"title":"composer update --no-dev loads dependencies from require-dev key","user":{"login":"internalsystemerror","id":1626298,"avatar_url":"https://avatars.githubusercontent.com/u/1626298?v=3","gravatar_id":"","url":"https://api.github.com/users/internalsystemerror","html_url":"https://github.com/internalsystemerror","followers_url":"https://api.github.com/users/internalsystemerror/followers","following_url":"https://api.github.com/users/internalsystemerror/following{/other_user}","gists_url":"https://api.github.com/users/internalsystemerror/gists{/gist_id}","starred_url":"https://api.github.com/users/internalsystemerror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/internalsystemerror/subscriptions","organizations_url":"https://api.github.com/users/internalsystemerror/orgs","repos_url":"https://api.github.com/users/internalsystemerror/repos","events_url":"https://api.github.com/users/internalsystemerror/events{/privacy}","received_events_url":"https://api.github.com/users/internalsystemerror/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-13T15:49:34Z","updated_at":"2015-02-16T13:48:08Z","closed_at":null,"body":"From the output of composer help update...\r\n```--no-dev                   Disables installation of require-dev packages.```\r\n\r\nI'm using the following:\r\n```\r\n    \"require\": {\r\n        \"php\": \">=5.4\",\r\n        \"videlalvaro/php-amqplib\": \"2.*\",\r\n        \"ebaye/ruc-config\": \"1.*\",\r\n        \"ebaye/ruc-doctrine\": \"~1.1\",\r\n        \"ebaye/ruc-translate\": \"1.*\",\r\n        \"ebaye/ruc-logger\": \"1.*\",\r\n        \"ebaye/ruc-transporter\": \"1.*\",\r\n        \"ebaye/manhattan\": \"1.*\"\r\n    },\r\n    \"require-dev\": {\r\n        \"ebaye/ruc-config\": \"dev-trunk\",\r\n        \"ebaye/ruc-doctrine\": \"dev-trunk\",\r\n        \"ebaye/ruc-translate\": \"dev-trunk\",\r\n        \"ebaye/ruc-logger\": \"dev-trunk\",\r\n        \"ebaye/ruc-transporter\": \"dev-trunk\",\r\n        \"ebaye/manhattan\": \"dev-trunk\"\r\n    },\r\n```\r\n\r\nI remove the require-dev key, and do composer update... Then I re-add the require-dev key and run ```composer update --no-dev``` and I get the following output:\r\n\r\n```\r\n[dev@localhost ruc]$ composer update -o --no-dev\r\nLoading composer repositories with package information\r\nUpdating dependencies\r\n  - Updating ebaye/ruc-config (1.0.1 => dev-trunk)\r\n    Checking out /trunk/@54\r\n\r\n  - Updating ebaye/ruc-doctrine (1.1.1 => dev-trunk)\r\n    Checking out /trunk/@63\r\n\r\n  - Updating ebaye/ruc-translate (1.0.0 => dev-trunk)\r\n    Checking out /trunk/@48\r\n\r\n  - Updating ebaye/ruc-logger (1.0.4 => dev-trunk)\r\n    Checking out /trunk/@262\r\n\r\n  - Updating ebaye/manhattan (1.0.1 => dev-trunk)\r\n    Checking out /trunk/@203\r\n\r\n  - Updating ebaye/ruc-transporter (1.1.3 => dev-trunk)\r\n    Checking out /trunk/@169\r\n\r\nWriting lock file\r\nGenerating optimized autoload files\r\n```\r\n\r\nAm I doing something wrong? I'm using the latest version of composer at the time of writing.\r\n\r\nEDIT: It may or may not be relevant that we're using SVN."},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/74510327","html_url":"https://github.com/composer/composer/issues/3742#issuecomment-74510327","issue_url":"https://api.github.com/repos/composer/composer/issues/3742","id":74510327,"user":{"login":"alcohol","id":21414,"avatar_url":"https://avatars.githubusercontent.com/u/21414?v=3","gravatar_id":"","url":"https://api.github.com/users/alcohol","html_url":"https://github.com/alcohol","followers_url":"https://api.github.com/users/alcohol/followers","following_url":"https://api.github.com/users/alcohol/following{/other_user}","gists_url":"https://api.github.com/users/alcohol/gists{/gist_id}","starred_url":"https://api.github.com/users/alcohol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcohol/subscriptions","organizations_url":"https://api.github.com/users/alcohol/orgs","repos_url":"https://api.github.com/users/alcohol/repos","events_url":"https://api.github.com/users/alcohol/events{/privacy}","received_events_url":"https://api.github.com/users/alcohol/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T13:48:08Z","updated_at":"2015-02-16T13:48:08Z","body":"Unable to reproduce as those are private repositories I guess.\r\n\r\nCan you try the following perhaps:\r\n\r\n```\r\nrm -rf vendor/ composer.lock\r\ncomposer install --no-dev\r\ncomposer update --no-dev\r\n```\r\n\r\nDoes that also give you dev-trunk then?\r\nMaybe related also, what is your `minimal-stability` set to in your root composer.json?"}}