Skip to content

Commit b0bdfce

Browse files
srowenHyukjinKwon
authored andcommitted
[MINOR][BUILD] Download RAT and R version info over HTTPS; use RAT 0.12
## What changes were proposed in this pull request? This is trivial, but bugged me. We should download software over HTTPS. And we can use RAT 0.12 while at it to pick up bug fixes. ## How was this patch tested? N/A Author: Sean Owen <[email protected]> Closes apache#18927 from srowen/Rat012.
1 parent da8c59b commit b0bdfce

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/appveyor-install-dependencies.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Function InstallR {
2626
}
2727

2828
$urlPath = ""
29-
$latestVer = $(ConvertFrom-JSON $(Invoke-WebRequest http://rversions.r-pkg.org/r-release-win).Content).version
29+
$latestVer = $(ConvertFrom-JSON $(Invoke-WebRequest https://rversions.r-pkg.org/r-release-win).Content).version
3030
If ($rVer -ne $latestVer) {
3131
$urlPath = ("old/" + $rVer + "/")
3232
}

dev/check-license

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
acquire_rat_jar () {
2222

23-
URL="http://repo1.maven.org/maven2/org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar"
23+
URL="https://repo1.maven.org/maven2/org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar"
2424

2525
JAR="$rat_jar"
2626

@@ -58,7 +58,7 @@ else
5858
declare java_cmd=java
5959
fi
6060

61-
export RAT_VERSION=0.11
61+
export RAT_VERSION=0.12
6262
export rat_jar="$FWDIR"/lib/apache-rat-${RAT_VERSION}.jar
6363
mkdir -p "$FWDIR"/lib
6464

0 commit comments

Comments
 (0)