From patchwork Sun Apr 23 12:27:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 49423 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A550427BBE2; Sun, 23 Apr 2023 13:28:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C7CFE27BBE9 for ; Sun, 23 Apr 2023 13:28:27 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqYp5-0002jH-RP; Sun, 23 Apr 2023 08:28:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqYp1-0002iW-0a for guix-patches@gnu.org; Sun, 23 Apr 2023 08:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqYp0-0001cG-OU for guix-patches@gnu.org; Sun, 23 Apr 2023 08:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqYp0-0006IU-1i for guix-patches@gnu.org; Sun, 23 Apr 2023 08:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63017] [PATCH v2 01/24] gnu: Add go-github-com-git-lfs-gitobj-v2. References: <87bkjf7upe.fsf@ngraves.fr> In-Reply-To: <87bkjf7upe.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Apr 2023 12:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63017 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63017@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 63017-submit@debbugs.gnu.org id=B63017.168225287624136 (code B ref 63017); Sun, 23 Apr 2023 12:28:02 +0000 Received: (at 63017) by debbugs.gnu.org; 23 Apr 2023 12:27:56 +0000 Received: from localhost ([127.0.0.1]:44719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqYos-0006H6-UP for submit@debbugs.gnu.org; Sun, 23 Apr 2023 08:27:56 -0400 Received: from 11.mo561.mail-out.ovh.net ([87.98.184.158]:46199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqYoq-0006Gt-Ht for 63017@debbugs.gnu.org; Sun, 23 Apr 2023 08:27:53 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.146.50]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 0998D25587 for <63017@debbugs.gnu.org>; Sun, 23 Apr 2023 12:27:51 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-srfj6 (unknown [10.110.171.20]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 6F8AC1FD2F; Sun, 23 Apr 2023 12:27:50 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-6684bf9d7b-srfj6 with ESMTPSA id QUSvE0YkRWQj5gAAdBj+BQ (envelope-from ); Sun, 23 Apr 2023 12:27:50 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G00685f14cc3-4d62-4b67-ba04-ef7fcf80682a, EDF19EEF7CB87F1BB4CF904116A7601ECA35D520) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Sun, 23 Apr 2023 14:27:25 +0200 Message-Id: <20230423122748.6770-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Ovh-Tracer-Id: 2613776637865353954 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtkedghedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteeffefhfffhjeevleeuvdehgffgveekheeuhfekhfehuefgheffhedugfegleeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddruddtheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeftddujeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeiuddpmhhouggvpehsmhhtphhouhht 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/version-control.scm (go-github-com-git-lfs-gitobj-v2): New variable. --- gnu/packages/version-control.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 302f7c90ad..ffa1d1e3e4 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -2940,6 +2940,36 @@ (define-public git-imerge interrupted, published, and collaborated on while in progress.") (license license:gpl2+))) +(define-public go-github-com-git-lfs-gitobj-v2 + (package + (name "go-github-com-git-lfs-gitobj-v2") + (version "2.1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/git-lfs/gitobj") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1sd7y4xbx00js1g2az4nq8g5lvsm4d7nqr3v4kxy8fxrfzdm63j9")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/git-lfs/gitobj/v2")) + (propagated-inputs (list go-github-com-stretchr-testify + go-github-com-pmezard-go-difflib + go-github-com-davecgh-go-spew)) + (home-page "https://github.com/git-lfs/gitobj") + (synopsis "Read and write git objects") + (description + "This package reads and writes loose and packed (objects found in git +packfiles) Git objects. It uses the pack package to search pack index files +and locate the corresponding delta-base chain in the appropriate pack file. +If gitobj can't find a loose object with the appropriate SHA-1, it will search +the repository's packfile(s) instead. If it finds an object in a packfile, it +will reconstruct the object along its delta-base chain and return it.") + (license license:expat))) + (define-public git-lfs (package (name "git-lfs")