-
Notifications
You must be signed in to change notification settings - Fork 1k
Prime cache for deb "installer" #6480
Conversation
|
@dotnet-bot Test RHEL7.2 x64 Release Build |
packaging/deb/postinst
Outdated
| # Run 'dotnet new' to trigger the first time experience to initialize the cache | ||
| echo ."NET Core Tools Telemetry | ||
| The .NET Core Tools include a telemetry feature (https://github.com/dotnet/cli/pull/2145) that collects usage information. It’s important that the .NET Team understands how the tools are being used so that we can improve them. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
build/package/Installer.DEB.targets
Outdated
| <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| <Target Name="SetupDebProps" | ||
| DependsOnTargets="Init"> | ||
| DependsOnTargets="Init"> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR link concerns me
7f70ac2 to
81d5bb2
Compare
Feedback no longer relevant, but haven't reviewed the rest.
33742ec to
f56c385
Compare
|
@ManishJayaswal @Pilchie for approval. |
| BuildSdkDeb; | ||
| TestSdkDeb;" | ||
| Condition=" '$(OSName)' == 'ubuntu' " | ||
| Condition=" '$(OSName)' == 'ubuntu' " |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
What is the customer scenario here? Should this have an ask mode template? |
|
Customer scenario In the last step of customer installing CLI debain package, The same time the telemetry message should be shown in the installer, because the user won't get it in the first run. Bugs this fixes Workarounds, if any N/A Risk The user needs to wait for NuGet cache to be extracted at the first time CLI is invoked. There is no feature parity between Windows and Ubuntu Performance impact N/A Root cause analysis N/A How was the bug found? N/A |
|
@dotnet-bot Test Ubuntu x64 Release Build |
|
The first commit does have the same problem with #6500 Add the second commit fixed it 157ee13 |
Copy postinst to correct directory Can only rely on env for get dotnet command Print telemetry notice anyway
|
Sorry for jumping in here very late. I suppose this same patch (or a derivative) will apply to RPMs too. I have a few questions:
Can you elaborate? Visual Studio doesn't work on Linux so this can't possibly impact Visual Studio, can it?
If this is a non-interactive installation, messages from the package install may not be shown to the user. And since the first run cache exists on subsequent runs, the message is never shown again. The
Packages touching a user's files (in this case under |
#6370