[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51998: [PATCH] gnu: Add guile-gitlab
From: |
Mathieu Othacehe |
Subject: |
bug#51998: [PATCH] gnu: Add guile-gitlab |
Date: |
Sun, 28 Nov 2021 11:04:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello Artyom,
I edited a bit the package definition:
* Added bash-minimal to the inputs as suggested by "guix lint".
* Moved guile-lib to the inputs.
* Added json and tls to the wrap so that they can always be found.
* Wrapped a few lines.
and pushed as a0352562505cfced63ca415e2bb4cbce29f7fc35.
Note that I also have the following error on two different Gitlab
servers:
--8<---------------cut here---------------start------------->8---
mathieu@meije ~/guix [env]$ gitlab-cli project list --token "xxx" --server
"https://gitlab.com"
Backtrace:
4 (apply-smob/1 #<catch-closure 7fc671915920>)
In ice-9/boot-9.scm:
705:2 3 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
619:8 2 (_ #(#(#<directory (guile-user) 7fc6715ad140>)))
In gitlab/cli/project.scm:
116:19 1 (gitlab-cli-project/list _ _)
In gitlab/api/common.scm:
74:21 0 (api-get #<<session> 7fc6715e2cf0> "/api/v4/projects" # ?)
gitlab/api/common.scm:74:21: In procedure api-get:
In procedure vector-length: Wrong type argument in position 1 (expecting
vector): (#<hash-table 7fc67039eda0 91/113> #<hash-table 7fc67067e060
91/113> #<hash-table 7fc67032a8e0 91/113> #<hash-table 7fc670376e20
91/113> #<hash-table 7fc67039062 ...
--8<---------------cut here---------------end--------------->8---
Are you expecting a specific Gitlab revision or the error is elsewhere?
Thanks,
Mathieu