[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
175/224: gnu: git-spice: Update to 0.11.0.
From: |
guix-commits |
Subject: |
175/224: gnu: git-spice: Update to 0.11.0. |
Date: |
Fri, 21 Mar 2025 17:16:24 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit ef8a6403d45d77a67b82db189789f7e2ffbece47
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Feb 26 10:51:21 2025 +0000
gnu: git-spice: Update to 0.11.0.
* gnu/packages/version-control.scm (git-spice): Update to 0.11.0.
[arguments] <go>: Use go-1.24.
<build-flags>: Set version.
<test-flags>: Match all similar failing tests by regexp to reduce the
list length.
<phases>: Add 'install-shell-completion.
[native-inputs]: Remove go-github-com-rogpeppe-go-internal,
go-github-com-xanzy-go-gitlab, and go-go-abhg-dev-requiredfield; add
go-github-com-rogpeppe-go-internal-1.14,
go-gitlab-com-gitlab-org-api-client-go, and go-go-abhg-dev-io-ioutil.
Change-Id: I00b8afaa40802dbef4403ff32fe6af135e39be0e
---
gnu/packages/version-control.scm | 109 +++++++++++++++++++--------------------
1 file changed, 53 insertions(+), 56 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index dcbfc13096..30825c9cad 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1062,7 +1062,7 @@ the date of the most recent commit that modified them
(define-public git-spice
(package
(name "git-spice")
- (version "0.9.0")
+ (version "0.11.0")
(source
(origin
(method git-fetch)
@@ -1071,76 +1071,73 @@ the date of the most recent commit that modified them
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1yvnd5a3ql905jrxh0sq9sdcfmyq38fsbqx0zbhxbd4rgs8hv5s3"))))
+ (base32 "0fgdi0gmax808aazmzl75wny2klfcz5gbs8v82zhifgiza01xzqy"))))
(build-system go-build-system)
(arguments
(list
- #:go go-1.23
+ #:go go-1.24
#:import-path "go.abhg.dev/gs"
#:install-source? #f
+ #:build-flags
+ #~(list (string-append "-ldflags=-X main._version=" #$version))
#:test-flags
#~(list "-skip"
(string-join
- ;; XXX: Tests failing with various reasons; requiring
+ ;; XXX: Tests failing with various reasons: requiring
;; networking config or write access, or outbound access, check
;; if some of them may be fixed.
- (list "TestDeviceFlowAuthenticator"
+ (list "TestAuthenticationFlow_PAT/pat"
+ "TestDeviceFlowAuthenticator"
"TestScript/auth_detect_forge"
"TestScript/auth_explicit_forge"
"TestScript/auth_insecure_storage"
"TestScript/auth_prompt_forge"
+ "TestScript/branch_create_below_with_downstack_history"
+ "TestScript/branch_create_no_verify"
+ "TestScript/branch_onto_two_stacks_with_downstack_history"
"TestScript/branch_split_reassign_submitted"
- "TestScript/branch_submit_ambiguous_branch"
- "TestScript/branch_submit_by_name"
- "TestScript/branch_submit_config_no_publish"
- "TestScript/branch_submit_create_update"
- "TestScript/branch_submit_detect_existing"
- "TestScript/branch_submit_detect_existing_conflict"
- "TestScript/branch_submit_detect_existing_upstream_name"
- "TestScript/branch_submit_force_push"
- "TestScript/branch_submit_long_body"
- "TestScript/branch_submit_many_upstream_names_taken"
- "TestScript/branch_submit_multiple_commits"
- "TestScript/branch_submit_multiple_pr_templates"
- "TestScript/branch_submit_navigation_.*_out_multiple"
- "TestScript/branch_submit_needs_restack"
- "TestScript/branch_submit_no_editor"
- "TestScript/branch_submit_no_publish"
- "TestScript/branch_submit_pr_template"
- "TestScript/branch_submit_pr_template_cache_invalidation"
- "TestScript/branch_submit_pr_template_no_body"
- "TestScript/branch_submit_pr_template_prompt"
- "TestScript/branch_submit_recover_prepared"
- "TestScript/branch_submit_remote_prompt"
- "TestScript/branch_submit_rename"
- "TestScript/branch_submit_rename_base"
- "TestScript/branch_submit_update_pr_is_closed"
- "TestScript/branch_submit_update_pr_is_merged"
- "TestScript/branch_submit_upstream_name"
- "TestScript/branch_submit_upstream_name_wrong_remote"
- "TestScript/branch_submit_use_git_editor"
- "TestScript/branch_submit_web"
- "TestScript/branch_submit_web_opt_out"
+ "TestScript/branch_submit_.*"
+ "TestScript/commit_amend_no_verify"
+ "TestScript/commit_create_no_verify"
+ "TestScript/commit_split_no_verify"
"TestScript/downstack_submit"
- "TestScript/issue369_branch_.*_case_insensitive"
- "TestScript/issue369_branch_.*_remote_update"
+ "TestScript/issue369_branch_submit_pr_template_cache_.*"
"TestScript/issue398_repo_sync_many_merged"
- "TestScript/repo_sync_after_merging_renamed_branch"
- "TestScript/repo_sync_detached_head"
- "TestScript/repo_sync_detect_externally_created_prs"
- "TestScript/repo_sync_external_pr_head_mismatch"
- "TestScript/repo_sync_manual_pull_merged_pr"
- "TestScript/repo_sync_merged_pr"
- "TestScript/repo_sync_remote_already_deleted"
- "TestScript/repo_sync_restack"
- "TestScript/repo_sync_trunk_dirty_tree"
- "TestScript/repo_sync_trunk_no_prs"
- "TestScript/repo_sync_unpushed_commits"
+ "TestScript/repo_sync_.*"
+ "TestScript/stack_edit_inserted_at_bottom_with_.*"
"TestScript/stack_submit"
- "TestScript/stack_submit_update_leave_draft"
- "TestScript/stack_submit_web"
- "TestScript/upstack_submit_main")
- "|"))))
+ "TestScript/stack_submit_.*"
+ "TestScript/submit_update_only"
+ "TestScript/upstack_submit_main"
+ "TestSelectAuthenticator/oauth"
+ "TestSelectAuthenticator/oauth_public")
+ "|"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-shell-completion
+ (lambda _
+ (let* ((out #$output)
+ (share (string-append out "/share"))
+ (gs (string-append out "/bin/gs"))
+ (bash-completions-dir
+ (string-append out "/etc/bash_completion.d/"))
+ (fish-completions-dir
+ (string-append share "/fish/vendor_completions.d"))
+ (zsh-completions-dir
+ (string-append share "/zsh/site-functions")))
+ (for-each mkdir-p
+ (list bash-completions-dir
+ fish-completions-dir
+ zsh-completions-dir))
+ (with-output-to-file
+ (string-append bash-completions-dir "/gs")
+ (lambda _ (invoke gs "shell" "completion" "bash")))
+ (with-output-to-file
+ (string-append fish-completions-dir "/gs.fish")
+ (lambda _ (invoke gs "shell" "completion" "fish")))
+ (with-output-to-file
+ (string-append zsh-completions-dir "/_gs")
+ (lambda _ (invoke gs "shell" "completion" "zsh")))))))))
(native-inputs
(list git-minimal ; for tests in testdata/scripts
go-github-com-alecthomas-kong
@@ -1153,16 +1150,16 @@ the date of the most recent commit that modified them
go-github-com-creack-pty
go-github-com-dustin-go-humanize
go-github-com-mattn-go-isatty
- go-github-com-rogpeppe-go-internal
+ go-github-com-rogpeppe-go-internal-1.14
go-github-com-sahilm-fuzzy
go-github-com-shurcool-githubv4
go-github-com-stretchr-testify
go-github-com-tidwall-gjson
go-github-com-vito-midterm
- go-github-com-xanzy-go-gitlab
go-github-com-zalando-go-keyring
+ go-gitlab-com-gitlab-org-api-client-go
+ go-go-abhg-dev-io-ioutil
go-go-abhg-dev-komplete
- go-go-abhg-dev-requiredfield
go-go-abhg-dev-testing-stub
go-go-uber-org-mock
go-golang-org-x-oauth2
- 215/224: gnu: kubo: Fix build., (continued)
- 215/224: gnu: kubo: Fix build., guix-commits, 2025/03/21
- 189/224: gnu: go-github-com-pion-sdp-v3: Update to 3.0.10., guix-commits, 2025/03/21
- 191/224: gnu: go-github-com-libp2p-go-yamux-v4: Update to 4.0.2., guix-commits, 2025/03/21
- 211/224: gnu: Add go-github-com-rwcarlsen-goexif., guix-commits, 2025/03/21
- 204/224: gnu: Add go-github-com-ipfs-boxo., guix-commits, 2025/03/21
- 207/224: gnu: Add go-github-com-texttheater-golang-levenshtein., guix-commits, 2025/03/21
- 202/224: gnu: Add go-go-opentelemetry-io-otel-metric., guix-commits, 2025/03/21
- 206/224: gnu: Add go-github-com-libp2p-go-libp2p-kad-dht., guix-commits, 2025/03/21
- 197/224: gnu: Add go-github-com-libp2p-go-yamux-v5., guix-commits, 2025/03/21
- 186/224: gnu: go-github-com-pion-interceptor: Update to 0.1.37., guix-commits, 2025/03/21
- 175/224: gnu: git-spice: Update to 0.11.0.,
guix-commits <=
- 219/224: gnu: go-github-com-cskr-pubsub: Fix tests., guix-commits, 2025/03/21
- 216/224: gnu: go-github-com-ipfs-go-peertaskqueue: Adjust inputs., guix-commits, 2025/03/21
- 192/224: gnu: go-github-com-pion-turn: Enable tests., guix-commits, 2025/03/21
- 209/224: gnu: Add go-github-com-ipfs-shipyard-nopfs., guix-commits, 2025/03/21
- 188/224: gnu: go-github-com-pion-sctp: Update to 1.8.36., guix-commits, 2025/03/21
- 115/224: gnu: go-github-com-yookoala-realpath: Move to golang-xyz., guix-commits, 2025/03/21
- 148/224: gnu: git-lfs: Update to 3.6.1., guix-commits, 2025/03/21
- 145/224: gnu: go-github-com-alecthomas-kingpin-v2: Do not inherit., guix-commits, 2025/03/21
- 155/224: gnu: Add go-github-com-miekg-pkcs11., guix-commits, 2025/03/21
- 171/224: gnu: Add go-go-abhg-dev-io-ioutil., guix-commits, 2025/03/21