From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uFuSHZ+ggmDcPwEAgWs5BA (envelope-from ) for ; Fri, 23 Apr 2021 12:25:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aH9FGZ+ggmDGUAAAB5/wlQ (envelope-from ) for ; Fri, 23 Apr 2021 10:25:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D8A0B2F558 for ; Fri, 23 Apr 2021 12:25:34 +0200 (CEST) Received: from localhost ([::1]:58742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZt07-0002nO-Uw for larch@yhetil.org; Fri, 23 Apr 2021 06:25:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZszh-0002m5-2T for guix-patches@gnu.org; Fri, 23 Apr 2021 06:25:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZszf-0008KX-KD for guix-patches@gnu.org; Fri, 23 Apr 2021 06:25:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZszf-0004No-0Z for guix-patches@gnu.org; Fri, 23 Apr 2021 06:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47968] [PATCH 2/2] gnu: Add git-filter-repo References: In-Reply-To: Resent-From: =?UTF-8?Q?Fran=C3=A7ois?= J Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Apr 2021 10:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47968 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47968@debbugs.gnu.org Received: via spool by 47968-submit@debbugs.gnu.org id=B47968.161917349616810 (code B ref 47968); Fri, 23 Apr 2021 10:25:02 +0000 Received: (at 47968) by debbugs.gnu.org; 23 Apr 2021 10:24:56 +0000 Received: from localhost ([127.0.0.1]:36227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZszY-0004N3-8Y for submit@debbugs.gnu.org; Fri, 23 Apr 2021 06:24:56 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:47219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZszW-0004Mq-Ms for 47968@debbugs.gnu.org; Fri, 23 Apr 2021 06:24:55 -0400 X-Originating-IP: 88.126.13.52 Received: from localhost (unknown [88.126.13.52]) (Authenticated sender: francois@avalenn.eu) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id E8F9520003; Fri, 23 Apr 2021 10:24:48 +0000 (UTC) X-Mailbox-Line: From dd3b9d2e119adeb2db53634b9a190fc48d0acb31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?Q?Fran=C3=A7ois?= J Date: Fri, 23 Apr 2021 09:17:17 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619173535; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Hjn3lHuggM4rbzsBbh7KUnIt4CR8fTxfI01pyFjUlo0=; b=L9i3bbxV4JWaU8faJC57A04SunQxnt3239yaSz3e+U7DL06io0iKlnsl6vwl2kt+vrkXmV 8zaL1IqefSxNkaK8kYrKUus9ZBLjce4lM0074LAljumcLwtgE9Q3dkpiwkp56XjvxM0rOG jS7mqvX+F8aNGGrEhZMYf2Zec9dUTswuT93vI4aTMX/fxyd8xK4m6HqGKXt8Bz1H6q203p R6RM/llr6xALMQXRdpx7hA1oEiqIJLLbz4MvwfybbTzY5pmb5yhJtjlndMcr8Gyv6d4W6U AADEVuGboFemqNJvnmVlpcr20nij/IEuviuWYpkb0/ZkpUm65WRiMuiuMPD7DA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619173535; a=rsa-sha256; cv=none; b=DrcH/x3VdkSmE0i/Ou520jWviKQNt78rrUKDCIi+k2frkrv/UQ0RW10lT8ZSzaJH4e6ZbO FfrNKSt4tIBd8P/8/KYW0d26f87vJqAXeMJEvSooTvdexycD3F0zdpMBWDRBJ76segOS1C lIuxsHU0C2BfjFtDz7F1kNi48Mjbs34bIhXjyp8O3QnGdbetSfjVC1V0GrJuPuS9C535Lq OKRZLUtBA9v4n+WsiHgxMd4xdKsXBOX/9hXRALXPimPmobYuvrGukExpjrcXid6zdBK0sx c7MBXZP8rEjZYoJWfsTy0YPGyGYe1g72LjNxwxanGqiBH7ePDwXVEYQX8HvmNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D8A0B2F558 X-Spam-Score: -0.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6kICMyH4odSg I use release tarball (instead of git as I would have liked) because it contains pre-compiled man-pages which are too hard to build in this context as it uses git Makefile to do it. * gnu/packages/version-control.scm (git-filter-repo): New variable. Signed-off-by: François J --- gnu/packages/version-control.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index fddabbcd40..481cbbb98c 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -3074,3 +3074,34 @@ If several repos are related, it helps to see their status together.") makes a directory under a specific root directory (by default @file{~/ghq}) using the remote repository URL's host and path.") (license license:expat))) + +(define-public git-filter-repo + (package + (name "git-filter-repo") + (version "2.29.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/newren/git-filter-repo/releases/" + "download/v" version + "/git-filter-repo-" version ".tar.xz")) + (sha256 + (base32 + "00nn7k9jqrybb762486fmigsnbcn9lbvimgpfvvarz4ikdp9y9pb")) + )) + (build-system copy-build-system) + (arguments + `(#:install-plan + '( + ("git-filter-repo" "libexec/git-core/") + ("Documentation/man1/" "share/man/man1") + ("/" "" #:include ()) + ))) + (home-page + "https://github.com/newren/git-filter-repo") + (synopsis + "Quickly rewrite git repository history") + (description + "Quickly rewrite git repository history") + (license (list license:expat ;; Main license. + license:gpl2)))) ;; For test harness. -- 2.31.1