- Issue created by @gaurav_manerkar
- 🇮🇳India gaurav_manerkar Vasco Da Gama, Goa
May be root cause is in https://www.drupal.org/project/opentelemetry/issues/3360221 ✨ Push Drupal Logs via OpenTelemetry API Fixed
- Status changed to Closed: won't fix
almost 2 years ago 9:20am 21 January 2024 - 🇮🇳India gaurav_manerkar Vasco Da Gama, Goa
I fixed it by adding following script to
composer.json"scripts": { "post-drupal-scaffold-cmd": [ "echo '*.php -text diff' >> vendor/google/.gitattributes", "echo '*.php -text diff' >> vendor/open-telemetry/.gitattributes" ] } Although this is closed wanted to update. This issue still exists for opentelemetry 1.0.0-beta5 and google/protobuf version 3.22 I updated the given script as below to make it work, as the above mentioned code didn't work for me. This worked> >
"scripts": { "post-install-cmd": [ "echo *.php -text >> vendor/google/.gitattributes", "echo *.php -text >> vendor/open-telemetry/.gitattributes" ], "post-update-cmd": [ "echo *.php -text >> vendor/google/.gitattributes", "echo *.php -text >> vendor/open-telemetry/.gitattributes" ], "post-drupal-scaffold-cmd": [ "echo *.php -text >> vendor/google/.gitattributes", "echo *.php -text >> vendor/open-telemetry/.gitattributes" ] }