Commit graph

938 commits

Author SHA1 Message Date
Livar
5a038b6584 Merge pull request #4218 from juergenhoetzel/HANDLE_OS_DETECTION_ERRORS2
Handle OS detection errors
2016-09-23 08:49:56 -07:00
wtgodbe
a0e023ee7a Port changes from core-setup's dotnet-install script to CLI 2016-09-22 14:15:03 -07:00
Juergen Hoetzel
b8a5219773 Handle OS detection errors
Check the exit status of get_latest_version_info and get_current_os_name to
prevent construction of invalid download URLs based on these functions.
Fixes #2923.
2016-09-21 19:08:46 +02:00
Piotr Puszkiewicz
1ce482a8d1 Merge remote-tracking branch 'refs/remotes/origin/rel/1.0.0'
Conflicts:
	scripts/obtain/dotnet-install.ps1
	src/dotnet/commands/dotnet-new/CSharp_xunittest/project.json.template
2016-08-26 22:39:14 -07:00
Michael Simons (VISUAL STUDIO)
7914b63474 Modified logic that downloads content to provide better diagnostic information upon failure. 2016-08-25 11:47:45 -05:00
Piotr Puszkiewicz
2db1997bc0 Merge remote-tracking branch 'refs/remotes/origin/feature/msbuild'
Conflicts:
	Microsoft.DotNet.Cli.sln
	build_projects/dotnet-cli-build/DebTargets.cs
	build_projects/dotnet-cli-build/TestTargets.cs
	scripts/package/package-debian.sh
	src/Microsoft.Extensions.DependencyModel/DependencyContextJsonReader.cs
	src/dotnet/commands/dotnet-new/Program.cs
	src/dotnet/commands/dotnet-pack/PackageGenerator.cs
	test/Microsoft.Extensions.DependencyModel.Tests/DependencyContextJsonReaderTest.cs
2016-08-16 18:30:52 -07:00
Eric Erhardt
38d18eab4d Fix dotnet-install.ps1.
Allow directories named "publish" in .gitignore.
Add files to the .sln.
2016-08-09 08:28:53 -05:00
Piotr Puszkiewicz
16692fc75c Remove CDN caching from version files 2016-08-09 02:41:12 -07:00
Michael Simons (VISUAL STUDIO)
b53e254fbd Updated Add-Type logic to account for Powershell Core Edition 2016-08-08 15:03:36 -05:00
Michael Simons (VISUAL STUDIO)
a34e93c340 Modified dotnet-install.ps1 to support Nano Server 2016-08-04 15:04:26 -05:00
Bryan Thornbury
3bc1aa9128 Consume dotnet-deb-tool in cli 2016-07-26 15:26:44 -07:00
Livar
354a43ff83 Merge pull request #3888 from livarcocc/add_variables_to_dockerrun
Adding publishing variables to the dockerrun.sh file
2016-07-19 13:35:08 -07:00
Livar Cunha
776cab609e Adding the storage variables to the dockerrun.sh file so that they are set as env variables in docker. 2016-07-19 10:11:46 -07:00
Eric Erhardt
d2db776d87 Merge rel/1.0.0 into feature/msbuild. 2016-07-18 14:44:06 -05:00
Piotr Puszkiewicz
89e127b8ac Move downloads to CDN (#3873) 2016-07-15 15:36:01 -04:00
Bryan Thornbury
5150f7c89b remove commented last version url 2016-07-13 12:11:23 -07:00
Bryan Thornbury
003e6ba282 Deb Package Targets 2016-07-13 11:07:14 -07:00
Jostein Kjønigsen
2cba2c7688 Handle missing terminal capabilities.
When probing for terminal capabilities, tput will return exit-code 1
when the attribute is not valid for the current terminal.

If we don't handle that exit-code, the shell-script too will exit with
failure.

This patch simply ignores errors for attributes we cannot use,
resulting in the same result as if we never probed for it in the first
place.
2016-07-08 10:10:20 +02:00
Eric Erhardt
ba1715b8a6 Fix dotnet-install for the new Azure Publish layout. 2016-06-22 22:46:13 -05:00
Piotr Puszkiewicz
9d01e3bc2e Merge rel/1.0.0-preview2 to rel/1.0.0 (#3677)
* Update README.md

* Moving Ubuntu 16.04 to be next to Ubuntu 14.04

* Adding Oracle Linux and Linux Mint to the titles

Adding Oracle Linux and Linux Mint to the titles next to their compatible binaries.

* Remove showing firsttime eula for non verbs.

* Add Serviceable assembly attribute and nuspec attributes for all shipping CLI assemblies.

Fix #3345

* Use NugetCache Sentinel for Telemetry setting.

* Fix Oracle Linux version in README.md

Oracle Linux 7 -> Oracle Linux 7.1

* Fix README to use hostfxr download links (#3622)

Also fix a rebase error from b524fd079e6dcdd744faeb6061ccbfe99d1f810f#diff-04c6e90faac2675aa89e2176d2eec7d8

* Remove the VS2012 CRT dependency from docs (#3632)

* fix typo in dotnet-install file

This was needed to rebuild the CLI with the updated Roslyn NuGet packages.

Thanks goes to @akoken for the fix.
2016-06-22 15:17:54 -07:00
Bryan Thornbury
482a3377ca add deb deps to ubuntu 16 dockerfile 2016-06-14 10:56:08 -07:00
Bryan Thornbury
f75ee876d8 Enable ubuntu16 deb creation and publishing 2016-06-14 02:32:39 -07:00
Eric Erhardt
d4d9653e05 Port @ellismg's debian docker file fix to CLI. 2016-06-03 13:58:33 -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
Livar Cunha
bb034b325e Also updating the ubuntu16.04 dockerfile to remove the llvm dependencies 2016-06-02 14:47:35 -07:00
Livar Cunha
cc6c22c01f Fix an error in the fedora23 dockerfile where we added findutils after the && when invoking dnf. That caused findutils to be invoked instead of installed. 2016-06-02 14:39:33 -07:00
Bryan Thornbury
06047ee413 Update only the ubuntu.14.04 dockerfile from https://github.com/dotnet/core-setup/pull/58 2016-06-01 18:06:37 -07:00
Livar Cunha
7652335195 Addressing code review comments and adding opensuse 13.2 2016-05-31 15:15:57 -07:00
Matt Ellis
5174fc06bd Fix syntax error in _common.sh
I believe the intention here was to have -o behave like || however it's
not event needed.  =~ does a regex match and so the =~ check against
ubuntu is sufficent.
2016-05-31 15:15:57 -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
Krzysztof Wicher
f4ceb1f213 Merge pull request #3272 from krwq/add_shared_runtime_switch
add -SharedRuntime switch support
2016-05-27 15:23:45 -07:00
Krzysztof Wicher
2a84c13817 add -SharedRuntime switch support 2016-05-27 12:19:53 -07:00
Eric Erhardt
ee7372c2a1 Move update-dependencies under build_projects. 2016-05-25 22:06:59 -05:00
Eric Erhardt
c97648e684 Add support to update-dependencies to not update the dependencies in a folder.
Folders can opt-in to not getting their dependencies updated by placing a '.noautoupdate' file in the folder of their project.json.
2016-05-25 22:05:06 -05:00
Eric Erhardt
6fe3f86140 Fix update-dependencies to read all package versions from Latest_Packages.txt. 2016-05-25 22:05:06 -05:00
Bryan
aa01110c33 Remove The host build, consume the host build from core-setup 2016-05-25 14:49:12 -07:00
Eric Erhardt
1de1ecc4cb Merge pull request #3217 from eerhardt/FixBuild
Add NUGET and GITHUB environment variables to the dockerrun.sh file.
2016-05-24 13:22:32 -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
f9d266157d Add NUGET and GITHUB environment variables to the dockerrun.sh file. 2016-05-24 09:45:20 -05:00
Livar Cunha
a9e12e0336 Updating core packages to rc3-24123-01 2016-05-23 17:19:11 -07:00
Livar Cunha
f1d781a675 Fixing a couple of dependency versions for the update-tool and dotnet 2016-05-23 17:04:36 -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
Krzysztof Wicher
5a77b03f36 add path to the front of the variable instead of the back 2016-05-23 12:48:53 -07:00
Eric Erhardt
78a70f049a Remove duplicated install scripts.
Please use `dotnet-install` instead.
2016-05-20 22:09:36 -05:00
Krzysztof Wicher
b939c88e0c remove check for gettext dependency in install.sh 2016-05-20 10:59:12 -07:00
Eric Erhardt
4711f5983f Merge pull request #3139 from eerhardt/InstallChannel
Change the default channel in `dotnet-install` scripts to "preview".
2016-05-19 19:07:04 -05:00
Bill Wert
ed3bd312cf Fix warnings in project.json
PR #2493 introduced the new project.json schema. The tree has 118 files
with the old schema, which added several hundred warnings.

This change can't go in until PR #2864 does - it relies on those bug
fixes.
2016-05-19 11:51:49 -07:00
Eric Erhardt
bf9b5a9288 Change the default channel in dotnet-install scripts to "preview". 2016-05-19 13:36:24 -05:00