--- Begin Message ---
Subject: |
[PATCH] gnu: Add guile-gitlab |
Date: |
Sat, 20 Nov 2021 17:13:20 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello Guixers,
here's my first patch for GNU Guix that adds Guile-GitLab[1] -- my Guile
module that allows to interact with GitLab Community Edition REST API
and provides a useful tool for that.
Thanks,
- avp
1. https://github.com/artyom-poptsov/guile-gitlab
0001-gnu-Add-guile-gitlab.patch
Description: Text Data
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: 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
--- End Message ---