From af23f6c3703f72e08919463f8191fe80f2e26e11 Mon Sep 17 00:00:00 2001 From: leni8ec Date: Fri, 3 Apr 2020 04:38:33 +0300 Subject: [PATCH] git-filter-repo: Use contrib-tools (#972) This is needed for usage contrib-tools in python! --- bucket/git-filter-repo.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bucket/git-filter-repo.json b/bucket/git-filter-repo.json index 328f99ddf7..5065ab4cbf 100644 --- a/bucket/git-filter-repo.json +++ b/bucket/git-filter-repo.json @@ -3,14 +3,15 @@ "description": "git filter-branch replacement", "homepage": "https://github.com/newren/git-filter-repo", "license": "MIT", + "notes": "Using Python 3", "suggest": { "Python 3": "python" }, - "notes": "Python 3 installation is needed.", "url": "https://github.com/newren/git-filter-repo/archive/v2.26.0.zip", "hash": "c2e248dc1fc0ece3a7bda651c1c4d87b3d2e5d4bfa0a7de2edabc7c138ae129b", "extract_dir": "git-filter-repo-2.26.0", "pre_install": "Set-Content -Path \"$dir\\git-filter-repo.ps1\" -Value \"python3 '$dir\\git-filter-repo' @args\"", + "post_install": "New-Item -ItemType SymbolicLink -Path \"$dir\\contrib\\filter-repo-demos\\git_filter_repo.py\" -Target \"$dir\\git-filter-repo\" | Out-Null", "bin": "git-filter-repo.ps1", "checkver": "github", "autoupdate": {