Commit graph

21 commits

Author SHA1 Message Date
Andrew Schwartzmeyer
8a24d26e8d Patch System.Net.Http.Native.dylib
Again, .NET Core expects users to forcibly link the third party OpenSSL
libraries into system directories, which the Homebrew team advises
strongly against (and attempts to prevent). This also affects the
System.Net.Http library, and results in runtime errors during SSL
certificate validation. So instead, we patch what we can, when we can.
2016-09-20 14:34:32 -07:00
Andrew Schwartzmeyer
e5d35807bb Update download.sh to install all dependencies 2016-09-20 13:57:36 -07:00
Andrew Schwartzmeyer
d183d7944f Update download.sh and Dockerfile links
This is a breaking change until the release is posted.
2016-09-15 13:59:46 -07:00
Andrew Schwartzmeyer
27530c403c Use direct download URLs instead of API
GitHub's API is throttled to 60 requests per hour per IP address when
for non-authenticated calls, which was causing severe CI flakiness.
While this adds another set of URLs to update for each release, the
alternative was adding an OAuth token and maintaining its ownership.
Moreover, this code is simpler than the previous API parsing.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
363657717c Handle package download failure 2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
e337d93720 Install OpenSSL via Homebrew on macOS
Since it is required. Note that we do *not* unsafely link the OpenSSL
libraries into the system folders, as we instead patch .NET Core's
libraries to find OpenSSL in the installed location.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
6b582851d6 Don't download package silently
Otherwise users think it's slow or hung.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
25eab9a2e5 Quote all $variables
For paranoia.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer
e3cf257a7d Use hash to check for curl
Our shebang is Bash.
2016-09-02 17:17:20 -07:00
Eris Belew
6a2911faa2 Remove wget installation; Move curl installation after version check 2016-08-21 11:27:49 -07:00
Eris Belew
bbe0dafb93 download.sh: Trap interrupt; Add sudo prompt info; Remove wget requirement
Add interrupt handler so entire script exits if user hits ctrl-c on sub-command
 Add info before prompting for password using sudo
 Remove wget requirement since OSX does not have wget in default system
 Add `-C -` to curl package download to continue or skip existing packages
2016-08-20 12:28:53 -07:00
Andrew Schwartzmeyer
72a1ebdcbb Fix error handling in download.sh
This script should be deleted now that we can wget releases.
2016-08-19 11:18:00 -07:00
Andrew Schwartzmeyer
552bf9b50a Fix asset download in download.sh 2016-08-18 08:30:14 -07:00
Andy Schwartzmeyer
c1faf1e6e1 Merge pull request #1864 from andschwa/public-repo
Fix scripts for public repo
2016-08-18 08:19:28 -07:00
Andrew Schwartzmeyer
f2275f9a0a Fix download.sh for public repo 2016-08-18 00:05:08 -07:00
Raghu Shantha [MSFT]
4f47b64d85 Fix docs/installation/windows.md
Also consolidate install.sh with download.sh;
remove unnecessary files;
create README.md in install.

Ran dos2unix tool to cleanup extra carriage returns at the end of lines
2016-08-17 16:18:26 -07:00
Andrew Schwartzmeyer
a9e809c18a Fix naming of Unix packages
- .NET Core RID suffixes removed
- `el7.centos` suffix added to RPM
- `1ubuntu1.14.04.1` iteration used for DEB packages

`~` cannot be used after `ubuntu1` because GitHub release renames it to
a `.`; additionally, no packages lack the final suffix `.1`. While my
machine is `.5` I could find no packages that went past `.3`, so let's
use this to indicate that it works for `14.04.1` and forward.

We are *not* recreating the alpha.9 packages, but will we rename them
accordingly. This means that the filenames will be "correct" but the
meta-data will be out-of-date.
2016-08-16 16:07:54 -07:00
Alex Jordan
b5f4e595cd Fix download script for Ubuntu 16.04 (#1826)
Kept 14.04 for CI and because 14.04 is LTS
2016-08-15 18:35:40 -07:00
Sergei Vorobev
1d8a181f60 Move GITHUB_TOKEN in tools/download.sh 2016-07-21 10:51:59 -07:00
Andrew Schwartzmeyer
0f7748a70b Add CentOS support 2016-07-18 10:59:23 -07:00
Andrew Schwartzmeyer
0b0b141ea5 Move download.sh script to tools tree 2016-06-06 12:15:49 -07:00
Renamed from download.sh (Browse further)