-
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #744 from aaronparker/apps
Apps
- Loading branch information
Showing
14 changed files
with
166 additions
and
52 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,28 @@ | ||
function Get-NavimaticsWinFSP { | ||
<# | ||
.SYNOPSIS | ||
Get the current version and download URL for WinSFP. | ||
.NOTES | ||
Site: https://winfsp.dev/rel/ | ||
Author: Alex Harvey | ||
GitHub: @alex-harvey-z3q | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $false)] | ||
param ( | ||
[Parameter(Mandatory = $false, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
# Pass the repo releases API URL and return a formatted object | ||
$params = @{ | ||
Uri = $res.Get.Uri | ||
MatchVersion = $res.Get.MatchVersion | ||
Filter = $res.Get.MatchFileTypes | ||
} | ||
$object = Get-GitHubRepoRelease @params | ||
Write-Output -InputObject $object | ||
} |
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,18 @@ | ||
function Get-OracleJava23 { | ||
<# | ||
.NOTES | ||
Author: Aaron Parker | ||
Twitter: @stealthpuppy | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $false)] | ||
param ( | ||
[Parameter(Mandatory = $false, Position = 0)] | ||
[ValidateNotNullOrEmpty()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
$Output = Get-OracleJava -res $res | ||
Write-Output -InputObject $Output | ||
} |
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,45 @@ | ||
function Get-PositRStudio { | ||
<# | ||
.SYNOPSIS | ||
Returns the available RStudio version and download URI. | ||
.NOTES | ||
Author: Andrew Cooper | ||
Twitter: @adotcoop | ||
Based on Get-AtlassianBitbucket.ps1 | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $false)] | ||
param ( | ||
[Parameter(Mandatory = $false, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
# Read the download URI | ||
$Content = Invoke-EvergreenRestMethod -Uri $res.Get.Download.Uri | ||
if ($Content -is [PSCustomObject]) { | ||
|
||
# Step through each installer type | ||
foreach ($Product in $res.Get.Download.Products) { | ||
|
||
# Build the output object; Output object to the pipeline | ||
$PSObject = [PSCustomObject] @{ | ||
Version = $Content.rstudio.$Product.stable.desktop.installer.windows.version | ||
Date = ConvertTo-DateTime -DateTime $Content.rstudio.$Product.stable.desktop.installer.windows.last_modified -Pattern "yyyy-MM-dd" | ||
Pro = $Content.rstudio.$Product.stable.desktop.installer.windows.pro | ||
ProductName = $Content.rstudio.$Product.stable.desktop.installer.windows.label | ||
Size = $Content.rstudio.$Product.stable.desktop.installer.windows.size | ||
Sha256 = $Content.rstudio.$Product.stable.desktop.installer.windows.sha256 | ||
Type = Get-FileType -File $Content.rstudio.$Product.stable.desktop.installer.windows.url | ||
URI = $Content.rstudio.$Product.stable.desktop.installer.windows.url | ||
} | ||
Write-Output -InputObject $PSObject | ||
} | ||
} | ||
else { | ||
Write-Error -Message "$($MyInvocation.MyCommand): Data returned from update URI is not expected format: $($res.Get.Download.Uri)." | ||
return | ||
} | ||
} |
This file was deleted.
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,20 @@ | ||
{ | ||
"Name": "Navimatics WinFSP", | ||
"Source": "https://winfsp.dev/rel/", | ||
"Get": { | ||
"Uri": "https://api.github.com/repos/winfsp/winfsp/releases/latest", | ||
"MatchVersion": "(\\d+(\\.\\d+){1,4}).*", | ||
"MatchFileTypes": "\\.msi$" | ||
}, | ||
"Install": { | ||
"Setup": "winfsp-*.msi", | ||
"Physical": { | ||
"Arguments": "", | ||
"PostInstall": [] | ||
}, | ||
"Virtual": { | ||
"Arguments": "", | ||
"PostInstall": [] | ||
} | ||
} | ||
} |
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
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
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,40 @@ | ||
{ | ||
"Name": "Oracle Java 23", | ||
"Source": "https://www.oracle.com/java/technologies/downloads/#java23", | ||
"Get": { | ||
"Update": { | ||
"Uri": "https://www.java.com/releases/releases.json", | ||
"Headers": { | ||
"scheme": "https", | ||
"accept-language": "en-AU,en-GB;q=0.9,en;q=0.8,en-US;q=0.7", | ||
"accept-encoding": "gzip, deflate, br", | ||
"method": "GET", | ||
"path": "/releases/releases.json", | ||
"accept": "application/json", | ||
"cache-control": "max-age=0", | ||
"authority": "www.java.com" | ||
}, | ||
"UserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/127.0.2651.105", | ||
"Family": 23, | ||
"DateFormat": "yyyy-MM-dd" | ||
}, | ||
"Download": { | ||
"Uri": { | ||
"zip": "https://download.oracle.com/java/23/latest/jdk-23_windows-x64_bin.zip", | ||
"exe": "https://download.oracle.com/java/23/latest/jdk-23_windows-x64_bin.exe", | ||
"msi": "https://download.oracle.com/java/23/latest/jdk-23_windows-x64_bin.msi" | ||
} | ||
} | ||
}, | ||
"Install": { | ||
"Setup": "", | ||
"Physical": { | ||
"Arguments": "", | ||
"PostInstall": [] | ||
}, | ||
"Virtual": { | ||
"Arguments": "", | ||
"PostInstall": [] | ||
} | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
Evergreen/Manifests/RStudio.json → Evergreen/Manifests/PositRStudio.json
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
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