Skip to content

Thell/rstudio-latest-urls

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

rstudio-latest-urls

Daily Updated RStudio Build URLs.

A json containing the effective urls for RStudio products denoted by a path taken from the latest-build-urls.txt file such that the path portion of

https://rstudio.org/download/latest/preview/desktop/bionic/rstudio-latest-amd64.deb

is

preview.desktop.bionic.rstudio

Usage:

url=https://github.com/thell/rstudio-latest-urls/raw/master/latest.json
url=$(jq -r '.preview.desktop.bionic.rstudio' <(curl -s -L ${url}))
curl -s -o rstudio.deb "${url}"

Why do this instead of just using the 'latest' url? To proxy and cache the release build url and file.

It is an alternate to a single url on-demand solution such as

path=/rstudio.org/download/latest/preview/desktop/bionic/rstudio-latest-amd64.deb
url=http://en50lf18lv6fhg4.m.pipedream.net
url=$(jq -r '.latest' <(curl -s -L ${url}${path}))
curl -s -o rstudio.deb "${url}"

About

Daily Updated RStudio Build URLs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages