all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 72963@debbugs.gnu.org
Subject: [bug#72963] [PATCH go-team 30/30] gnu: Add git-spice.
Date: Mon,  2 Sep 2024 14:18:38 +0200	[thread overview]
Message-ID: <20240902121843.31430-29-herman@rimm.ee> (raw)
In-Reply-To: <20240902121843.31430-1-herman@rimm.ee>

* gnu/packages/version-control.scm (git-spice): Add variable.
---
 gnu/packages/version-control.scm | 89 ++++++++++++++++++++++++++++++++
 1 file changed, 89 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 9f67237d5d..b141e55137 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -877,6 +877,95 @@ (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
+                      ;; 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))
+    (inputs (list go-github-com-rogpeppe-go-internal-diff
+                  go-github-com-rogpeppe-go-internal-testscript
+                  go-github-com-rogpeppe-go-internal-internal-misspell))
+    (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 xdiff
   (let ((revision "0")
         (commit "a137bc7ee6c76618ed1737c257548eaa10ac0089"))
-- 
2.45.2





      parent reply	other threads:[~2024-09-02 12:21 UTC|newest]

Thread overview: 30+ 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   ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240902121843.31430-29-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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.