From patchwork Sat Apr 22 16:27:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 49394 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 02DBC27BBE2; Sat, 22 Apr 2023 17:28:30 +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=ham 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 6C74E27BBEA for ; Sat, 22 Apr 2023 17:28:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqG5l-0004cK-1Z; Sat, 22 Apr 2023 12:28:05 -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 1pqG5i-0004bR-Vm for guix-patches@gnu.org; Sat, 22 Apr 2023 12:28:02 -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 1pqG5i-0000mT-Ki for guix-patches@gnu.org; Sat, 22 Apr 2023 12:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqG5i-0008HA-Fn for guix-patches@gnu.org; Sat, 22 Apr 2023 12:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63017] [PATCH 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: Sat, 22 Apr 2023 16: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.168218087731746 (code B ref 63017); Sat, 22 Apr 2023 16:28:02 +0000 Received: (at 63017) by debbugs.gnu.org; 22 Apr 2023 16:27:57 +0000 Received: from localhost ([127.0.0.1]:43943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG5d-0008Fi-2h for submit@debbugs.gnu.org; Sat, 22 Apr 2023 12:27:57 -0400 Received: from 17.mo561.mail-out.ovh.net ([87.98.178.58]:60263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqG5b-0008FV-0f for 63017@debbugs.gnu.org; Sat, 22 Apr 2023 12:27:56 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.4.44]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 8D47E26426 for <63017@debbugs.gnu.org>; Sat, 22 Apr 2023 16:27:53 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-xmjp4 (unknown [10.110.115.73]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 368921FDE9; Sat, 22 Apr 2023 16:27:53 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-6684bf9d7b-xmjp4 with ESMTPSA id K6rnCgkLRGRelwAA2ZJ66Q (envelope-from ); Sat, 22 Apr 2023 16:27:53 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-105G0067abedbb8-ec39-4740-830e-8b980dd1ae56, E9913F706B0966FB98C2C1C62831F8C2A85A18CE) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Sat, 22 Apr 2023 18:27:27 +0200 Message-Id: <20230422162750.17012-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Ovh-Tracer-Id: 795166813202211554 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtiedguddttdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetfeefhfffhfejveeluedvhefggfevkeehuefhkefhheeugfehffehudfggeelieenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeifedtudejseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedupdhmohguvgepshhmthhpohhuth 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")