Add git_mestrelion_tools package (#9471)

* Add git_restore_mtime package

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* alphabetize properly

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* rename to git_mestrelion_tools

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2024-03-11 19:41:30 -04:00
committed by GitHub
parent 53d6fcdbed
commit a264bcdb8a
5 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/usr/local/bin/git-branches-rename
/usr/local/bin/git-clone-subset
/usr/local/bin/git-find-uncommitted-repos
/usr/local/bin/git-rebase-theirs
/usr/local/bin/git-restore-mtime
/usr/local/bin/git-strip-merge
/usr/local/share/man/man1/git-branches-rename.1.zst
/usr/local/share/man/man1/git-clone-subset.1.zst
/usr/local/share/man/man1/git-find-uncommitted-repos.1.zst
/usr/local/share/man/man1/git-rebase-theirs.1.zst
/usr/local/share/man/man1/git-restore-mtime.1.zst
/usr/local/share/man/man1/git-strip-merge.1.zst

View File

@@ -0,0 +1,12 @@
/usr/local/bin/git-branches-rename
/usr/local/bin/git-clone-subset
/usr/local/bin/git-find-uncommitted-repos
/usr/local/bin/git-rebase-theirs
/usr/local/bin/git-restore-mtime
/usr/local/bin/git-strip-merge
/usr/local/share/man/man1/git-branches-rename.1.zst
/usr/local/share/man/man1/git-clone-subset.1.zst
/usr/local/share/man/man1/git-find-uncommitted-repos.1.zst
/usr/local/share/man/man1/git-rebase-theirs.1.zst
/usr/local/share/man/man1/git-restore-mtime.1.zst
/usr/local/share/man/man1/git-strip-merge.1.zst

View File

@@ -0,0 +1,12 @@
/usr/local/bin/git-branches-rename
/usr/local/bin/git-clone-subset
/usr/local/bin/git-find-uncommitted-repos
/usr/local/bin/git-rebase-theirs
/usr/local/bin/git-restore-mtime
/usr/local/bin/git-strip-merge
/usr/local/share/man/man1/git-branches-rename.1.zst
/usr/local/share/man/man1/git-clone-subset.1.zst
/usr/local/share/man/man1/git-find-uncommitted-repos.1.zst
/usr/local/share/man/man1/git-rebase-theirs.1.zst
/usr/local/share/man/man1/git-restore-mtime.1.zst
/usr/local/share/man/man1/git-strip-merge.1.zst

View File

@@ -0,0 +1,34 @@
# Adapted from Arch Linux git-tools-git PKGBUILD at:
# https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=git-tools-git
require 'package'
class Git_mestrelion_tools < Package
description 'Assorted git tools, including git-restore-mtime'
homepage 'https://github.com/MestreLion/git-tools'
version '2022.12'
license 'GPL3'
compatibility 'all'
source_url 'https://github.com/MestreLion/git-tools.git'
git_hashtag "v#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'e008b4240a6ff1580dcb0786cc687454608d2a3dd3351da9bb7aa0a17a44cfa7',
armv7l: 'e008b4240a6ff1580dcb0786cc687454608d2a3dd3351da9bb7aa0a17a44cfa7',
i686: 'ccb3144001c111b47c4851e6b670090e8cfccee02d1a19624865dfdbdeafc47a',
x86_64: '9cc57f97e060f2604f8a0e1710ac118869bc27f7487017d8dd58652398fe1346'
})
depends_on 'git' # L
depends_on 'python3' # R
def self.install
Dir.glob('man1/*.1') do |man|
FileUtils.install man, "#{CREW_DEST_MAN_PREFIX}/#{man}", mode: 0o644
end
Dir.glob('git-*') do |app|
FileUtils.install app, "#{CREW_DEST_PREFIX}/bin/#{app}", mode: 0o755
end
end
end

View File

@@ -2385,6 +2385,11 @@ url: https://github.com/git-lfs/git-lfs/releases
activity: medium
---
kind: url
name: git_mestrelion_tools
url: https://github.com/MestreLion/git-tools/releases
activity: low
---
kind: url
name: git_prompt
url: https://github.com/git/git/releases
activity: high