-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Start draft of new page for downloads * Clean up URLs a bit * Add link to GH for now, for older releases * Update freeze * Move license info higher on page * Oops forgot freeze
- Loading branch information
1 parent
28533ee
commit 1b38b33
Showing
6 changed files
with
91 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"hash": "483269ee203b9553526b6e0ba8fdc2d2", | ||
"result": { | ||
"engine": "knitr", | ||
"markdown": "---\ntitle: \"Download Positron\"\nparams:\n version: \"2024.12.0-96\"\n---\n\n\n\n\nFind out what you need to know to [get started](start.qmd) using Positron, then download the installer for your platform.\n\nPlease review [Positron's license agreement](licensing.qmd). Your acceptance of this license agreement is required as a condition to proceeding with your download or use of the software.\n\n\n\n\n::: {.cell .plain}\n::: {.cell-output-display}\n\n\n|Platform |Download |Size |\n|:-----------------------------------------|:-----------------------------------|:----|\n|Windows 10, 11 x64 (system level install) |[Positron-2024.12.0-96-Setup.exe](https://cdn.posit.co/positron/prereleases/win/x86_64/Positron-2024.12.0-96-Setup.exe)|222M |\n|Windows 10, 11 x64 (user level install) |[Positron-2024.12.0-96-UserSetup.exe](https://cdn.posit.co/positron/prereleases/win/x86_64/Positron-2024.12.0-96-UserSetup.exe)|222M |\n|MacOS 10.15+ (universal) |[Positron-2024.12.0-96.dmg](https://cdn.posit.co/positron/prereleases/mac/universal/Positron-2024.12.0-96.dmg)|629M |\n|Debian-based Linux (Ubuntu 22+) |[Positron-2024.12.0-96.deb](https://cdn.posit.co/positron/prereleases/deb/x86_64/Positron-2024.12.0-96.deb)|227M |\n|Red Hat-based Linux (RHEL9) |[Positron-2024.12.0-96.rpm](https://cdn.posit.co/positron/prereleases/rpm/x86_64/Positron-2024.12.0-96.rpm)|334M |\n\n\n:::\n:::\n\n\n\n\n<br>\n\nOlder releases [are available on GitHub](https://github.com/posit-dev/positron/releases).", | ||
"supporting": [ | ||
"download_files" | ||
], | ||
"filters": [ | ||
"rmarkdown/pagebreak.lua" | ||
], | ||
"includes": {}, | ||
"engineDependencies": {}, | ||
"preserve": {}, | ||
"postProcess": true | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
title: "Download Positron" | ||
params: | ||
version: "2024.12.0-96" | ||
--- | ||
|
||
Find out what you need to know to [get started](start.qmd) using Positron, then download the installer for your platform. | ||
|
||
Please review [Positron's license agreement](licensing.qmd). Your acceptance of this license agreement is required as a condition to proceeding with your download or use of the software. | ||
|
||
```{r} | ||
#| echo: false | ||
#| classes: plain | ||
library(purrr) | ||
library(glue) | ||
library(httr) | ||
cdn_url <- "https://cdn.posit.co/positron/prereleases/" | ||
urls <- list( | ||
glue("{cdn_url}win/x86_64/Positron-{params$version}-Setup.exe"), | ||
glue("{cdn_url}win/x86_64/Positron-{params$version}-UserSetup.exe"), | ||
glue("{cdn_url}mac/universal/Positron-{params$version}.dmg"), | ||
glue("{cdn_url}deb/x86_64/Positron-{params$version}.deb"), | ||
glue("{cdn_url}rpm/x86_64/Positron-{params$version}.rpm") | ||
) | ||
cloudfront_headers <- map(urls, HEAD) |> map(headers) | ||
file_sizes <- map(cloudfront_headers, "content-length") |> | ||
map(fs::fs_bytes) |> | ||
map_chr(as.character) | ||
file_names_only <- stringr::str_extract(urls, "[^\\/]+$") | ||
markdown_links <- glue("[{file_names_only}]({urls})") | ||
download_table <- data.frame( | ||
Platform = c( | ||
"Windows 10, 11 x64 (system level install)", | ||
"Windows 10, 11 x64 (user level install)", | ||
"MacOS 10.15+ (universal)", | ||
"Debian-based Linux (Ubuntu 22+)", | ||
"Red Hat-based Linux (RHEL9)" | ||
), | ||
Download = markdown_links, | ||
Size = file_sizes | ||
) | ||
knitr::kable(download_table) | ||
``` | ||
|
||
<br> | ||
|
||
Older releases [are available on GitHub](https://github.com/posit-dev/positron/releases). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters