From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 72963@debbugs.gnu.org
Subject: [bug#72963] [PATCH go-team v2 22/22] gnu: Add git-spice.
Date: Tue, 3 Dec 2024 14:15:07 +0100 [thread overview]
Message-ID: <8ea85ae1269b6b345b217eaf5a9147810d62294a.1733231503.git.herman@rimm.ee> (raw)
In-Reply-To: <7c01523b8cdf9969afe5f754d943c4f056c886e0.1733231503.git.herman@rimm.ee>
* 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
prev parent reply other threads:[~2024-12-03 13:17 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-02 11:55 [bug#72963] [PATCH go-team 01/30] gnu: Add go-github-com-buildkite-shellwords Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 02/30] gnu: Add go-github-com-sebdah-goldie-v2 Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 03/30] gnu: Add go-github-com-atotto-clipboard Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 04/30] gnu: Add go-github-com-creack-pty-v2 Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 05/30] gnu: Add go-github-com-charmbracelet-x-ansi Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 06/30] gnu: Add go-github-com-aymanbagabas-go-udiff Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 07/30] gnu: Add go-github-com-charmbracelet-lipgloss Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 08/30] gnu: Add go-github-com-shurcool-graphql Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 09/30] gnu: Add go-github-com-shurcool-githubv4 Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 10/30] gnu: Add go-github-com-charmbracelet-log Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 11/30] gnu: Add go-github-com-vito-midterm Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 12/30] gnu: Add go-go-abhg-dev-requiredfield Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 13/30] gnu: Add go-gopkg-in-dnaeon-go-vcr-v3-recorder Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 14/30] gnu: Add go-github-com-kylelemons-godebug-pretty Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 15/30] gnu: Add go-github-com-sahilm-fuzzy Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 16/30] gnu: Add go-github-com-charmbracelet-bubbles Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 17/30] gnu: Add go-inputs procedure Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 18/30] gnu: Add go-github-com-erikgeiser-coninput Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 19/30] gnu: Add go-github-com-charmbracelet-x-windows Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 20/30] gnu: Add go-github-com-charmbracelet-x-input Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 21/30] gnu: Add go-github-com-charmbracelet-x-term Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 22/30] gnu: Add go-golang-org-x-text-transform Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 23/30] gnu: Add go-github-com-mattn-go-localereader Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 24/30] gnu: Add go-github-com-rogpeppe-go-internal-internal-misspell Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 25/30] gnu: Add go-github-com-rogpeppe-go-internal-testscript Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 26/30] gnu: Add go-github-com-rogpeppe-go-internal-diff Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 27/30] gnu: Add go-github-com-muesli-ansi Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 28/30] gnu: Add go-github-com-muesli-cancelreader Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 29/30] gnu: go-github-com-charmbracelet-bubbletea: Update to 0.26.6 Herman Rimm via Guix-patches via
2024-09-02 12:18 ` [bug#72963] [PATCH go-team 30/30] gnu: Add git-spice Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 01/22] gnu: Add go-github-com-buildkite-shellwords Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 02/22] gnu: Add go-github-com-sebdah-goldie-v2 Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 03/22] gnu: Add go-github-com-creack-pty-v2 Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 04/22] gnu: Add go-github-com-charmbracelet-x-ansi Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 05/22] gnu: Add go-github-com-charmbracelet-lipgloss Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 06/22] gnu: Add go-github-com-shurcool-graphql Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 07/22] gnu: Add go-github-com-shurcool-githubv4 Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 08/22] gnu: Add go-github-com-charmbracelet-log Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 09/22] gnu: Add go-github-com-vito-midterm Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 10/22] gnu: Add go-go-abhg-dev-requiredfield Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 11/22] gnu: Add go-gopkg-in-dnaeon-go-vcr-v3-recorder Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 12/22] gnu: Add go-github-com-charmbracelet-bubbles Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 13/22] gnu: Add go-inputs procedure Herman Rimm via Guix-patches via
2024-12-03 13:14 ` [bug#72963] [PATCH go-team v2 14/22] gnu: Add go-github-com-erikgeiser-coninput Herman Rimm via Guix-patches via
2024-12-03 13:15 ` [bug#72963] [PATCH go-team v2 15/22] gnu: Add go-github-com-charmbracelet-x-windows Herman Rimm via Guix-patches via
2024-12-03 13:15 ` [bug#72963] [PATCH go-team v2 16/22] gnu: Add go-github-com-charmbracelet-x-input Herman Rimm via Guix-patches via
2024-12-03 13:15 ` [bug#72963] [PATCH go-team v2 17/22] gnu: Add go-github-com-charmbracelet-x-term Herman Rimm via Guix-patches via
2024-12-03 13:15 ` [bug#72963] [PATCH go-team v2 18/22] gnu: Add go-github-com-mattn-go-localereader Herman Rimm via Guix-patches via
2024-12-03 13:15 ` [bug#72963] [PATCH go-team v2 19/22] gnu: Add go-github-com-rogpeppe-go-internal-testscript Herman Rimm via Guix-patches via
2024-12-03 13:15 ` [bug#72963] [PATCH go-team v2 20/22] gnu: Add go-github-com-muesli-ansi Herman Rimm via Guix-patches via
2024-12-03 13:15 ` [bug#72963] [PATCH go-team v2 21/22] gnu: Add go-github-com-muesli-cancelreader Herman Rimm via Guix-patches via
2024-12-03 13:15 ` Herman Rimm via Guix-patches via [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8ea85ae1269b6b345b217eaf5a9147810d62294a.1733231503.git.herman@rimm.ee \
--to=guix-patches@gnu.org \
--cc=72963@debbugs.gnu.org \
--cc=herman@rimm.ee \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).