Commit graph

3233 commits

Author SHA1 Message Date
Eric Erhardt
99c32422b8 Update Microsoft.DiaSymReader to 1.0.8-rc2-60610-01 2016-06-10 23:33:34 -05:00
eerhardt
2aa3dd0843 Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively 2016-06-11 04:29:58 +00:00
Livar Cunha
686e09d5e9 Removed the CompileCliSdkAndGenerateNuGetPackagesArchive method from CompileTargets and replaced with CompileCliSDk. Also used stage1 to generate the archive for stage2. 2016-06-10 19:52:37 -07:00
Livar Cunha
d8c590e4ce When creating the handle to the in progress sentinel, it was failing because the nuget cache folder did not exist yet. Which translated to us understanding that a first time experience was already running. Now, before creating the handle, we check if the nuget folder exists, if it doesn't, we create it, instead of waiting for nuget to do that during restore. 2016-06-10 18:17:32 -07:00
Andrew Stanton-Nurse
762a259e9f fix #3469 by correcting overflow and enabling tests (#3471)
* fix #3469 by correcting overflow and enabling tests

* pr feedback
2016-06-10 17:28:23 -07:00
Eric St. John
2b427bf7db Add copyright headers and cleanup
Added copyright headers to all the 'dotnet' code and cleaned up to match
repo style guidelines.
2016-06-10 17:07:25 -07:00
Eric Erhardt
ec02de828e Merge pull request #3514 from eerhardt/PortUri
Porting @svick's fix to change a hard-coded URL to a redirect link.
2016-06-10 19:01:14 -05:00
Livar Cunha
105e5ab051 Introducing a in progress sentinel that gets verified before running the first time experience. If we can get a handle for this sentinel, we proceed with the first time run, otherwise, it means there is a first time experience running already, in which case we continue running dotnet normally, even though the final (real) sentinel is not present yet. This prevents multiple dotnet commands from running the first time experience in parallel and prevents us from running into parallel nuget restores. 2016-06-10 16:54:39 -07:00
Livar Cunha
ed7e583ab6 Addressing code review comments and adding a DOTNET_SKIP_FIRST_TIME_EXPERIENCE env variable to have a way to turn off the feature. 2016-06-10 16:54:37 -07:00
Eric St. John
4d631cc1b1 Update dest path & fix race reporting progress
Renaming destinationPath to destinationRelativePath for clarity.  This
string represents the path relative to the extract directory to which
files will be written.

We were missing an Interlocked.Increment during a parallel operation.
2016-06-10 16:54:34 -07:00
Livar Cunha
bcadd6ff01 Fixing identation and spaces in a few files. 2016-06-10 16:54:31 -07:00
Bryan Thornbury
f27330a09b Revert "move all version suffixes to preview3 and rc4"
This reverts commit 35432bcb4a32ddd6b672f86b206e2b1933eff035.
2016-06-10 16:54:19 -07:00
Livar Cunha
69f43beccd Adding the code to extract the archive in the first use of dotnet an
d added the first time use welcome text as well as some E2E tests.
2016-06-10 16:54:16 -07:00
Livar Cunha
5f220a1677 Generating the archive in the sdk folder of stage2. 2016-06-10 16:54:14 -07:00
Livar Cunha
4c5f097d67 Adding the configurer to dotnet. 2016-06-10 16:54:11 -07:00
Livar Cunha
461c26b78d Adding a create method to the sentinel and invoking it from the Primer when appropriate. 2016-06-10 16:54:09 -07:00
Livar Cunha
ac2e21452f Adding a separate abstraction for the NuGet sentinel. 2016-06-10 16:54:06 -07:00
Eric St. John
8db7c1c4fb Add dotnet-archive application 2016-06-10 16:54:05 -07:00
Eric St. John
4949cedcc2 Fix progress for decompression 2016-06-10 16:54:04 -07:00
Eric St. John
e34d988f54 Clean up usings 2016-06-10 16:54:01 -07:00
Eric St. John
40bf17900a Add IndexedArchive
This type will archive multiple files de-duplicated in a zip with a
central manifest that describes how to recreate the actual layout.
In addition, any other zip file will be expanded and deduplicated
so that we can further reduce the size of those zips/nupkgs.
All of these are placed in a zip with no-compression, essentially
using the zip as only a container.  We then LZMA compress that
container to achieve maximum compression.
2016-06-10 16:54:00 -07:00
Eric St. John
e8a65dd546 Port LZMA SDK to .NETStandard1.0 as library
We're builiding a library and don't need the application-related source
so I've removed this in addition to fixing the source to compile as
NETStandard1.0.
2016-06-10 16:53:59 -07:00
Eric St. John
1cfdb41cef Initial commit of LZMA SDK
This is a direct copy of the CS folder from the 16.02 SDK package.

I've added a README to indicate where this code came from.
2016-06-10 16:53:58 -07:00
Bryan Thornbury
32962a14e2 move all version suffixes to preview3 and rc4 2016-06-10 16:53:57 -07:00
Livar Cunha
84f63029fe Almost all of the code to prime the NuGet cache from the archive.
- Created a Configurer class that is responsible for deciding when to run the dotnet first time use
experience and invoke the NuGetCachePrimer.
- Added the NuGetCachePrimer which extract the archive and primes the cache.
-- This is just missing creating the sentinel once restore succeeds.
- Added a shell for the NugetPackagesArchiver, which will be responsible for expanding the archive (likely
replaced in the future by an abstraction from Eric's code or its implementation will simply call Eric's code).
- Added a TemporaryFolder abstration to Internal Abstractions that handles deleting the temporary folder once
we are done with it.
2016-06-10 16:53:55 -07:00
Bryan Thornbury
19c905d223 fix reg key in cli msi 2016-06-10 16:37:09 -07:00
Eric Erhardt
4293d05571 Porting @svick's fix to change a hard-coded URL to a redirect link. 2016-06-10 17:51:50 -05:00
Bryan Thornbury
a3447617f9 Merge pull request #3464 from brthor/brthor/3400
update product monikers from rc2
2016-06-10 14:33:36 -07:00
Rob Relyea
c39fbd37d3 Merge pull request #3492 from dotnet/toddmosc/serviceable-p2
Removing the nuspec schema change used for adding the serviceable tag.
2016-06-10 10:04:16 -07:00
Josh Free
fa3c8bc8a4 Merge pull request #3493 from eerhardt/UpdateDependencies20160610030530
Updating CoreFx, CoreClr, CoreSetup to rc3-24210-06, rc3-24210-01, rc3-3004449-00 respectively
2016-06-10 09:27:44 -07:00
eerhardt
7b51f28c7f Updating CoreFx, CoreClr, CoreSetup to rc3-24210-06, rc3-24210-01, rc3-3004449-00 respectively 2016-06-10 15:05:30 +00:00
Eric Erhardt
3550b04f2e Merge pull request #3491 from eerhardt/FixVersionRepoUpdater
Fix the VersionRepoUpdater to handle symbols.nupkg files correctly.
2016-06-10 10:01:17 -05:00
Todd Moscinski
013fa1b8c0 Removing the nuspec schema change used for adding the serviceable tag. 2016-06-10 07:51:10 -07:00
Eric Erhardt
dc8f59e29b Fix the VersionRepoUpdater to handle symbols.nupkg files correctly. 2016-06-10 03:16:25 -05:00
Eric Erhardt
ef4a8e85ef Updating CoreSetup to rc3-004443-00. 2016-06-10 01:09:46 -05:00
Eric Erhardt
9e1be7682f Merge pull request #3482 from eerhardt/UpdateDependencies20160610015621
Updating CoreFx, CoreClr, CoreSetup to rc3-24209-08, rc3-24208-04, rc3-3004442-00 respectively
2016-06-09 22:12:17 -05:00
eerhardt
cd9bcd40b3 Updating CoreFx, CoreClr, CoreSetup to rc3-24209-08, rc3-24208-04, rc3-3004442-00 respectively 2016-06-09 21:14:15 -05:00
Eric Erhardt
be2a94f136 Merge pull request #3470 from eerhardt/Symbols
Publish symbol.nupkg files to myget.
2016-06-09 17:16:48 -05:00
Bryan Thornbury
1dc6b0e2dd Make the nuget cache local to the repo (#3370)
* fixes #3368

* Update build nuget cache to be in the repo
2016-06-09 15:05:27 -07:00
Josh Free
45d8f174aa Merge pull request #3468 from dotnet/ajbaaska/portable-pdbs
Made dotnet new templates generate portable pdbs
2016-06-09 13:59:13 -07:00
Eric Erhardt
abcaa595de Publish symbol.nupkg files to myget.
Fix #3445
2016-06-09 15:38:23 -05:00
Ajay Bhargav Baaskaran
1d44105b4b [Fixes #3421] Made dotnet new templates generate portable pdbs 2016-06-09 12:05:54 -07:00
Bryan Thornbury
6ad383666a update product monikers to rc2 2016-06-09 11:25:14 -07:00
Lee Coward
cbf5f1ef65 Merge pull request #3458 from blackdwarf/prev2templates
Add new templates for C# to dotnet new
2016-06-09 10:17:26 -07:00
Eric Erhardt
66f1a07c08 Merge pull request #3455 from eerhardt/NewNuGet
Update NuGet Version to 3.5.0-beta2-1451
2016-06-09 10:54:36 -05:00
Zlatko Knezevic
4b1735bdaf Fixing F# template project.json
Two changes:
1. Moving from netstandard1.5 to netcoreapp1.0
2. Fixing the version of F# netcore package
2016-06-09 08:17:45 -07:00
Zlatko Knezevic
85e4ed2b74 Responding to PR feedback 2016-06-09 08:06:38 -07:00
Zlatko Knezevic
c066ef1540 Add C# Lib and xunittest templates
Adding the C# lib and xunittest templates to `dotnet new`. These need
to be invoked with the `dotnet new -t lib` and `dotnet new -t
xunittest` keywords respectively.
2016-06-09 08:06:03 -07:00
Zhi Li
9a9864bf68 Update NuGet Version to 3.5.0-beta2-1451 2016-06-09 07:52:00 -05:00
Eric Erhardt
e11fd2f910 Merge pull request #3451 from eerhardt/UpdateDependencies
Updating CoreFx, CoreClr, Roslyn, CoreSetup, DiaSymReader to rc3-24208-04, rc3-24208-04, beta1-20160608-03, rc3-004425, rc2-60608-04 respectively
2016-06-09 07:40:12 -05:00