Logo
Explore Help
Sign In
1berry/fdroidserver
1
0
Fork 0
You've already forked fdroidserver
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
fdroidserver/buildserver/provision-disable-analytics

16 lines
239 B
Plaintext
Raw Permalink Normal View History

buildserver: disable flutter dev/build analytics globally The Flutter dev tools includes opt-out analytics, with a config option to opt out. We can at least try to disable them in the buildserver. That config option is unfortunately not even guaranteed to work: https://github.com/flutter/flutter/issues/19304 https://github.com/flutter/flutter/issues/45369 issuebot#21 issuebot!49 https://github.com/flutter/flutter/issues/73657
2022-04-21 15:36:03 +02:00
#!/bin/bash
set -ex
# Flutter
# https://github.com/flutter/flutter/issues/73657
flutter_conf=/home/vagrant/.flutter
cat <<EOF > $flutter_conf
{
"enabled": false
}
EOF
Fix warning from "chown" about the syntax The warning: chown: warning: '.' should be ':': ‘vagrant.vagrant’
2024-11-08 11:19:49 +03:00
chown -R vagrant:vagrant $flutter_conf
buildserver: disable flutter dev/build analytics globally The Flutter dev tools includes opt-out analytics, with a config option to opt out. We can at least try to disable them in the buildserver. That config option is unfortunately not even guaranteed to work: https://github.com/flutter/flutter/issues/19304 https://github.com/flutter/flutter/issues/45369 issuebot#21 issuebot!49 https://github.com/flutter/flutter/issues/73657
2022-04-21 15:36:03 +02:00
chmod -R 0644 $flutter_conf
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 254ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API