Skip to content

Instantly share code, notes, and snippets.

@huonw
Last active March 28, 2019 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huonw/b1f1a5cb2fed19ea8f50fac1ff001be0 to your computer and use it in GitHub Desktop.
Save huonw/b1f1a5cb2fed19ea8f50fac1ff001be0 to your computer and use it in GitHub Desktop.

The comments on this gist were created by selecting lines 96-98 in https://buildkite.com/bazel/android-studio-plugin/builds/1216#ed6edb2d-83c6-47b0-ba42-76aa09234910, copying, and pasting. The empty lines, whitespace, |s and --s on some lines were the result of the paste. The same behaviour was observed copying from Chrome or Safari, and pasting into either Chrome, Safari or Firefox (e.g. including Chrome -> Safari, and Safari -> Chrome); copying from Firefox had even less useful behaviour.

This only seems to occur in Github's issue/PR descriptions and comments. Pasting into other places, such as a text editor, or this Gist edit box works as expected (no empty lines, whitespace or |):

python3.6 bazelci.py project_pipeline --file_config=.bazelci/android-studio.yml | buildkite-agent pipeline upload'
2019-03-26 21:39:15 INFO   Reading pipeline config from STDIN
bazelci.py:585: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

System:

  • Chrome: Version 72.0.3626.121 (Official Build) (64-bit)
  • Safari: Version 12.0.2 (14606.3.4)
  • Firefox: 63.0.3 (64-bit)
  • macOS: 10.14.2 (18C54)
@huonw
Copy link
Author

huonw commented Mar 28, 2019

Copying from Chrome and Safari (pasting in any browser):




python3.6 bazelci.py project_pipeline --file_config=.bazelci/android-studio.yml \| buildkite-agent pipeline upload'
  | 2019-03-26 21:39:15 INFO   Reading pipeline config from STDIN
  | bazelci.py:585: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
 

@huonw
Copy link
Author

huonw commented Mar 28, 2019

Copying from Firefox (pasting in any browser):


python3.6 bazelci.py project_pipeline --file_config=.bazelci/android-studio.yml \| buildkite-agent pipeline upload'
--


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment