Comments (6)
Does it make sense to also set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
?
from setup-dotnet.
My instinct is to leave the telemetry on by default - I think if we can be helpful and provide telemetry back to .NET I'd probably rather do that by default and support them so that they can use that to make the product better!
I think I'm actually also hesitant to set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
- my reasoning here is that while this definitely makes sense for hosted pools, it seems like we wouldn't want this for private runners.
I'm not 100% sure on either of these, but that's my initial instinct - thoughts?
from setup-dotnet.
Please make this configurable via action parameters; this should only be a debate about the default values. It would be really nice to conveniently disable telemetry and first time experience as part of installing dotnet via this action.
Note: the way to disable first time experience seems to have changed in dotnet core 3.0 and now uses a sentinel file. Yet another reason to make such an option a parameter to this action.
from setup-dotnet.
to leave the telemetry on by default - I think if we can be helpful and provide telemetry back to .NET I'd probably rather do that by default and support them so that they can use that to make the product better!
I agree. A bit of log output like that is not really a hindrance for users.
The collected and transmitted data is undeniably not a security concern, but will help upstream quite a bit. Itβs a low-effort support that should not be skipped because it requires no investment. It is the default behavior of the dotnet environment, and there should be a compelling reason to change that default.
If users want to prevent it they can set the environment variable themselves. Itβs not like this action prevents them from disabling it. This is merely about the default, and I think transmission is totally fine.
To elaborate a bit more; let me explore two use cases.
A public repository will not have problems disclosing some build information, and submitting some generic statistics to dotnet upstream.
A private repository may be more conservative and restrictive, but as I said they can still set the environment variable to disable it themselves.
from setup-dotnet.
It seems we are agreed on leaving telemetry on. But I like the log message dotnet adds and think it would be useful.
For DOTNET_SKIP_FIRST_TIME_EXPERIENCE, my testing was not showing any improvement. Looking though some dotnet stuff I see that 3.0 may no longer do the dotnet priming that was causing slowness on the first run: https://github.com/dotnet/cli/issues/4919#issuecomment-488060488
Personally I think adding descriptions of a couple relevant environment variables to the README would provide value without setting up an environment that is not the default. This could also cover #10.
from setup-dotnet.
Closing this issue, the improved documentation provides ways to disable the first run message and telemetry.
from setup-dotnet.
Related Issues (20)
- Incorrect Dotnet Version Displayed in GitHub Actions Workflow HOT 15
- Wrong Download URLs for 7.0 HOT 1
- Cache fails to be recreated after NuGet package update HOT 6
- Problem matcher does not work with normal verbosity HOT 5
- Dotnet version looking for a version that is not available HOT 1
- All dotnet commands fail due to environment variables HOT 6
- .NET Test invoking an Azure Function: An error occurred trying to start process 'func' with working directory. The system cannot find the file specified. HOT 6
- .NET MAUI IOS HOT 4
- Share this site HOT 1
- Fallback to different installation directory if `/usr/share/dotnet` doesn't available due to permissions HOT 4
- Allow control of the noCdn / no_cdn script parameters HOT 1
- Unauthorised when using `secrets.GITHUB_TOKEN`. Packages not pushed to Github Repository Packages when using PAT. HOT 9
- Add a possibility to specify the verbosity flag for the install-scripts execution HOT 1
- Support SDK workloads HOT 2
- Support explicit architecture for dotnet HOT 1
- Allow tools to cache
- NUGET_AUTH_TOKEN does not work for official NuGet repository HOT 3
- Docs Bug: v4 README points to v3 HOT 2
- Bitcoin HOT 1
- Infrequent "MSB4236: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found" errors with ubuntu 24.04 hosted runner. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setup-dotnet.