From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UIIpNgYFT2e0CQEA62LTzQ:P1 (envelope-from ) for ; Tue, 03 Dec 2024 13:17:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UIIpNgYFT2e0CQEA62LTzQ (envelope-from ) for ; Tue, 03 Dec 2024 14:17:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=N0FgnAQW; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=Q5BbNXc6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733231878; a=rsa-sha256; cv=none; b=tv9YeBBdqUMmTMA6INjmtnwzhwzWK8vKgjLCc3RQS4admTCzimWAHlWqO2h01BTryvKt4J LFYZUezU7QoDCrxgkRTKbbajQxQyunneIuB7KFdtvszGfhce8vZqmo7IzDkDQt15khZ6DG /rZfYFrpoV9DvOUQOU3RFxA9nK+aBxA5S1qXN6WGG2Eoo2NnS81FcGh9vXLdMI11065BjG 5KU+eHbtu0Us/vIy8sPNYRB1zgPkfa6hs3a94+8QsdK6AAEoPH7k3FQBO2tv+iZBqMxjAi 3ojel7z0ajRrvGWzcuTR89e5q/45u747gb3nBER2psQ35yeEKimh8Bm12prcaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=N0FgnAQW; dkim=fail ("headers rsa verify failed") header.d=rimm.ee header.s=herman header.b=Q5BbNXc6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733231878; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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:dkim-signature; bh=PCsqd+COx05BAddtELjjFaIk07135kHEnodgS/6Ducs=; b=TXLd3Iatzd1sKk5HAZa/3Cr0BOM3/p+rNOh4X30mKxRubaaSmXUbUBtQiJ7YeqglLU/Ghk 3QloI8juTJSNXx4J7xiGPssUoExqPYEZuo2O4M0z3fMpv8Ais29EZhN40kHmH2t99paoUK F0/RLBIOGS4nf1KcHcbKqsfzR/QUA6SB7v2uIEtV7Qpw2T/UQwie+mLw5unrKqNDbggkdo onykNAzMk3jFFS4n8hVOe9KdkgWyM/ONQk0NhZdB5oLrtrwCCKyrED4DbFM0OvFd9vtNiW I/iqDEPrYSCPBByGOIQT+StEa/SDAjrzunT6UrqtUhyWXxSfVne0hJkPgz5luw== 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 9383E30F12 for ; Tue, 03 Dec 2024 14:17:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tISmA-0007rI-PT; Tue, 03 Dec 2024 08:17:14 -0500 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 1tISm9-0007ow-BX for guix-patches@gnu.org; Tue, 03 Dec 2024 08:17:13 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tISm8-0006lT-Pd for guix-patches@gnu.org; Tue, 03 Dec 2024 08:17:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=PCsqd+COx05BAddtELjjFaIk07135kHEnodgS/6Ducs=; b=N0FgnAQW/vO+vRjbdOAtaZLpVF+ZlnZCNoCnZl7XXtv4AJV2ES/vSIH11b4w46X8LDhV2bVdy0GsXtxpHeACWVFI74Cpl8OZ1I8oRo1df2ChuCouzPO3K2zRNr7cGlTKWe9Me02ZyvyxNyK7VHgXFBDErEWVg3J24I/EyioCaaBoRg9X+ASt3afXBxn+ALmjF7hQt/CjyRzDOI4+AIs0zBfOqAUCEIjzxPC4ssL5Xly6EnYGTCd85DrhRLyo7PcSqu51kEA4idrqHfyB3UcNXclkcf4UU8MjIUvSnIwM6yaxXgZeuImRGyaxMnaj2tVDGeVRXlO/coZYZEoyvTid2w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tISm8-0005vE-Jf for guix-patches@gnu.org; Tue, 03 Dec 2024 08:17:12 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#72963] [PATCH go-team v2 22/22] gnu: Add git-spice. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 Dec 2024 13:17:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72963@debbugs.gnu.org Received: via spool by 72963-submit@debbugs.gnu.org id=B72963.173323178522535 (code B ref 72963); Tue, 03 Dec 2024 13:17:12 +0000 Received: (at 72963) by debbugs.gnu.org; 3 Dec 2024 13:16:25 +0000 Received: from localhost ([127.0.0.1]:58671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tISlM-0005rK-QK for submit@debbugs.gnu.org; Tue, 03 Dec 2024 08:16:25 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:38731 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tISlA-0005mS-Q9 for 72963@debbugs.gnu.org; Tue, 03 Dec 2024 08:16:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1733231763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PCsqd+COx05BAddtELjjFaIk07135kHEnodgS/6Ducs=; b=Q5BbNXc6bXFB/sLuyB2LQIssPmJNVKR2M4d1+RYR4ltTUF3MRoCMwaqL8kzgkUfzoRbP6C gR4DgpVXb7wxMazYULJkLgKXNOZnIT+EWim2W8162M8xPglAQea7WxGevQYBCsVjAB3CFk VHymWaHkL4ze1y1aER79gufTZYJhOwJnZTZ3KYn2c3AAcQf+bRmYT8LT8BHa8FCCjJFz0Q 5x5voRWgtdJJ9fM0a9nF4elUWs0OnUNHFA/tLoNG7+2PfdAFeb1nBoSjSGlmL0FQ2uA733 mwg5CXzJK30mR4GqtDnpJFWq2PnCcJFtrdR0U9rH/bpmsyXWOwKRry/Cpvurhg== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 80869020 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <72963@debbugs.gnu.org>; Tue, 3 Dec 2024 13:16:03 +0000 (UTC) Date: Tue, 3 Dec 2024 14:15:07 +0100 Message-ID: <8ea85ae1269b6b345b217eaf5a9147810d62294a.1733231503.git.herman@rimm.ee> X-Mailer: git-send-email 2.45.2 In-Reply-To: <7c01523b8cdf9969afe5f754d943c4f056c886e0.1733231503.git.herman@rimm.ee> References: <7c01523b8cdf9969afe5f754d943c4f056c886e0.1733231503.git.herman@rimm.ee> MIME-Version: 1.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches From: Herman Rimm via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.85 X-Spam-Score: 0.85 X-Migadu-Queue-Id: 9383E30F12 X-Migadu-Scanner: mx12.migadu.com X-TUID: KNJDu4WNP5EY * gnu/packages/version-control.scm (git-spice): Add variable. --- gnu/packages/version-control.scm | 87 ++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 289b981911..c9431019f7 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -976,6 +976,93 @@ (define-public git-tools @end itemize") (license license:gpl3+))) +(define-public git-spice + (package + (name "git-spice") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/abhinav/git-spice") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0z5jjbnzyrij95fcm4qpy521fbb3mmcxhd35cl0jrlgdcs0lk2q7")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.22 + #:import-path "go.abhg.dev/gs" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-failing-tests + (lambda* (#:key tests? import-path #:allow-other-keys) + (with-directory-excursion + (string-append "src/" import-path "/testdata/script") + (for-each + delete-file + (list + "up_down_top_bottom_prompt.txt" + ;; Tests require networking. + "auth_detect_forge.txt" + "auth_explicit_forge.txt" + "auth_prompt_forge.txt" + "branch_submit_ambiguous_branch.txt" + "branch_submit_by_name.txt" + "branch_submit_create_update.txt" + "branch_submit_detect_existing.txt" + "branch_submit_long_body.txt" + "branch_submit_multiple_commits.txt" + "branch_submit_multiple_pr_templates.txt" + "branch_submit_no_publish.txt" + "branch_submit_pr_template.txt" + "branch_submit_pr_template_cache_invalidation.txt" + "branch_submit_pr_template_no_body.txt" + "branch_submit_pr_template_prompt.txt" + "branch_submit_recover_prepared.txt" + "branch_submit_remote_prompt.txt" + "branch_submit_rename.txt" + "downstack_submit.txt" + "repo_sync_detached_head.txt" + "repo_sync_detect_externally_created_prs.txt" + "repo_sync_external_pr_head_mismatch.txt" + "repo_sync_manual_pull_merged_pr.txt" + "repo_sync_merged_pr.txt" + "repo_sync_trunk_dirty_tree.txt" + "repo_sync_trunk_no_prs.txt" + "repo_sync_unpushed_commits.txt" + "stack_submit.txt" + "stack_submit_update_leave_draft.txt" + "upstack_submit_main.txt")))))))) + (propagated-inputs (list go-pgregory-net-rapid + go-gopkg-in-yaml-v3 + go-gopkg-in-dnaeon-go-vcr-v3-recorder + go-golang-org-x-oauth2 + go-go-uber-org-mock + go-go-abhg-dev-requiredfield + go-github-com-zalando-go-keyring + go-github-com-vito-midterm + go-github-com-stretchr-testify + go-github-com-shurcool-githubv4 + go-github-com-rogpeppe-go-internal + go-github-com-mattn-go-isatty + go-github-com-dustin-go-humanize + go-github-com-creack-pty-v2 + go-github-com-charmbracelet-log + go-github-com-charmbracelet-lipgloss + go-github-com-charmbracelet-bubbletea + go-github-com-charmbracelet-bubbles + go-github-com-buildkite-shellwords + go-github-com-alecthomas-kong)) + (native-inputs (list git-minimal)) + (home-page "https://go.abhg.dev/gs") + (synopsis "Manage stacks of Git branches") + (description + "git-spice (gs) is a command line tool for stacking Git branches.") + (license license:gpl3))) + (define-public got (package (name "got") -- 2.45.2