From d24131d116237a7449bfd1623b8e4cd12f9910a5 Mon Sep 17 00:00:00 2001 From: ddarfantasy <75518399+ddarfantasy@users.noreply.github.com> Date: Wed, 9 Jul 2025 14:59:01 +0800 Subject: [PATCH] Create mingit-busybox-lean.json --- bucket/mingit-busybox-lean.json | 48 +++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 bucket/mingit-busybox-lean.json diff --git a/bucket/mingit-busybox-lean.json b/bucket/mingit-busybox-lean.json new file mode 100644 index 0000000000000..a1658f495a3de --- /dev/null +++ b/bucket/mingit-busybox-lean.json @@ -0,0 +1,48 @@ +{ + "version": "2.50.1", + "description": "Minimal Git for Windows (MinGit) is a reduced sized package designed to support application integration (like integrated development environments, graph visualizers, etc.) where full console support (colorization, pagniation, etc.) is not needed. (BusyBox-backed MinGit, experimental, smaller version of MinGit, using the upstream version of busybox-lean)", + "homepage": "https://git-for-windows.github.io/", + "license": "GPL-2.0-only", + "depends": "busybox-lean", + "notes": [ + "To get Git to recognise OpenSSH, you will need to run", + "", + "scoop install openssh", + "[environment]::setenvironmentvariable('GIT_SSH', (resolve-path (scoop which ssh)), 'USER')", + "", + "and then restart powershell." + ], + "architecture": { + "64bit": { + "url": "https://github.com/git-for-windows/git/releases/download/v2.50.1.windows.1/MinGit-2.50.1-busybox-64-bit.zip", + "hash": "6d586bf5093baf312cd8141bb59d150416ee89a8e58240d8c1e9ae31a4be7758" + }, + "32bit": { + "url": "https://github.com/git-for-windows/git/releases/download/v2.50.1.windows.1/MinGit-2.50.1-busybox-32-bit.zip", + "hash": "7d138de6edf6f001f131de55b02d97ca9e240c51a2ec61f631b0fe5e9f2b266b" + } + }, + "bin": "cmd\\git.exe", + "env_set": { + "GIT_INSTALL_ROOT": "$dir" + }, + "checkver": { + "url": "https://api.github.com/repositories/23216272/releases/latest", + "jsonpath": "$..browser_download_url", + "regex": "download/v(?[\\d.]+windows\\.\\d)/MinGit-([\\d.]+)-busybox-64" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/git-for-windows/git/releases/download/v$matchTag/MinGit-$version-busybox-64-bit.zip" + }, + "32bit": { + "url": "https://github.com/git-for-windows/git/releases/download/v$matchTag/MinGit-$version-busybox-32-bit.zip" + } + }, + "hash": { + "url": "https://github.com/git-for-windows/git/releases/tag/v$matchTag", + "regex": "(?s)$basename.*?$sha256" + } + } +}