Commit graph

465 commits

Author SHA1 Message Date
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
a3447617f9 Merge pull request #3464 from brthor/brthor/3400
update product monikers from rc2
2016-06-10 14:33:36 -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
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
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
Eric Erhardt
abcaa595de Publish symbol.nupkg files to myget.
Fix #3445
2016-06-09 15:38:23 -05:00
Bryan Thornbury
6ad383666a update product monikers to rc2 2016-06-09 11:25:14 -07:00
Zhi Li
9a9864bf68 Update NuGet Version to 3.5.0-beta2-1451 2016-06-09 07:52:00 -05:00
Eric Erhardt
f43aad780c Updating CoreFx, CoreClr, Roslyn, CoreSetup, DiaSymReader to rc3-24208-04, rc3-24208-04, beta1-20160608-03, rc3-004425, rc2-60608-04 respectively 2016-06-08 22:56:25 -05:00
Eric Erhardt
0eb24de0a8 CLI dotnet/versions build info files should be separated between the branches.
Adding a "BranchName" branchinfo.txt variable like we have in core-setup. This allows to update the correct path under dotnet/versions/build-info.

Also, moving UpdateVersionsRepo into FinalizeBuild.
2016-06-08 18:02:59 -05:00
Eric Erhardt
6802e23d77 Merge pull request #3433 from svick/build-console-output
Use ordinal comparison when searching for escape sequence in build framework console
2016-06-08 13:55:12 -05:00
Ajay Bhargav Baaskaran
4a88cff185 [Fixes #3255] Added a web template to dotnet new 2016-06-08 11:31:08 -07:00
Petr Onderka
da72031a42 Improve usage listing of build scripts
- sort options by importance
- add missing -Architecture to Usage in build.ps1
- remove redundant and confusing TARGETS line in build.sh
2016-06-08 18:39:38 +02:00
Petr Onderka
53eb94e89c Use ordinal comparison when searching for escape sequence
Fixes #3431
2016-06-08 10:54:56 +00:00
Eric Erhardt
d2f1fa0300 Updating CoreFx, CoreClr, CoreSetup to rc3-24207-03, rc3-24207-03, rc3-004415 respectively. 2016-06-07 18:24:30 -05:00
Eric Erhardt
82ef0304bb Crossgen now requires a Jit package to be specified.
Port Crossgen fix from core-setup.

See a2857af7e3
2016-06-07 18:22:52 -05:00
Eric Erhardt
748516bb0d Add CoreClr dependency to CLI's update-dependencies. 2016-06-07 18:22:52 -05:00
Eric Erhardt
72fa4f6cf3 Fix Ubuntu build break.
Ubuntu is currently broken because we added a new channel, and a switch statement wasn't expecting the new channel.

The fix is to eliminate the switch statement on the channel and always return "dotnet-dev-<version>" for the debian sdk package name.
2016-06-07 18:02:33 -05:00
Jonathan Miller
cdf4407419 Bumping JSON.NET to 9.0.1 2016-06-07 15:04:17 -07:00
Eric Erhardt
2e7c467aad Merge pull request #3407 from dotnet/dev-ragrawal-updatenuget
update nuget to 3.5.0-beta2-1392
2016-06-07 15:50:13 -05:00
Eric Erhardt
334b079995 Updating CoreSetup, Roslyn, DiaSymReader to rc3-004408, beta1-20160606-02, 1.0.8-rc2-60606-01 respectively. 2016-06-06 18:56:24 -05:00
Rohit Agrawal
5378f5a697 update nuget to 3.5.0-beta2-1392 2016-06-06 14:14:20 -07:00
Eric Erhardt
c3b1bb05f6 Change CHANNEL for the rel/1.0.0 branch
So it publishes builds to separate channel than rel/1.0.0-preview2.
2016-06-06 13:44:47 -05:00
Eric Erhardt
90fbc3bb53 Merge pull request #3399 from eerhardt/UpdateSharedFX
Updating CoreSetup to rc3-004406
2016-06-06 12:13:53 -05:00
Eric Erhardt
8a97cd74b3 Merge pull request #3397 from eerhardt/FixExecSilentEnvVar
Pass env into ExecCore
2016-06-06 11:58:32 -05:00
Eric Erhardt
42938f180f Updating CoreSetup to rc3-004406 2016-06-06 11:15:07 -05:00
Eric Erhardt
f34788898d Pass env into ExecCore 2016-06-06 10:31:44 -05:00
eerhardt
354b1d38d5 Updating CoreFx, CoreSetup to rc3-24206-00, rc3-004404 respectively 2016-06-06 14:24:51 +00:00
eerhardt
ea8ae8d1c7 Updating CoreFx, CoreSetup to rc3-24204-00, rc3-004400 respectively 2016-06-04 18:32:34 +00:00
Eric Erhardt
4f95bc0010 Update CoreSetup to rc3-004397 2016-06-04 00:00:28 -05:00
Eric Erhardt
9ffe91f367 Move dependency from Microsoft.NETCore.Runtime to Microsoft.NETCore.Runtime.CoreCLR. 2016-06-03 16:35:00 -05:00
Eric Erhardt
f16f2e64eb Updating CoreFx, CoreSetup, Roslyn to rc3-24201-00, rc3-004391, beta1-20160602-01 2016-06-03 07:27:42 -05:00
Eric Erhardt
0366576dba Merge pull request #3361 from eerhardt/AddRoslynDependency
Add Roslyn as a dependency in update-dependencies.
2016-06-03 07:21:27 -05:00
Eric Erhardt
5e6ae9cd48 Add Roslyn as a dependency in update-dependencies. 2016-06-03 01:03:48 -05:00
MichaelSimons
c622debad0 Removed publish logic that triggered dotnet-preview Docker builds. This logic has been moved to Maestro. 2016-06-02 19:07:16 -07:00
Eric Erhardt
0577337cdc Merge pull request #3351 from dotnet/preview2
Updating CoreSetup to rc3-004373
2016-06-02 15:47:00 -05:00
Eric Erhardt
351255dda1 Updating CoreSetup to rc3-004373 2016-06-02 14:45:00 -05:00
Eric Erhardt
74a9594634 Small fixes to update-dependencies.
Fix stage0 location to be the same as build.

Fix ReplaceDependencyVersion to only mark IsUpdated = true when the version was actually updated.

Point to core-setup/release/1.0.0.
2016-06-02 14:09:50 -05:00
Bryan Thornbury
64508f08ab fixes #2408 stop using corehost to activate projectdependencycommands 2016-06-02 10:50:38 -07:00
Livar
48b3b02d3c Merge pull request #3334 from livarcocc/skip_installer_for_ubuntu_16
We need to prevent downloading deb packages on Ubuntu16.04 since we d…
2016-06-01 21:39:10 -07:00
Livar Cunha
5f791ff9c5 We need to prevent downloading deb packages on Ubuntu16.04 since we don't have them there yet. This is a hack and the right fix would be to not use a enum with the BuildPlatform, but something that allowed us to express the platform and the version of the platform. 2016-06-01 17:17:59 -07:00
Bryan Thornbury
1ed73046f4 Fix the location of sharedfx + sharedhost pkgs downloaded from core-setup for the sdk pkg build 2016-06-01 15:34:47 -07:00
Livar Cunha
7652335195 Addressing code review comments and adding opensuse 13.2 2016-05-31 15:15:57 -07:00
Matt Ellis
20f9811741 Fix versioned BuildPlatforms logic 2016-05-31 15:15:56 -07:00
Matt Ellis
2155a419ad Generate correct badges filenames 2016-05-31 15:15:56 -07:00
Livar Cunha
a80dcbe5be Adding fedora 23 and ubuntu 16.04 to the Update-dependencies project. 2016-05-31 15:15:56 -07:00
Livar Cunha
baf98263f0 Fixing a missing $ for a string formatting 2016-05-31 15:15:08 -07:00
Livar Cunha
ca326cb4ec Removing dotnet-core from the NuGet.Config and add --disable-parallel to RestoreTestPackages. It was causing issues when reading global.json in Ubuntu and Fedora 2016-05-31 15:15:08 -07:00
Matt Ellis
6ccc40e146 Use different moniker for the new distros 2016-05-31 15:15:08 -07:00
Livar Cunha
7963018d3d Small changes that I noticed when diffing the files 2016-05-31 15:15:08 -07:00
Livar Cunha
e634fedae8 Adding Fedora 23 2016-05-31 15:15:08 -07:00
Livar Cunha
84d1b60ffe Adding docker files, modifying scripts and code to handle ubuntu 16.04 2016-05-31 15:15:08 -07:00
eerhardt
657c03b625 Updating CoreFx, CoreSetup to rc3-24131-00, rc3-004363 respectively 2016-05-31 20:27:46 +00:00
Eric Erhardt
d50068a5e4 Updating CoreFx, CoreSetup to rc3-24128-00, rc3-004338 respectively 2016-05-31 12:55:36 -05:00
Eric Erhardt
fad7477ea5 Microsoft.NETCore.App no longer supports netstandard
Any project that references Microsoft.NETCore.App must target netcoreapp1.0.

Moving app projects to netcoreapp1.0; moving library projects to reference NETStandard.Library.
2016-05-31 09:54:28 -05:00
eerhardt
a087de2f87 Updating CoreFx, CoreSetup to rc3-24127-01, rc3-004336 respectively 2016-05-28 00:48:49 +00:00
Bryan Thornbury
f31472764f Sync build_projects/shared-build-targets-utils with Core-Setup 2016-05-27 13:24:39 -07:00
eerhardt
80820a638b Updating CoreFx, CoreSetup to rc3-24127-00, rc3-004324 respectively 2016-05-27 18:12:45 +00:00
Eric Erhardt
3fd06948fb Merge pull request #3264 from eerhardt/UpdateDependencies20160527080508
Updating CoreFx, CoreSetup to rc3-24126-01, rc3-004322 respectively
2016-05-27 13:04:01 -05:00
eerhardt
ef76efa02c Updating CoreFx, CoreSetup to rc3-24126-01, rc3-004322 respectively 2016-05-27 08:05:08 +00:00
Livar Cunha
5d0aefe59f Clean up from the move to RC3 packages. Removed the dotnet-core dependency on NuGet.Config now that we have RC3 packages in the cli-deps feed. Re-enabled crossgen for windows now that we added JITPath to the crossgen call. 2016-05-27 00:18:37 -05:00
Bryan Thornbury
f73351cf6e Merge pull request #3258 from dotnet/brthor/download-sharedfx
Stop downloading core setup dependencies in every build
2016-05-26 18:16:28 -07:00
Eric Erhardt
f46be283f1 Merge pull request #3260 from eerhardt/UpdateDependencies
Update CoreFx, SharedFx, Roslyn to rc3-24126-00, rc3-004312, beta1-20160525-03
2016-05-26 18:06:53 -05:00
Eric Erhardt
08a3ffe3aa Move to netstandard1.6
This is needed because DependencyModel uses the AppContext.GetData API, which is only available in netstandard1.6 as of CoreFX build rc3-24126.
2016-05-26 15:42:30 -05:00
Bryan Thornbury
7909c6a3d5 Stop downloading core setup dependencies in every build, when we already have them. 2016-05-26 13:32:14 -07:00
Eric Erhardt
409ccb2c9c Add WorkingDirectory to output when a command fails for easier debugging. 2016-05-26 15:00:54 -05:00
Bryan Thornbury
a365414f01 Merge pull request #3257 from dotnet/brthor/stop-nuking-latest
stop nuking latest binaries
2016-05-26 11:56:32 -07:00
Eric Erhardt
cc178d425f Update CoreFx, SharedFx to rc3-24126-00, rc3-004312 2016-05-26 13:11:22 -05:00
Bryan Thornbury
66381098dd stop nuking latest binaries 2016-05-26 10:20:14 -07:00
Eric Erhardt
70ed305171 Update dotnet-new project.json templates
Now that Microsoft.NETCore.App is built in a separate repo, we don't need the project.json.pretemplate files.
2016-05-26 09:44:21 -05:00
Eric Erhardt
06ec7ddf47 Add core-setup to update-dependencies.
Update-dependencies will now update all the shared framework and host dependencies in CLI.
2016-05-26 09:44:19 -05:00
Eric Erhardt
8e1b587d34 Merge pull request #3241 from eerhardt/UpdateCoreFX
Enhance update-dependencies
2016-05-26 07:50:09 -05:00
Senthil
e9e4427b42 Update core-setup dependency versions (#3231)
Pick up host with JIT_PATH property
2016-05-25 23:12:19 -07:00
Eric Erhardt
bbd5f7549e Fix build failure in PublishTargets.
InitPublish is trying to access a BuildContext variable that is no longer there. It doesn't need that variable, so removing it.
2016-05-25 22:32:10 -05:00
Eric Erhardt
a7fccf8508 Fix update-dependencies.ps1 and build scripts to no longer use restore --infer-runtimes.
Also, update-dependencies.ps1 doesn't use $PSScriptRoot everywhere.  Instead use $RepoRoot.
2016-05-25 22:06:59 -05:00
Eric Erhardt
ee7372c2a1 Move update-dependencies under build_projects. 2016-05-25 22:06:59 -05:00
Bryan Thornbury
5359e16bf4 Re-enable tests 2016-05-25 15:10:43 -07:00
Bryan
aa01110c33 Remove The host build, consume the host build from core-setup 2016-05-25 14:49:12 -07:00
Piotr Puszkiewicz
8ffba3c029 Set DOTNET_CLI_TELEMETRY_PROFILE for CLI Repo builds (#3228) 2016-05-25 09:21:08 -07:00
Eric Erhardt
2a870ee6c3 Remove updating dotnet/versions repo with the latest shared framework version. This is breaking the build, and it should be done in core-setup instead. 2016-05-24 16:53:35 -05:00
Livar
fe7b519722 Merge pull request #3215 from eerhardt/netcore-rc3
Upgrade to CoreFX rc3
2016-05-24 10:33:59 -07:00
Eric Erhardt
e47f407a25 Disable Kestrel.Tests until we can get an ASP.NET RC3 build.
See #3216
2016-05-24 09:37:43 -05:00
schellap
c037cf321e Revert "Merge pull request #3191 from schellap/deps-clean"
This reverts commit b2c7140b2a, reversing
changes made to d307537eb8.
2016-05-23 19:05:03 -07:00
Livar Cunha
d7a8860041 Exclude System.Private.CoreLib from crossgen 2016-05-23 18:06:34 -07:00
Livar Cunha
78bea7df84 Adding JITPath parameter to crossgen 2016-05-23 17:58:03 -07:00
Livar Cunha
a9e12e0336 Updating core packages to rc3-24123-01 2016-05-23 17:19:11 -07:00
Sridhar Periyasamy
0c463c281f Remove '--infer-runtimes' option for 'dotnet restore' when restoring
TestAssets.
2016-05-23 17:04:32 -07:00
Sridhar Periyasamy
baf28233f4 Address PR feedback. 2016-05-23 17:04:29 -07:00
Sridhar Periyasamy
d2188cd95a Move the CLI corefx dependencies from RC2 to RC3 - rc3-24113-00.
- Disable crossgen for windows.Tracked by - https://github.com/dotnet/cli/issues/3059
- And also fix #2974
2016-05-23 17:04:29 -07:00
Eric Erhardt
ca8cf5e4b7 Merge pull request #3182 from eerhardt/PackagesFromFinalize
Move PullNupkgFilesFromBlob into FinalizeBuild.
2016-05-23 18:07:10 -05:00
schellap
410b5c01ee Pin stage0 versions to 1.0.0-preview2-002818 2016-05-22 14:16:40 -07:00
schellap
dafda03832 Revert "Merge pull request #3020 from schellap/deps-clean"
This reverts commit d307537eb8, reversing
changes made to 54ab5b8385.
2016-05-22 13:35:44 -07:00
Senthil
dd07f0f1ed Strict deps resolution else fail fast 2016-05-22 00:50:11 -07:00
Eric Erhardt
78e34c6eb7 Move PullNupkgFilesFromBlob into FinalizeBuild.
Also, update dotnet/versions for the DotNetHost and NetCore.App packages.

Fix #3031
2016-05-21 23:18:13 -05:00
Senthil
d61e982011 Merge pull request #3106 from schellap/fx-version
Add --fx-version option to the muxer
2016-05-20 20:43:45 -07:00
Eric Erhardt
9af3edfeda Merge pull request #3134 from eerhardt/OMGBuild
Change stub packages to no longer contain any dependencies.
2016-05-19 12:05:13 -05:00
Eric Erhardt
4b14c8471c Change stub packages to no longer contain any dependencies. Instead they just contain a dummy.txt file. 2016-05-19 10:46:46 -05:00
Senthil
aa578bc08e Merge pull request #3104 from schellap/sccs
Fix build minor and add sccsid
2016-05-19 00:12:52 -07:00
Eric Erhardt
85a4e44fa2 Merge pull request #3092 from eerhardt/LatestPackages
Update github.com/dotnet/versions when new CLI builds are produced.
2016-05-18 18:33:58 -05:00
Eric Erhardt
dfafcd96cf Merge pull request #3107 from dotnet/eerhardt/FixBuildAgain
Fix stub package generation to just depend on System.Console.
2016-05-18 17:21:19 -05:00
Sridhar Periyasamy
dad916499a Disable partial NGen
Fixes - #3053
2016-05-18 13:03:49 -07:00
Eric Erhardt
f53da52a3d Remove --infer-runtimes for RestoreLockedCoreHost. 2016-05-18 14:17:38 -05:00
Eric Erhardt
e28450e5a3 Move GITHUB_PASSWORD env var check out of VersionRepoUpdater. 2016-05-18 14:14:50 -05:00
Eric Erhardt
d0a1e239dc Address PR feedback:
- Dispose of the HttpClient
- Use the Regex to get the Prerelease version info.
2016-05-18 11:15:28 -05:00
schellap
c9d0b29d9e Add --fx-version option to the muxer 2016-05-18 08:17:33 -07:00
Senthil
9b17ca75d7 Fix build minor and add sccsid 2016-05-17 21:18:02 -07:00
Eric Erhardt
4394cfa358 Update github.com/dotnet/versions when new CLI builds are produced. 2016-05-17 21:24:00 -05:00
Eric Erhardt
5e947c5fcd Merge pull request #3074 from eerhardt/FixBuild
Move RestorePackages to Prepare, not Init.
2016-05-17 14:08:13 -05:00
Eric Erhardt
2f4ab8d554 Update the StubPackageBuilder NETStandardLibrary version number to match the current CoreFX version number. 2016-05-17 11:02:08 -05:00
Eric Erhardt
7cb7b660d8 Move RestorePackages to Prepare, not Init.
RestorePackages will fail if the 'artifacts\rid\corehost` folder doesn't exist. So other targets that depend on Init can't run unless the host has been built.
2016-05-17 10:36:02 -05:00
Eric Erhardt
14ed7a3e45 Fix warnings in our build projects so VSO powershell scripts don't fail. 2016-05-16 18:30:56 -05:00
Bryan
7bf08c5bd5 Bring Host build into separate project 2016-05-16 14:55:15 -05:00