From unknown Mon Jun 23 07:52:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43637] [PATCH] gnu: packages: Add grokmirror. Resent-From: Kyle Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Sep 2020 20:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43637@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160115332932516 (code B ref -1); Sat, 26 Sep 2020 20:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Sep 2020 20:48:49 +0000 Received: from localhost ([127.0.0.1]:47833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMH7a-0008SE-DG for submit@debbugs.gnu.org; Sat, 26 Sep 2020 16:48:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:47638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMH7V-0008Rx-JA for submit@debbugs.gnu.org; Sat, 26 Sep 2020 16:48:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMH7V-0003pZ-61 for guix-patches@gnu.org; Sat, 26 Sep 2020 16:48:37 -0400 Received: from pb-smtp21.pobox.com ([173.228.157.53]:57676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMH7S-0003Wv-7Q for guix-patches@gnu.org; Sat, 26 Sep 2020 16:48:36 -0400 Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 03599FC31E; Sat, 26 Sep 2020 16:48:31 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=sasl; bh=33DFR46k0Cqyub1CijM0V8nYs rg=; b=uA+SyIBommDe12sR2Fu5PFmA7+E+cD/Jx1zxkM9MGl5lOMTDxeaN9Fw1w JsRgA5TRDtq7psvr0eZhdYql+H1y2NY+xQoHabER1DmNtTdX0jkPNFxVYfiGU4Sf 60Jb16fiipJfjq/GcU9kfl0rzpzeYzUUPieikZA4RYuGezCG7U= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id F0892FC31D; Sat, 26 Sep 2020 16:48:30 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=GJqSSDDx/O6SrgRQzwyU5Mh1t1S+xZmhmLVI0Zg3MXI=; b=guRAnl++Bs6e5X+f6yWSPftZ98Z/F+YR9c1EKSWnBC03MeX5C6ywIc5q+/9+KIdxIsdC3SHRxEwKeajR23WrDNtQfLTZJ3hKgBo9Xx++fzDbaR8Ef8eI9noaPXbG9yPIvNO0OJXTmRT5unTew+w8kR5KKJjr1NK7jy8TRaip2R8= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 30FE9FC31A; Sat, 26 Sep 2020 16:48:28 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer Date: Sat, 26 Sep 2020 16:48:19 -0400 Message-Id: <20200926204819.30602-1-kyle@kyleam.com> X-Mailer: git-send-email 2.28.0.849.g665beee440 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Pobox-Relay-ID: A12C9756-0039-11EB-9DAF-843F439F7C89-24757444!pb-smtp21.pobox.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=173.228.157.53; envelope-from=kyle@kyleam.com; helo=pb-smtp21.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/26 16:48:31 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/version-control.scm (grokmirror): New variable. --- gnu/packages/version-control.scm | 39 +++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-cont= rol.scm index 2ee8247071..68971c60f9 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -7,7 +7,7 @@ ;;; Copyright =C2=A9 2014, 2015, 2016 Mark H Weaver ;;; Copyright =C2=A9 2014, 2016, 2019 Eric Bavier ;;; Copyright =C2=A9 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner = -;;; Copyright =C2=A9 2015, 2018 Kyle Meyer +;;; Copyright =C2=A9 2015, 2018, 2020 Kyle Meyer ;;; Copyright =C2=A9 2015, 2017, 2018, 2020 Ricardo Wurmus ;;; Copyright =C2=A9 2016, 2017 Leo Famulari ;;; Copyright =C2=A9 2016, 2017, 2018 Nikita @@ -2269,6 +2269,43 @@ (define-public myrepos Mercurial, Bazaar, Darcs, CVS, Fossil, and Veracity.") (license license:gpl2+))) =20 +(define-public grokmirror + (package + (name "grokmirror") + (version "2.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://git.kernel.org/pub/scm/" + "utils/grokmirror/grokmirror.git")) + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 "1cs43vf87x8x5k5ncgiwiclc92a1dvxpg2z6lh6psaiip808gylp"))= )) + (build-system python-build-system) + (arguments + `(#:tests? #f ; no test suite + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-manpages + (lambda* (#:key outputs #:allow-other-keys) + (let* ((man (string-append (assoc-ref outputs "out") + "/man/man1/"))) + (mkdir-p man) + (for-each (lambda (file) (install-file file man)) + (find-files "." "\\.1$"))) + #t))))) + (propagated-inputs + `(("python-requests" ,python-requests))) + (home-page + "https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git") + (synopsis "Framework to smartly mirror git repositories") + (description "Grokmirror enables replicating large git repository +collections efficiently. Mirrors decide to clone and update repositorie= s +based on a manifest file published by servers.") + (license license:gpl3+))) + (define-public git-annex-remote-rclone (package (name "git-annex-remote-rclone") base-commit: 3876ed32f25e160c47ba046d987ad9097b2bf0cb --=20 2.28.0.849.g665beee440 From unknown Mon Jun 23 07:52:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43637] [PATCH] gnu: packages: Add grokmirror. Resent-From: Kyle Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Sep 2020 20:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43637@debbugs.gnu.org Cc: zimoun Received: via spool by 43637-submit@debbugs.gnu.org id=B43637.1601153908965 (code B ref 43637); Sat, 26 Sep 2020 20:59:02 +0000 Received: (at 43637) by debbugs.gnu.org; 26 Sep 2020 20:58:28 +0000 Received: from localhost ([127.0.0.1]:47839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMHH2-0000FV-Cm for submit@debbugs.gnu.org; Sat, 26 Sep 2020 16:58:28 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:61106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMHH0-0000FL-Fe for 43637@debbugs.gnu.org; Sat, 26 Sep 2020 16:58:27 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 711B8F602E; Sat, 26 Sep 2020 16:58:25 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=wlC+iga4GCIVlc7Cl4CXbsgK2Ik=; b=hFbDzT JGMyCFq9Ti+aGc6vlP5FSPnaU3PP+2GKrpQ/lmd5FWOsgqn8Ea8G+2NMhOprszzm Zmbt3VcbTXJ3e+8jBdVT0OmJoWfeNjYcdxyMA7+Bw6Yg4dwIrG3g7IlKPLUJNwhb Dw1mFqC7eZN5W/hcvBIPD0B+ExMdWuqYDktvw= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 68B49F602D; Sat, 26 Sep 2020 16:58:25 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=enCLPnKLbHx3519EA2F3x4RjDKoW45rfrJmi7ha6RGw=; b=mb+S+66iBEpMv54hmMgwN8CWzV0yVruCtOp2BsH5ERhGMxvAq2za6pgBJxoCARBSU4peDQtlEGFc54Dleaerf4opPbrQ+H8IfGKGsH5dW6uAW/LBNqtUhRajgCfXkaWRhU7rh9nbzQXHERgzpB/+OWh+4IisZRP+cz2adCWH0kI= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id CDA24F602C; Sat, 26 Sep 2020 16:58:22 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer In-Reply-To: <20200926204819.30602-1-kyle@kyleam.com> References: <20200926204819.30602-1-kyle@kyleam.com> Date: Sat, 26 Sep 2020 16:58:20 -0400 Message-ID: <878scww903.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 039C3C38-003B-11EB-9532-F0EA2EB3C613-24757444!pb-smtp20.pobox.com X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) A recent message on bug-guix [1] mentioned cloning the archives at . public-inbox archives, including those at yhetil.org, publish a grokmirror-compatible manifest. So, if you're interested in mirroring the Guix-related archives at yhetil.org for any reason [2], you can use grokmirror to do so in a way that's nicer than periodically hitting yhetil.org with a git-fetch call for each Guix-related inbox. You can clone (and then later update) Guix-related inboxes with $ grok-pull -vc /path/to/config and a config file that looks something like this: --8<---------------cut here---------------start------------->8--- [core] toplevel = /path/to/inboxes manifest = ${toplevel}/manifest.js.gz log = ${toplevel}/grok.log loglevel = info objstore = ${toplevel}/objstore [pull] pull_threads = 2 include = /guix-* [remote] site = https://yhetil.org manifest = ${site}/manifest.js.gz --8<---------------cut here---------------end--------------->8--- [1] https://issues.guix.gnu.org/43528#4 CAJ3okZ0g25+-wsL2OepE+xMR5QWShmS73hSHsjEmEgYBiOWwAg@mail.gmail.com [2] to have a fast local copy, to publish your own mirror, to feed the archives into some other tool... From unknown Mon Jun 23 07:52:23 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Kyle Meyer Subject: bug#43637: closed (Re: [bug#43637] [PATCH] gnu: packages: Add grokmirror.) Message-ID: References: <87wo0fdjtn.fsf@gnu.org> <20200926204819.30602-1-kyle@kyleam.com> X-Gnu-PR-Message: they-closed 43637 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 43637@debbugs.gnu.org Date: Sun, 27 Sep 2020 20:52:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1601239922-23660-1" This is a multi-part message in MIME format... ------------=_1601239922-23660-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #43637: [PATCH] gnu: packages: Add grokmirror. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 43637@debbugs.gnu.org. --=20 43637: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43637 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1601239922-23660-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 43637-done) by debbugs.gnu.org; 27 Sep 2020 20:51:59 +0000 Received: from localhost ([127.0.0.1]:50551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMdeJ-00069N-8X for submit@debbugs.gnu.org; Sun, 27 Sep 2020 16:51:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMdeI-000699-3R for 43637-done@debbugs.gnu.org; Sun, 27 Sep 2020 16:51:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57209) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMdeB-00083c-75; Sun, 27 Sep 2020 16:51:51 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43786 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kMde9-0004fN-TX; Sun, 27 Sep 2020 16:51:50 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Kyle Meyer Subject: Re: [bug#43637] [PATCH] gnu: packages: Add grokmirror. References: <20200926204819.30602-1-kyle@kyleam.com> Date: Sun, 27 Sep 2020 22:51:48 +0200 In-Reply-To: <20200926204819.30602-1-kyle@kyleam.com> (Kyle Meyer's message of "Sat, 26 Sep 2020 16:48:19 -0400") Message-ID: <87wo0fdjtn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43637-done Cc: 43637-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Kyle Meyer skribis: > * gnu/packages/version-control.scm (grokmirror): New variable. Applied, thanks! > A recent message on bug-guix [1] mentioned cloning the archives at > . public-inbox archives, including those at > yhetil.org, publish a grokmirror-compatible manifest. So, if you're > interested in mirroring the Guix-related archives at yhetil.org for any > reason [2], you can use grokmirror to do so in a way that's nicer than > periodically hitting yhetil.org with a git-fetch call for each > Guix-related inbox. So yhetil.org stores mailing list archives as a Git repo? Sounds interesting. Thanks, Ludo=E2=80=99. ------------=_1601239922-23660-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Sep 2020 20:48:49 +0000 Received: from localhost ([127.0.0.1]:47833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMH7a-0008SE-DG for submit@debbugs.gnu.org; Sat, 26 Sep 2020 16:48:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:47638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMH7V-0008Rx-JA for submit@debbugs.gnu.org; Sat, 26 Sep 2020 16:48:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMH7V-0003pZ-61 for guix-patches@gnu.org; Sat, 26 Sep 2020 16:48:37 -0400 Received: from pb-smtp21.pobox.com ([173.228.157.53]:57676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMH7S-0003Wv-7Q for guix-patches@gnu.org; Sat, 26 Sep 2020 16:48:36 -0400 Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 03599FC31E; Sat, 26 Sep 2020 16:48:31 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=sasl; bh=33DFR46k0Cqyub1CijM0V8nYs rg=; b=uA+SyIBommDe12sR2Fu5PFmA7+E+cD/Jx1zxkM9MGl5lOMTDxeaN9Fw1w JsRgA5TRDtq7psvr0eZhdYql+H1y2NY+xQoHabER1DmNtTdX0jkPNFxVYfiGU4Sf 60Jb16fiipJfjq/GcU9kfl0rzpzeYzUUPieikZA4RYuGezCG7U= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id F0892FC31D; Sat, 26 Sep 2020 16:48:30 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:date:message-id:mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=GJqSSDDx/O6SrgRQzwyU5Mh1t1S+xZmhmLVI0Zg3MXI=; b=guRAnl++Bs6e5X+f6yWSPftZ98Z/F+YR9c1EKSWnBC03MeX5C6ywIc5q+/9+KIdxIsdC3SHRxEwKeajR23WrDNtQfLTZJ3hKgBo9Xx++fzDbaR8Ef8eI9noaPXbG9yPIvNO0OJXTmRT5unTew+w8kR5KKJjr1NK7jy8TRaip2R8= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 30FE9FC31A; Sat, 26 Sep 2020 16:48:28 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: guix-patches@gnu.org Subject: [PATCH] gnu: packages: Add grokmirror. Date: Sat, 26 Sep 2020 16:48:19 -0400 Message-Id: <20200926204819.30602-1-kyle@kyleam.com> X-Mailer: git-send-email 2.28.0.849.g665beee440 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Pobox-Relay-ID: A12C9756-0039-11EB-9DAF-843F439F7C89-24757444!pb-smtp21.pobox.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=173.228.157.53; envelope-from=kyle@kyleam.com; helo=pb-smtp21.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/26 16:48:31 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/version-control.scm (grokmirror): New variable. --- gnu/packages/version-control.scm | 39 +++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-cont= rol.scm index 2ee8247071..68971c60f9 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -7,7 +7,7 @@ ;;; Copyright =C2=A9 2014, 2015, 2016 Mark H Weaver ;;; Copyright =C2=A9 2014, 2016, 2019 Eric Bavier ;;; Copyright =C2=A9 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner = -;;; Copyright =C2=A9 2015, 2018 Kyle Meyer +;;; Copyright =C2=A9 2015, 2018, 2020 Kyle Meyer ;;; Copyright =C2=A9 2015, 2017, 2018, 2020 Ricardo Wurmus ;;; Copyright =C2=A9 2016, 2017 Leo Famulari ;;; Copyright =C2=A9 2016, 2017, 2018 Nikita @@ -2269,6 +2269,43 @@ (define-public myrepos Mercurial, Bazaar, Darcs, CVS, Fossil, and Veracity.") (license license:gpl2+))) =20 +(define-public grokmirror + (package + (name "grokmirror") + (version "2.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://git.kernel.org/pub/scm/" + "utils/grokmirror/grokmirror.git")) + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 "1cs43vf87x8x5k5ncgiwiclc92a1dvxpg2z6lh6psaiip808gylp"))= )) + (build-system python-build-system) + (arguments + `(#:tests? #f ; no test suite + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-manpages + (lambda* (#:key outputs #:allow-other-keys) + (let* ((man (string-append (assoc-ref outputs "out") + "/man/man1/"))) + (mkdir-p man) + (for-each (lambda (file) (install-file file man)) + (find-files "." "\\.1$"))) + #t))))) + (propagated-inputs + `(("python-requests" ,python-requests))) + (home-page + "https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git") + (synopsis "Framework to smartly mirror git repositories") + (description "Grokmirror enables replicating large git repository +collections efficiently. Mirrors decide to clone and update repositorie= s +based on a manifest file published by servers.") + (license license:gpl3+))) + (define-public git-annex-remote-rclone (package (name "git-annex-remote-rclone") base-commit: 3876ed32f25e160c47ba046d987ad9097b2bf0cb --=20 2.28.0.849.g665beee440 ------------=_1601239922-23660-1-- From unknown Mon Jun 23 07:52:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#43637] [PATCH] gnu: packages: Add grokmirror. Resent-From: Kyle Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Sep 2020 21:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 43637-done@debbugs.gnu.org Received: via spool by 43637-done@debbugs.gnu.org id=D43637.160124129825740 (code D ref 43637); Sun, 27 Sep 2020 21:15:01 +0000 Received: (at 43637-done) by debbugs.gnu.org; 27 Sep 2020 21:14:58 +0000 Received: from localhost ([127.0.0.1]:50572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMe0X-0006h6-ON for submit@debbugs.gnu.org; Sun, 27 Sep 2020 17:14:57 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:56679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMe0V-0006gx-FO for 43637-done@debbugs.gnu.org; Sun, 27 Sep 2020 17:14:56 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id B3E746A40A; Sun, 27 Sep 2020 17:14:54 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=MvV5EoGPMDoc 8msGLzrk6qGe7Es=; b=wRGCiNeD3SMcBA+GqbMLz0LCV72WKurIX/O92HoI5d6O 4Go5KwbJWkR249g1E7tvhX1JsRsnLWXpGbLmx3FFYOJ2kTa6Vn/Z7lXZ2jp+vzf6 qJY0+ki+zFoTpqRgBUkZLQ+K7GlOQ8zLTElV6j5aZRSu3b5DBb9k71L6fLIo82c= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id ABF4B6A409; Sun, 27 Sep 2020 17:14:54 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=UR5HQOlTihfwL+0BkJQez3r/046WaxRGb4NBcFfV06c=; b=Ns2FsT/dTV90dxs0X9bdbhn8CnHfhDSnNHRZI4GsLPo3wkucl+pWnlXda9eAH4jsP8jUq2FEKz6JCmPIcVsb0eYRvQmkCZS+s2qZqp1h3kV+3MIR0xI0SfxjHK8/TOAk63UPVt9MQTy7PgCTpvVJnTzxStjInql8/0wh4dt4E2g= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 349536A407; Sun, 27 Sep 2020 17:14:54 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer In-Reply-To: <87wo0fdjtn.fsf@gnu.org> References: <20200926204819.30602-1-kyle@kyleam.com> <87wo0fdjtn.fsf@gnu.org> Date: Sun, 27 Sep 2020 17:14:52 -0400 Message-ID: <87wo0eexbn.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: 7CEDCAEA-0106-11EB-B87F-01D9BED8090B-24757444!pb-smtp1.pobox.com X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Ludovic Court=C3=A8s writes: > Hi, > > Kyle Meyer skribis: > >> * gnu/packages/version-control.scm (grokmirror): New variable. > > Applied, thanks! Thanks for reviewing/applying! >> A recent message on bug-guix [1] mentioned cloning the archives at >> . public-inbox archives, including those at >> yhetil.org, publish a grokmirror-compatible manifest. So, if you're >> interested in mirroring the Guix-related archives at yhetil.org for any >> reason [2], you can use grokmirror to do so in a way that's nicer than >> periodically hitting yhetil.org with a git-fetch call for each >> Guix-related inbox. > > So yhetil.org stores mailing list archives as a Git repo? > > Sounds interesting. Yep, messages are stored in a Git repo or, for archives greater than around one gigabyte, a collection of repos [*]. (A freshly gc'd guix-devel weighs in at ~140M.) [*] documentation on public-inbox's v2 format: https://public-inbox.org/public-inbox-v2-format.html