{"action":"created","issue":{"url":"https://api.github.com/repos/drush-ops/drush/issues/3762","repository_url":"https://api.github.com/repos/drush-ops/drush","labels_url":"https://api.github.com/repos/drush-ops/drush/issues/3762/labels{/name}","comments_url":"https://api.github.com/repos/drush-ops/drush/issues/3762/comments","events_url":"https://api.github.com/repos/drush-ops/drush/issues/3762/events","html_url":"https://github.com/drush-ops/drush/issues/3762","id":375039188,"node_id":"MDU6SXNzdWUzNzUwMzkxODg=","number":3762,"title":"Regression --pipe -switch changed output","user":{"login":"asodastreamer","id":26171633,"node_id":"MDQ6VXNlcjI2MTcxNjMz","avatar_url":"https://avatars1.githubusercontent.com/u/26171633?v=4","gravatar_id":"","url":"https://api.github.com/users/asodastreamer","html_url":"https://github.com/asodastreamer","followers_url":"https://api.github.com/users/asodastreamer/followers","following_url":"https://api.github.com/users/asodastreamer/following{/other_user}","gists_url":"https://api.github.com/users/asodastreamer/gists{/gist_id}","starred_url":"https://api.github.com/users/asodastreamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asodastreamer/subscriptions","organizations_url":"https://api.github.com/users/asodastreamer/orgs","repos_url":"https://api.github.com/users/asodastreamer/repos","events_url":"https://api.github.com/users/asodastreamer/events{/privacy}","received_events_url":"https://api.github.com/users/asodastreamer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-29T14:20:42Z","updated_at":"2018-10-29T19:19:21Z","closed_at":"2018-10-29T16:04:15Z","author_association":"NONE","body":"**Describe the bug**\r\nWhen using --pipe in \r\nDrush Commandline Tool 9.2.\r\nwe end up also getting the current and the version to be updated to.\r\nThis will break compatibility with  scripts and approaches that were working before.\r\n\r\n**To Reproduce**\r\nDrupalproject with \r\nDrush Commandline Tool 9.2. execute `../vendor/drush/drush/drush pm:security --pipe\r\n\r\n**Expected behavior**\r\nThe same behaviour as in prior mayor versions of drush., so only the name of the module to be updated.\r\n\r\n**Actual behavior**\r\nIt also returns the current version and the version to update to space sepearated to the module-name\r\n\r\n**Workaround**\r\nNone.\r\n\r\n### System Configuration\r\n| Q               | A\r\n| --------------- | ---\r\n| Drush version?  | Drush Commandline Tool 9.2.\r\n| Drupal version? |  Drupal version   : 8.6.1 \r\n| PHP version     | 7.1\r\n| OS?             | Linux\r\n\r\n**Additional information**\r\nNone\r\n"},"comment":{"url":"https://api.github.com/repos/drush-ops/drush/issues/comments/434044231","html_url":"https://github.com/drush-ops/drush/issues/3762#issuecomment-434044231","issue_url":"https://api.github.com/repos/drush-ops/drush/issues/3762","id":434044231,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDA0NDIzMQ==","user":{"login":"greg-1-anderson","id":612191,"node_id":"MDQ6VXNlcjYxMjE5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/612191?v=4","gravatar_id":"","url":"https://api.github.com/users/greg-1-anderson","html_url":"https://github.com/greg-1-anderson","followers_url":"https://api.github.com/users/greg-1-anderson/followers","following_url":"https://api.github.com/users/greg-1-anderson/following{/other_user}","gists_url":"https://api.github.com/users/greg-1-anderson/gists{/gist_id}","starred_url":"https://api.github.com/users/greg-1-anderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg-1-anderson/subscriptions","organizations_url":"https://api.github.com/users/greg-1-anderson/orgs","repos_url":"https://api.github.com/users/greg-1-anderson/repos","events_url":"https://api.github.com/users/greg-1-anderson/events{/privacy}","received_events_url":"https://api.github.com/users/greg-1-anderson/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T19:19:21Z","updated_at":"2018-10-29T19:19:21Z","author_association":"MEMBER","body":"The `--pipe` in Drush 9 was not promised to be compatible with the `--pipe` in Drush 8. There was never a very formal definition of what `pipe` should do -- it was defined to just be \"better output for scripts\", and every command did something slightly differently. We therefore did not spend the effort to make pipe exactly identical in all cases.\r\n\r\nI wouldn't be entirely adverse to a PR that would \"correct\" the behavior of `--pipe` in Drush 9 for specific commands to better match what Drush 8 did. Note that it might be difficult in some cases to achieve this, as pipe in Drush 9 is always translated to something expressible in the format system.\r\n\r\nLong term, though, you are better off switching to the format / field system, as the meaning of what you are asking for is well-defined, and therefore more likely to remain supported for many major version updates in the future. "}}
{"actor":{"display_login":"greg-1-anderson"}}