unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: poptsov.artyom@gmail.com (Artyom V. Poptsov)
Cc: 51998-done@debbugs.gnu.org
Subject: bug#51998: [PATCH] gnu: Add guile-gitlab
Date: Sun, 28 Nov 2021 11:04:29 +0100	[thread overview]
Message-ID: <87mtlor3yq.fsf@gnu.org> (raw)
In-Reply-To: <87zgppifrm.fsf@gmail.com> (Artyom V. Poptsov's message of "Sat,  27 Nov 2021 22:02:05 +0300")


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




  reply	other threads:[~2021-11-28 10:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-20 14:13 [bug#51998] [PATCH] gnu: Add guile-gitlab Artyom V. Poptsov
2021-11-25 11:28 ` Mathieu Othacehe
2021-11-26 19:20   ` Artyom V. Poptsov
2021-11-27 11:21     ` Mathieu Othacehe
2021-11-27 19:02       ` Artyom V. Poptsov
2021-11-28 10:04         ` Mathieu Othacehe [this message]
2021-11-28 18:07           ` Artyom V. Poptsov
2021-11-28 21:36             ` Mathieu Othacehe

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87mtlor3yq.fsf@gnu.org \
    --to=othacehe@gnu.org \
    --cc=51998-done@debbugs.gnu.org \
    --cc=poptsov.artyom@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).