From 6d0788ba85eb0a4b54c1020834b0515e94e0ee76 Mon Sep 17 00:00:00 2001 From: Ryanjiena <43134606+Ryanjiena@users.noreply.github.com> Date: Sun, 20 Nov 2022 21:17:16 +0800 Subject: [PATCH] sapling: Add version 0.1.20221118.210929.cfbb68aa (#4141) * sapling: Add version 20221115.080554.34470671 * sapling: add alias Signed-off-by: Ryanjiena <43134606+Ryanjiena@users.noreply.github.com> * sapling: fix notes(add reassign sl to PowerShell $PROFILE) Signed-off-by: Ryanjiena <43134606+Ryanjiena@users.noreply.github.com> * fix checkver and Update version to 0.1.20221118.210929.cfbb68aa Signed-off-by: Ryanjiena <43134606+Ryanjiena@users.noreply.github.com> * Revert "sapling: add alias" This reverts commit a53195958260510c5663842454caa07ddbd5a76e. Signed-off-by: Ryanjiena <43134606+Ryanjiena@users.noreply.github.com> Co-authored-by: Mateusz Bajorek --- bucket/sapling.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bucket/sapling.json diff --git a/bucket/sapling.json b/bucket/sapling.json new file mode 100644 index 0000000000..2d0b869535 --- /dev/null +++ b/bucket/sapling.json @@ -0,0 +1,36 @@ +{ + "version": "0.1.20221118.210929.cfbb68aa", + "description": "Sapling SCM is a cross-platform, highly scalable, Git-compatible source control system.", + "homepage": "https://sapling-scm.com/", + "license": "GPL-2.0-only", + "notes": [ + "The name of the Sapling CLI sl.exe conflicts with the sl shell built-in in PowerShell (sl is an alias for Set-Location, which is equivalent to cd).", + "If you want to use sl to run sl.exe in PowerShell, you must reassign the alias to PowerShell $PROFILE by running:", + "Add-Content -Path $Profile -Value \"`nSet-Alias -Name sl -Value '$dir\\sl.exe' -Force -Option Constant,ReadOnly,AllScope\"" + ], + "suggest": { + "Node JS": "nodejs-lts", + "Git": "git" + }, + "architecture": { + "64bit": { + "url": "https://github.com/facebook/sapling/releases/download/0.1.20221118-210929-cfbb68aa/sapling_windows_0.1.20221118-210929-cfbb68aa_amd64.zip", + "hash": "e67897614e11fb3d91a9544528069174f312de91406c12bd760cec17b28e16a9" + } + }, + "extract_dir": "Sapling", + "bin": "sl.exe", + "checkver": { + "url": "https://api.github.com/repos/facebook/sapling/releases/latest", + "jsonpath": "$.tag_name", + "regex": "(?(?[\\d.]+)-(?[\\d]{6})-(?[\\da-f]{8}))", + "replace": "${ver}.${date}.${commit}" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/facebook/sapling/releases/download/$matchTag/sapling_windows_$matchTag_amd64.zip" + } + } + } +}