guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ed682266f229fafd45b3bfd1dc7a0dd59822dccb
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Feb 5 23:41:07 2026 +0000
gnu: go-gitlab-com-gitlab-org-api-client-go: Update to 1.28.0.
* gnu/packages/golang-web.scm (go-gitlab-com-gitlab-org-api-client-go):
Update to 1.28.0.
[arguments] <tests?, test-flags>: Disable for now.
<phases>: Add 'remove-examples.
[propagated-inputs]: Add go-github-com-makenowjust-heredoc-v2,
go-github-com-zalando-go-keyring, go-google-golang-org-protobuf, and
go-gopkg-in-yaml-v3.
Change-Id: I9d8d43000d1174aadae5135563c8f1671cfe7bd1
---
gnu/packages/golang-web.scm | 49 ++++++++++++++++++++-------------------------
1 file changed, 22 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 96109e7007..09eb329297 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -14542,7 +14542,7 @@ https://openid.net/developers/how-connect-works/}.")
(define-public go-gitlab-com-gitlab-org-api-client-go
(package
(name "go-gitlab-com-gitlab-org-api-client-go")
- (version "0.130.1")
+ (version "1.28.0")
(source
(origin
(method git-fetch)
@@ -14551,43 +14551,38 @@ https://openid.net/developers/how-connect-works/}.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "06bnaja7b0q2wgznqg9rz7kdx5wq70hmdn9ymf2546svwibmz4vk"))))
+ (base32 "0n6grsvc39w879jmwfx86y1w8harhbykzdx8sq7slvwvhj5kjzvj"))))
(build-system go-build-system)
(arguments
(list
+ ;; TODO: Try to enable complete test suite, most of them SIGSEGV trying
+ ;; to setup HTTP client.
+ #:tests? #f
#:import-path "gitlab.com/gitlab-org/api/client-go"
- #:test-flags
- #~(list "-skip"
- (string-join
- ;; Tests requir network access.
- (list "TestGetMergeRequest"
- "TestPagination_Scan2"
- "TestPagination_Scan2_Error"
- "TestPagination_ScanAndCollect"
- "TestPagination_Scan_Error"
- "TestPagination_Scan_KeysetBased"
- "TestPagination_Scan_OffsetBased"
- "TestRepositoryFilesService_CreateFile"
- "TestRepositoryFilesService_DeleteFile"
- "TestRepositoryFilesService_GetFile"
- "TestRepositoryFilesService_GetFileBlame"
- "TestRepositoryFilesService_GetFileMetaData"
- "TestRepositoryFilesService_GetRawFile"
- "TestRepositoryFilesService_GetRawFileMetaData"
- "TestRepositoryFilesService_UpdateFile"
- "TestRepositorySubmodulesService_UpdateSubmodule"
- "TestTagsService_GetTagSignature"
- "TestUpdateRepositoryEnvironmentsEscapesURL")
- "|"))))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file-recursively "config/examples")))))))
(native-inputs
(list go-github-com-stretchr-testify
go-go-uber-org-mock))
(propagated-inputs
- (list go-github-com-google-go-querystring
+ ;; XXX: Packaging of buf is quite complex is it requires buf to produce
+ ;; buf modules, see: <https://codeberg.org/guix/guix/pulls/2572>.
+ (list ;; go-buf-build-gen-go-bufbuild-protovalidate-protocolbuffers-go
+ ;; go-buf-build-go-protovalidate
+ ;; go-buf-build-go-protoyaml
+ go-github-com-google-go-querystring
go-github-com-hashicorp-go-cleanhttp
go-github-com-hashicorp-go-retryablehttp
+ go-github-com-makenowjust-heredoc-v2
+ go-github-com-zalando-go-keyring
go-golang-org-x-oauth2
- go-golang-org-x-time))
+ go-golang-org-x-time
+ go-google-golang-org-protobuf
+ go-gopkg-in-yaml-v3))
(home-page "https://gitlab.com/gitlab-org/api/client-go")
(synopsis "GitLab client for Golang")
(description