ScoopInstaller_Main/bucket/mingit-busybox.json
2020-06-02 10:27:07 +02:00

50 lines
2.1 KiB
JSON

{
"homepage": "https://git-for-windows.github.io/",
"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)",
"license": "GPL-2.0-only",
"version": "2.27.0.windows.1",
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.27.0.windows.1/MinGit-2.27.0-busybox-64-bit.zip",
"hash": "be59e1226c472dd6ad5ea4afaeced2d8543cd2ab363789dd1d0d17164055af19"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v2.27.0.windows.1/MinGit-2.27.0-busybox-32-bit.zip",
"hash": "80ff0b523eca334ba936863be5ff9e804213e399a61e911f7dfadd3d47dfcad6"
}
},
"bin": [
"cmd\\git.exe",
"mingw64\\bin\\busybox.exe"
],
"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."
],
"checkver": {
"url": "https://github.com/git-for-windows/git/releases/latest",
"re": "v(?<version>[\\d\\w.]+)/MinGit-(?<short>[\\d.]+).*\\.zip"
},
"env_set": {
"GIT_INSTALL_ROOT": "$dir"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-busybox-64-bit.zip"
},
"32bit": {
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-busybox-32-bit.zip"
}
},
"hash": {
"url": "https://github.com/git-for-windows/git/releases/latest",
"find": "<td>$basename<\\/td>\\s*<td>([0-9a-fA-F]+)<\\/td>"
}
}
}