John Beisner
5c620978c1
https://github.com/dotnet/cli/issues/6747
2017-09-18 11:54:20 -07:00
William Lee
221ab05346
Use one build definition to produce all Linux distro specific packages ( #7615 )
...
By using `./build.sh /t:AllLiuxDistrosNativeInstaller`
Make a sandbox folder after compile step and copy compiled artifact to it. Since the content will be Linux generic, use package step with Docker in different distros.
After finishing all the distro specific packaging, upload all of them at once
Publish to debian only support all distro
Improve perf of AllLiuxDistrosNativeInstaller, by copying more cache in to sandbox
There will be a retry if package command failed
2017-09-14 13:33:46 -07:00
John Beisner
e0172b5689
Changes per code review...
2017-08-31 13:40:32 -07:00
John Beisner
8a150f89a3
Miscellaneous script fixes...
2017-08-31 13:18:42 -07:00
John Beisner
735188e023
Merge pull request #7377 from mikeharder/mikeharder/libcurl
...
Add prereq check for libcurl
2017-08-31 09:27:22 -07:00
Nick Guerrera
4f6a2ae0a2
Merge pull request #7515 from natemcmaster/non-versioned-files
...
Add -SkipNonVersionedFiles to dotnet-install.{sh,ps1}
2017-08-28 21:50:12 -07:00
John Beisner
9af126356b
Merge pull request #6981 from dotnet/namc/output
...
Change usages of Write-Output to Write-Host
2017-08-28 11:55:37 -07:00
Nate McMaster
7586ad844d
Add -SkipNonVersionedFiles to dotnet-install.{sh,ps1}
2017-08-24 14:06:38 -07:00
Daniel Plaisted
83f9a374d3
Fix dotnet-install script when latest version file for channel is returned as application/octet-stream
2017-08-14 18:05:30 -07:00
Mike Harder
bc6c795338
Add prereq check for libcurl
2017-08-04 16:28:28 -07:00
William Li
21aa774707
dotnet-sdk rpm package consume store by dependency
...
Instead of Packing along.
Edit RPM config, add download store rpm package as part of the test.
2017-07-13 12:08:35 -07:00
William Li
b9c5e2ec57
dotnet-sdk DEB package consume store by dependency
...
Instead of Packing along.
Edit Debian config, add download store deb package as part of the packing process as well as test.
2017-07-13 12:07:51 -07:00
Nate McMaster
be47c19b43
Remove line that only writes "C:" to console output
2017-06-28 17:25:57 -07:00
Nate McMaster
38f8f5b548
Correct usages of Write-Output with Write-Host
2017-06-21 16:20:51 -07:00
John Beisner
47988952ac
Updating the links in the README; fixing the installation script.
2017-06-15 15:25:41 -07:00
jbeisner
add33234a5
Merge pull request #6857 from johnbeisner/RuntimeCoherence
...
Enable creation and consumption of a 'coherent' pointer
2017-06-15 10:22:40 -07:00
John Beisner
c497bf498f
Write a 'latest.coherent.version' file at blob storage so users have a 'coherent' option to SDK installations.
2017-06-13 16:45:29 -07:00
William Li
3419a87d6f
Produce RPM packages
...
Reference from https://github.com/dotnet/core-setup/tree/master/src/pkg/packaging/rpm
The goal is to have parity with Debian,
but does not publish to the feed
When run the script with rhel, it will
produce rpm file in the package step
and publish rpm to the blob storage
2017-06-13 15:00:35 -07:00
John Beisner
b92c63c4d3
Fixing a conditional.
2017-06-12 09:38:02 -07:00
John Beisner
5eae1a3a31
Fixing logic; variable name.
2017-06-12 09:31:09 -07:00
John Beisner
cd753db228
Default channel=LTS
...
Clarify nomenclature from "alternate" to "legacy"
Skip construction of legacy URL if it's flawed.
2017-06-09 12:00:29 -07:00
John Beisner
ce61070a69
Updates to install scripts to consume the renaming packages at blob storage. Unpinning the CLI build from a specific version.
2017-06-07 10:18:05 -07:00
John Beisner
ed65b2bc9c
Runtime download link missing the "runtime" identifier.
2017-05-31 08:35:00 -07:00
John Beisner
a53424cc04
Fixing an OSx break: "osname: unbound variable"
2017-05-30 11:37:34 -07:00
John Beisner
b48b7d2ea0
.NET Core 2+ Naming and Versioning
...
New file name structure for the runtime and the CLI
per: https://github.com/dotnet/designs/issues/2
The renaming of assets, therefore the dotnet installation scripts must change to accommodate.
Trivial:
"Write-Host" should be "Write-Output"
2017-05-26 15:46:56 -07:00
jbeisner
911236d964
Merge pull request #6664 from johnbeisner/InstallScripts
...
Linux distro update for dotnet-install.sh; et al.
2017-05-23 17:28:29 -07:00
John Beisner
d3373d9459
Removing unused parameters.; ".StartsWith" method for strings is not always present.
2017-05-23 16:41:46 -07:00
John Beisner
229518b486
Default channel in the install scripts; dotnet-install.ps1 and dotnet-install.sh = “release/1.0.0”
...
For the Runtime: resolves to: 1.0.5
For the SDK: resolves to: 1.0.4
2017-05-23 15:09:31 -07:00
John Beisner
1ded4f11e3
Forcing 'curl' to return an usable exitcode.
2017-05-23 11:28:38 -07:00
John Beisner
6222e66a07
Changes per code review - stronger download failure logic.
2017-05-23 10:45:15 -07:00
John Beisner
1fe96fd86e
Changes per additional manual testing on ubuntu-x64
2017-05-23 08:15:41 -07:00
John Beisner
283bff55ce
Changes per manual testing on Windows-x64
2017-05-22 16:17:31 -07:00
John Beisner
cff302d678
Changes per manual testing on ubuntu-x64
2017-05-22 14:15:43 -07:00
John Beisner
3db157aba6
First draft changes for install script for the SDK and Runtime.
2017-05-22 12:53:52 -07:00
James Lanng
497d048b1c
Support corporate proxy servers
2017-05-10 10:44:40 +01:00
Livar
6a359f7ae0
Merge pull request #5865 from axelheer/patch-1
...
Add UseDefaultCredentials to dotnet-install.ps1
2017-04-11 13:55:51 -07:00
Daniel Lo Nigro
e391b5d5f3
Change shebang and remove comment about bashisms
2017-04-05 11:40:59 -07:00
Daniel Lo Nigro
6a27955d2f
Add bash shebang to dotnet-install.sh
2017-04-05 11:40:59 -07:00
Eric Erhardt
d0bdccf5d6
Merge pull request #6064 from omajid/remove-linux-portable-obtain-script
...
Remove --linux-portable from dotnet-install.sh
2017-03-19 21:41:16 -05:00
Omair Majid
4b233bdf82
Fix path printed in help for dotnet-install
...
The script does not install to /usr/local/share/. It instead installs to
$HOME/.dotnet. Fix the doc text.
Also fix the names in code that incorrectly talk about /usr/local/share.
2017-03-17 22:06:16 -04:00
Omair Majid
df98363da4
Remove --linux-portable from dotnet-install.sh
...
It duplicates functionality achieved by using `--runtime-id linux-x64`.
Remove it and fix callers.
Keep the the --linux-portable flag in the build scripts; that now calls
--runtime-id linux-x64 in the install script.
2017-03-17 20:27:02 -04:00
Omair Majid
46a1d6f41e
Add --runtime-id flag to dotnet-install.sh
...
This lets us specify the runtime id of the desired .NET Core SDK on the
command line. This makes it easier to get the SDK for the desired
runtime without having to modify the install script for new runtimes
unsupported by the current version of this script.
2017-03-14 17:52:57 -04:00
Justin Goshi
a66ef9f0ef
Fix spacing
2017-03-03 11:05:13 -08:00
Justin Goshi
cdf85ec1d2
Update the descriptino
2017-03-03 11:02:09 -08:00
Justin Goshi
e21c1a4a98
Change the command line argument per PR comments
2017-03-03 09:25:31 -08:00
Justin Goshi
ea5eeee06b
Update the install script to support osname
2017-03-01 16:00:26 -08:00
Axel Heer
05d2b4d266
Add UseDefaultCredentials to dotnet-install.ps1
...
When working behind a corporate proxy it may be necessary to authenticate properly.
2017-02-28 08:02:51 +01:00
Adeel
ba72ff0edd
Prefer Unix Shell build-in 'hash' over 'which'
...
`which` is an external utility. `hash` or `command -v` are built-in
General Commands.
See http://stackoverflow.com/a/677212/863980
I chose `hash` here as `run-build.sh` is already using it.
2017-02-26 01:24:04 +02:00
Omair Majid
3fde06faf8
dotnet-install should identify all RHEL 7.x as RHEL
...
New RHEL minor versions are compatible with previous RHEL minor
versions. They also replace them: all users using RHEL 7.n are migrated
to RHEL 7.(n+1) by a simple yum upgrade. So just treat all RHEL 7.x
version as RHEL.
This only holds true for minor versions. RHEL 7 is not compatible with
RHEL 6. But since .NET Core only supports RHEL 7, this shouldn't matter.
2017-01-20 17:19:35 -05:00
Jürgen Pfeifer
957ff3981f
- Never check agains username, that's bad practice. Always use effective UID ( #4894 )
...
- Never write error messages and tracing info to stdout, that's bad practice too.
2016-12-04 12:17:03 -08:00