From unknown Tue Jun 17 20:14:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#51998 <51998@debbugs.gnu.org> To: bug#51998 <51998@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add guile-gitlab Reply-To: bug#51998 <51998@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:14:10 +0000 retitle 51998 [PATCH] gnu: Add guile-gitlab reassign 51998 guix-patches submitter 51998 poptsov.artyom@gmail.com (Artyom V. Poptsov) severity 51998 normal tag 51998 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 20 09:13:37 2021 Received: (at submit) by debbugs.gnu.org; 20 Nov 2021 14:13:37 +0000 Received: from localhost ([127.0.0.1]:42002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moR7U-0006ou-HX for submit@debbugs.gnu.org; Sat, 20 Nov 2021 09:13:36 -0500 Received: from lists.gnu.org ([209.51.188.17]:56594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moR7S-0006om-N4 for submit@debbugs.gnu.org; Sat, 20 Nov 2021 09:13:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moR7S-0004iq-Hh for guix-patches@gnu.org; Sat, 20 Nov 2021 09:13:30 -0500 Received: from [2a00:1450:4864:20::12d] (port=42809 helo=mail-lf1-x12d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moR7Q-0001fD-Ei for guix-patches@gnu.org; Sat, 20 Nov 2021 09:13:30 -0500 Received: by mail-lf1-x12d.google.com with SMTP id t26so57071590lfk.9 for ; Sat, 20 Nov 2021 06:13:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=+xWcXhSHzx+13Y0SBYR2XPUlp5YvfJ2hHJ7uTRyOczw=; b=C/+RUQgZhT/lJhIkw0qmMtF9qdIWCEjbx9qwBnRrJUUmMdvwFq2DQjyGwuKVtSuE/G zZmuFR7U1TWPQYnN+fXmgx3RFCUvxCZ7WngFwQdC+b/pt0bTs/mb91utf6rVDAczdOfB 3w4yo1cTldN5qwisB/gfinC7g0dY8q8LBsETKLSB/SsMXGn5Rve4QrVu9sFwZ1U0BWVx CBVFFGjHvDxfX4or3ZgIzPHfxnIRy0Pqn6uqL3ar0iE3SHRF4o+HItLIQhMuzf9Ujg/H gszbEaj63+FphsMXvoFhbv8P6Op4EKtkuX37pFy80kvucnoEf3dlRrEXyVZiPLxdmbmu 3S9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=+xWcXhSHzx+13Y0SBYR2XPUlp5YvfJ2hHJ7uTRyOczw=; b=AWUSJMxI3OIm68qFxrnTaBtzYsM9Y/xAskXCURafFVH02I2aDLcqy+4qIqozF3w5gq Vm56ZenY3wynD+0D3MRRvx2O5LXZACvhJ+ANs8iVJglWQmhGQ1oCnqZxQ6gEIO1F6JWO 3hqfYnjw3A6Ya6BZV6i4qfT8OCHd5p7+2ppEsoWbCAphw8pHfzKLCnuuJQgSK8HzFKN2 Te7AoD5C6GEh/8muubAqMD6hoSRqLXWfxBxhMWkS/5+OMx++SD6veM3fbxk9KuWPyNXV 2FqdgShT81ruVbgOpioq1VJSogXtcu5vzyzK/jvvZ1a30ixH6KmiFmHHS2BCACDv/bNE UfKA== X-Gm-Message-State: AOAM532AzHKwlhShRxxWGRz/ZasQY3dRMXggch72A+vI87/U5cOnpRbf KpIBsdkyA5V8N3fxa78l51qxUPxPf18= X-Google-Smtp-Source: ABdhPJwHBlDE/+Gx+NQu4use1jCjxMJoOadJERp5Y67DfvKlvTES9l7uUEc05yW8N4fp/RzSWKq+mg== X-Received: by 2002:ac2:58c3:: with SMTP id u3mr41082924lfo.103.1637417606218; Sat, 20 Nov 2021 06:13:26 -0800 (PST) Received: from elephant ([5.164.193.196]) by smtp.gmail.com with ESMTPSA id j18sm387142lfg.60.2021.11.20.06.13.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Nov 2021 06:13:25 -0800 (PST) From: poptsov.artyom@gmail.com (Artyom V. Poptsov) To: guix-patches@gnu.org Subject: [PATCH] gnu: Add guile-gitlab Date: Sat, 20 Nov 2021 17:13:20 +0300 Message-ID: <87ilwmzzi7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-guile-gitlab.patch Content-Transfer-Encoding: quoted-printable From=206702a25439e480b45432915f68b64f7177c53fa0 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 20 Nov 2021 15:32:10 +0300 Subject: [PATCH] gnu: Add guile-gitlab * gnu/packages/guile-xyz.scm (guile-gitlab): Add new package. =2D-- gnu/packages/guile-xyz.scm | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 628d81710a..65e30c2618 100644 =2D-- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -38,6 +38,7 @@ ;;; Copyright =C2=A9 2021 Leo Le Bouter ;;; Copyright =C2=A9 2021 Zelphir Kaltstahl ;;; Copyright =C2=A9 2021 Oleg Pykhalov +;;; Copyright =C2=A9 2021 Artyom V. Poptsov ;;; ;;; This file is part of GNU Guix. ;;; @@ -4795,3 +4796,49 @@ It provides a generic library for writing implementa= tions of a netlink protocol, a low-level rtnetlink implementation that uses that library and a high-level API for network management that uses rtnetlink.") (license license:gpl3+))) + +(define-public guile-gitlab + (package + (name "guile-gitlab") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/artyom-poptsov/guile-gitlab.git") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1vpwwnxxglla8ci9mz6smm3nyqvdz2k082qyrp36ad14v9y70l86")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config) + ("texinfo" ,texinfo))) + (inputs `(("guile" ,guile-2.2) + ("guile-json" ,guile-json-1) + ("guile-gnutls" ,guile2.2-gnutls))) + (propagated-inputs `(("guile-lib" ,guile2.2-lib))) + (arguments + '(#:phases (modify-phases %standard-phases + (add-before 'configure 'set-guilesitedir + (let ((files (find-files "." "Makefile.in"))) + (lambda _ + (substitute* files + (("^guilesitedir =3D.*$") + "guilesitedir =3D \ +$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n")) + #t))) + (add-after 'unpack 'autoreconf + (lambda _ + (zero? (system* "autoreconf" "-vfi"))))))) + (home-page "https://github.com/artyom-poptsov/guile-gitlab") + (synopsis "GitLab module for Guile") + (description + "GNU Guile interface to GitLab Community Edition REST API. + +This package provides @samp{gitlab-cli} command line tool for interacting = with +a GitLab instance.") + (license license:gpl3))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Artyom "avp" Poptsov 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 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmGZAoAACgkQ6cWi2QiY oC+DyQf+KpCNakCe4P4vwStyEsnAYq9JAg2ZX0wcg/i0g9EtfMf++ZFhgbJl4Mj4 ztnTnO/0IVTbth7wvoS0Ii5YdbcLcXLo604C9gZ1BjQursc0LjGTTRO1Fgnpb82A ZnDsPFKXQ5zlYBB5SOKynEUNuIqR00xX4XOAJuqsegJ66vQzQTV2EK9b/+HG3V05 Y6OyvxjcUIrBdQqIAm+uhzoCSgBuccr+K2uyvtVtb84i+pETlv+zX3vQcgqnqSvw 5cWuaGdLmWCdRqitbIXqkHERIxq8WZOMIp21SWVVjH6+TXlc4VZLt7ASaTRgr0p0 E8LXG8hJRiZ3+R2Tyq4q0B3Y0x/ttw== =5Bqm -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 25 06:29:09 2021 Received: (at 51998) by debbugs.gnu.org; 25 Nov 2021 11:29:09 +0000 Received: from localhost ([127.0.0.1]:55996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqCw8-0002Du-Fy for submit@debbugs.gnu.org; Thu, 25 Nov 2021 06:29:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqCw6-0002Cb-NV for 51998@debbugs.gnu.org; Thu, 25 Nov 2021 06:29:07 -0500 Received: from [2001:470:142:3::e] (port=37870 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqCw1-0006w6-Fy; Thu, 25 Nov 2021 06:29:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=4aLZ6z8r7+sybMb9UUWaB58oyMTATVLMRmk6LdB/hCI=; b=IOMWRRyud9cqI79dR/Dw Ipfs9xcYub+ndoY9Bh6PlS39skGowNst8hQ5SzGys+Pj4UqIU8OfXJ5aLHEQe3/Lmc0eC8QN99yrE Q7xZ0VUW+glM9i/ykmwmAWaFBuGJxXOBjMdt4/dPZS/I1WISRNSEmL6o1MxPEDWips7M4QnZRo8fJ y6DzDnMWsVpqJz1XTx7CgatSIP9axY66kieNQQ1/orbvVo5AH0zkbf3EOk/ZPBJnl5nEeY0Vu3Y9z UbcLuAIhhH0JB4WV8mAzQKt0iV6HIj92/rHujelRJIYN/S0CGcmYPsHFY9AQ0Tw9acc2jarquer/k VaKEGXatBrrTtw==; Received: from [2a01:e0a:19b:d9a0:2ddb:d3d2:32e8:d31a] (port=57950 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqCw1-0007jg-96; Thu, 25 Nov 2021 06:29:01 -0500 From: Mathieu Othacehe To: poptsov.artyom@gmail.com (Artyom V. Poptsov) Subject: Re: bug#51998: [PATCH] gnu: Add guile-gitlab References: <87ilwmzzi7.fsf@gmail.com> Date: Thu, 25 Nov 2021 11:28:59 +0000 In-Reply-To: <87ilwmzzi7.fsf@gmail.com> (Artyom V. Poptsov's message of "Sat, 20 Nov 2021 17:13:20 +0300") Message-ID: <87h7c0mq2s.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51998 Cc: 51998@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Artyom, Thanks for this first contribution! I think that there is a small issue with the library path. The gitlab.scm files is in: --8<---------------cut here---------------start------------->8--- /gnu/store/xn0bnrh23iscxy7xsvzqffyjy4wqy1q6-guile-gitlab-0.1.0/share/guile-= gitlab/gitlab.scm --8<---------------cut here---------------end--------------->8--- whereas it should be in: --8<---------------cut here---------------start------------->8--- /gnu/store/xn0bnrh23iscxy7xsvzqffyjy4wqy1q6-guile-gitlab-0.1.0/share/guile/= site/2.2/gitlab.scm --8<---------------cut here---------------end--------------->8--- I also have the following error when running gitlab-cli: --8<---------------cut here---------------start------------->8--- 0 (scm-error misc-error #f "~A ~S" ("no code for modu=E2=80=A6" = =E2=80=A6) =E2=80=A6) ERROR: In procedure scm-error: no code for module (gitlab) --8<---------------cut here---------------end--------------->8--- that should be solved by adjusting the library path. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 26 14:20:37 2021 Received: (at 51998) by debbugs.gnu.org; 26 Nov 2021 19:20:37 +0000 Received: from localhost ([127.0.0.1]:60581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqglt-0000v0-V7 for submit@debbugs.gnu.org; Fri, 26 Nov 2021 14:20:37 -0500 Received: from mail-lf1-f54.google.com ([209.85.167.54]:39802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqgls-0000ul-Aa for 51998@debbugs.gnu.org; Fri, 26 Nov 2021 14:20:32 -0500 Received: by mail-lf1-f54.google.com with SMTP id f18so26532845lfv.6 for <51998@debbugs.gnu.org>; Fri, 26 Nov 2021 11:20:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=eBCdW0tuhww0YOjtiV6GvgddlvVN5igKhvOyDB+uG7s=; b=am4PEBcghhlw60eNT+kWwBmX579rQJixlc5KfkqjewiE/SKGrE5sdpYhMA22X6hT7C pX5XXs0uzD/SnrwJiQlK2jSOqUaqKB71cyHL0dx/qwVdDoHMeLP0Pv81vMygF0Wdy2b5 64D+zLpqj+ZNMsILCnNgZVccT5I9IBk4ei8Vm/Lz+MI1U3d2zkq+xUfCceVvD0I5DEwp K7LbTkBiZD6NFybCSqIMrx9go3MhiLSZnKp/4tVkui0ZdT3d4sjq4jTbwZKu+ei7hezE 6Q+i/9KE10L4hVYVEf7rnVGv14zKaIpkeV9b94jHi6tf6jtbEkN5BbsLU5UWRyi6Lg9E fRmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=eBCdW0tuhww0YOjtiV6GvgddlvVN5igKhvOyDB+uG7s=; b=sbqihABUjNoroUfpkE9c9VmBiguo4X46jvtVwUmrOdlNhAnumzlilebGSv9994IFw9 nPkW8EWlNoZK0QP5L+egakvTeCVOMz/l9ENQLFXqOn4ImLBkbU/HnNG2ujDLBqvlDLHT XupDxgQ+lu/X5ThpakY8Qk6d/dDM9ghE4RPa4f8Mt2MNSAL5pz9YhREFcQAN1tzrOGBt PASu9sA6hyjNfYG05LQfNSWkZxRQ9YbSP0/jsgZmPiPvy+1S3A3/S792mDbmejjnYsoX b+7mvECIcP6fEybMQMorrbZgvqzT3ZUtDEMqMGPtb9+G1H+UtDT4OObRdKMzXpzUSKsY /MgQ== X-Gm-Message-State: AOAM530ngCrVagI4uJobCVlAU0njgBiJuhYQzzTOEIZtraV+RnxKJaum MhpPd2S+YXu3i7E+0RjIyruIzrvRCI4= X-Google-Smtp-Source: ABdhPJzmvlH8DH7IuXzgSrGcqSXVcIr8PMWY2nEywxiseuY8+i7CAMowPDSpaPGwA8sg+wKQomMCDw== X-Received: by 2002:a05:6512:33ca:: with SMTP id d10mr31942833lfg.360.1637954425847; Fri, 26 Nov 2021 11:20:25 -0800 (PST) Received: from elephant ([5.164.193.196]) by smtp.gmail.com with ESMTPSA id u17sm567968lfm.279.2021.11.26.11.20.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Nov 2021 11:20:25 -0800 (PST) From: poptsov.artyom@gmail.com (Artyom V. Poptsov) To: Mathieu Othacehe Subject: Re: bug#51998: [PATCH] gnu: Add guile-gitlab References: <87ilwmzzi7.fsf@gmail.com> <87h7c0mq2s.fsf@gnu.org> Date: Fri, 26 Nov 2021 22:20:17 +0300 In-Reply-To: <87h7c0mq2s.fsf@gnu.org> (Mathieu Othacehe's message of "Thu, 25 Nov 2021 11:28:59 +0000") Message-ID: <87bl26k9la.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51998 Cc: 51998@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Mathieu, thank you for the feedback. I fixed my patch, please find the updated version attached. - Artyom --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-guile-gitlab.patch Content-Transfer-Encoding: quoted-printable From=202e53ae7cda8d704d38633636f6e602abe411498c Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 20 Nov 2021 15:32:10 +0300 Subject: [PATCH] gnu: Add guile-gitlab * gnu/packages/guile-xyz.scm (guile-gitlab): Add new package. =2D-- gnu/packages/guile-xyz.scm | 69 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 628d81710a..5aae47da1d 100644 =2D-- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -38,6 +38,7 @@ ;;; Copyright =C2=A9 2021 Leo Le Bouter ;;; Copyright =C2=A9 2021 Zelphir Kaltstahl ;;; Copyright =C2=A9 2021 Oleg Pykhalov +;;; Copyright =C2=A9 2021 Artyom V. Poptsov ;;; ;;; This file is part of GNU Guix. ;;; @@ -4795,3 +4796,71 @@ It provides a generic library for writing implementa= tions of a netlink protocol, a low-level rtnetlink implementation that uses that library and a high-level API for network management that uses rtnetlink.") (license license:gpl3+))) + +(define-public guile-gitlab + (package + (name "guile-gitlab") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/artyom-poptsov/guile-gitlab") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1vpwwnxxglla8ci9mz6smm3nyqvdz2k082qyrp36ad14v9y70l86")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests + #:modules (((guix build guile-build-system) + #:select (target-guile-effective-version)) + ,@%gnu-build-system-modules) + #:imported-modules ((guix build guile-build-system) + ,@%gnu-build-system-modules) + #:phases (modify-phases %standard-phases + (add-before 'configure 'set-guilesitedir + (lambda _ + (substitute* (find-files "." "Makefile.in") + (("^guilesitedir =3D .*$") + "guilesitedir =3D \ +$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n") + (("guilemoduledir =3D.*guile/site" all) + (string-append all "/@GUILE_EFFECTIVE_VERSION@"))) + #t)) + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (guile-lib (assoc-ref inputs "guile-lib")) + (version (target-guile-effective-version)) + (scm (string-append "/share/guile/site/" + version)) + (go (string-append "/lib/guile/" + version "/site-ccache"))) + (wrap-program (string-append bin "/gitlab-cli") + `("GUILE_LOAD_PATH" prefix + (,(string-append out scm) + ,(string-append guile-lib scm))) + `("GUILE_LOAD_COMPILED_PATH" prefix + (,(string-append out go) + ,(string-append guile-lib go))))) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config) + ("texinfo" ,texinfo))) + (inputs `(("guile" ,guile-2.2) + ("guile-json" ,guile-json-1) + ("guile-gnutls" ,guile2.2-gnutls))) + (propagated-inputs `(("guile-lib" ,guile2.2-lib))) + (home-page "https://github.com/artyom-poptsov/guile-gitlab") + (synopsis "GitLab module for Guile") + (description + "GNU Guile interface to GitLab Community Edition REST API. + +This package provides @samp{gitlab-cli} command line tool for interacting = with +a GitLab instance.") + (license license:gpl3))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Artyom "avp" Poptsov 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 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmGhM3EACgkQ6cWi2QiY oC8h5gf/Ue/4Naq+WkwoNzf6Qg/iZ3GUdF/p4zvuOVNwFNGgMeYXqlZZJUiuOCG0 dfETwYRCTxGmxFTl2F6kuTPFwNNcCraW0JIfcSdcqnSDYFWhFef8QfDV/+GAwSmS MjukXikmMYRCet35P0esQivTxtxBCyGdHAiOPm4G//y0a+wPq2GIXGLAGg5OFs+8 5T7ZSofie5AoBLUrscSbj/komQG1ehzAQQgL+AlKmKZokYhaWJGjfgjANZaW00A9 uX3Qf8FAjp0NU3POjL5/EaAJWYaKIhiFKbdUpZgTd3F5CX0PlxqnQwvjidhhP9yH c3sJGSjGq01qWgYtI+tG2YGPyKLHww== =th0w -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 27 06:21:40 2021 Received: (at 51998) by debbugs.gnu.org; 27 Nov 2021 11:21:40 +0000 Received: from localhost ([127.0.0.1]:33054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqvm0-0006RY-Go for submit@debbugs.gnu.org; Sat, 27 Nov 2021 06:21:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqvlz-0006RN-LB for 51998@debbugs.gnu.org; Sat, 27 Nov 2021 06:21:40 -0500 Received: from [2001:470:142:3::e] (port=55346 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqvlu-0005Bs-Cr; Sat, 27 Nov 2021 06:21:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=r6wAzoxrnckx6Wys58CM76ojstVbtO9AOCnRttCA7fY=; b=FtiJHbk45CWMImkArLfP x2g8xAMb2b1/8zk3TKx20KIhDvuuDwIWwqYGzXB91oki+bHpjY4VLWR6YReZhsl7QnhxOagbAtVOo AeYMjpdnUhpEX7gc9FlWGP/7mR5pGmNeBZ2dum5CrOA6ZcD6rndjE8kZFu7F6/ruzl403f4Q/QLmT 5sf0MlWsSQEjlimbMYk/yj/mx6H8LunQt1F5eEsOx/yg+wZfhtGGdlyRYElPQ54oR1kQOeVUDTz2L 3b7LYFLEZVmo4aMBCoUiRjdxDxz6JTrIZZFvVGoni+Qx0l+IWyc7QpYAZ3kkZfjU49SqXjGFDwTmQ iwRG44CBsYs0GQ==; Received: from [2a01:e0a:19b:d9a0:2ddb:d3d2:32e8:d31a] (port=43382 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqvls-0003Tg-Ah; Sat, 27 Nov 2021 06:21:34 -0500 From: Mathieu Othacehe To: poptsov.artyom@gmail.com (Artyom V. Poptsov) Subject: Re: bug#51998: [PATCH] gnu: Add guile-gitlab References: <87ilwmzzi7.fsf@gmail.com> <87h7c0mq2s.fsf@gnu.org> <87bl26k9la.fsf@gmail.com> Date: Sat, 27 Nov 2021 11:21:30 +0000 In-Reply-To: <87bl26k9la.fsf@gmail.com> (Artyom V. Poptsov's message of "Fri, 26 Nov 2021 22:20:17 +0300") Message-ID: <8735nhq1xh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51998 Cc: 51998@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) =D0=9F=D1=80=D0=B8=D0=B2=D0=B5=D1=82 =D0=90=D1=80=D1=82=D1=91=D0=BC, =D0=A1=D0=BF=D0=B0=D1=81=D0=B8=D0=B1=D0=BE =D0=B7=D0=B0 =D0=B2=D1=82=D0=BE= =D1=80=D1=83=D1=8E =D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8E. > + (substitute* (find-files "." "Makefile.in") > + (("^guilesitedir =3D .*$") > + "guilesitedir =3D \ > +$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n") > + (("guilemoduledir =3D.*guile/site" all) Any reason not to write this directly in the project Makefile.am? For instance, in Guile-Parted Makefile.am, there is: --8<---------------cut here---------------start------------->8--- include guile.am moddir=3D$(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION) godir=3D$(libdir)/guile/$(GUILE_EFFECTIVE_VERSION)/site-ccache --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 27 14:02:17 2021 Received: (at 51998) by debbugs.gnu.org; 27 Nov 2021 19:02:17 +0000 Received: from localhost ([127.0.0.1]:34542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr2xl-0004p9-2y for submit@debbugs.gnu.org; Sat, 27 Nov 2021 14:02:17 -0500 Received: from mail-lf1-f53.google.com ([209.85.167.53]:35425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr2xj-0004ou-7w for 51998@debbugs.gnu.org; Sat, 27 Nov 2021 14:02:15 -0500 Received: by mail-lf1-f53.google.com with SMTP id u3so32883644lfl.2 for <51998@debbugs.gnu.org>; Sat, 27 Nov 2021 11:02:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version; bh=zzjoYpsn+KfPiCb+YTaf9AIgV6Ezz5U366FSD6dcyWQ=; b=Cr6OU9lZXbzjvoECI9vMY1Qp39nleMDy14zysX6fGGW58vMnQA+QSJ4PvyMVUNH6Ug i97GCunnPlodujbTF3CrkLIW8wHpVbFgFL4WPw8gzK2paH3REOAp9BvNRNfbtm4c+X6g oHNdMQQHvC9YkGn3gt1aikWppfUGOLLA/MMT2DqDk13lUGnT85YwQjONOJo4EclR2SXC PEs3Dzm0zFfIUwEHQgU6V+mDAnP8rrrtL8aYTShnng1hJLdwcvSCYH8ABsjy1Zz/9/Jl 1ZWleNONnLyhHLXXMLesqurUezkdmUoYJNDCQUT3fp5CcdqiQZsPbKinz32oswEJ92EH YeDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :user-agent:mime-version; bh=zzjoYpsn+KfPiCb+YTaf9AIgV6Ezz5U366FSD6dcyWQ=; b=XA/sXSl8lq1x2Ol/2g3Qjb0nAacVcA9OMeYmQovS8wQahM2wlTS2D5TMqHt5jqaDqD oSkf5dmikwn2B9ikzj8cR/QgD1Z0JhWgGl7CjDsTbVlNIgsbWXxRYfH5FThMmG3dXe/f W0ELGqnr3E58Kad4+FxlNX1lA3P67x2aM6o6grLcz+8cN5dTfxhTfmUeqnPItqxcS/Or m/XU9wfZ0HUeVSs1SeJ7aNE5Ccts6AELWkB++FTBs66fPH2HjRt4fTfKFsCNIwVzsCp8 smJs73JpdLTww9UwCj3l4fr/RR8lln2FDjWBUppKbGbqC3xszyIHzCUZkRxRlbk4gBuz v8xA== X-Gm-Message-State: AOAM531x60niLeh/IjxdPB8L48B+isnQPSe1gPYbuHKg7q25unHGodQw eKvKaQ5+eOy3HLPi33ju5B7pWjCBISU= X-Google-Smtp-Source: ABdhPJzBQciWSjRTSd2vSfBN9YZSZYphjUNEdvcZaIslnXXpExJLXNRM1Tib/6GjtivKhyw9KM6T4Q== X-Received: by 2002:a19:d61a:: with SMTP id n26mr37168098lfg.313.1638039727758; Sat, 27 Nov 2021 11:02:07 -0800 (PST) Received: from elephant ([5.164.193.196]) by smtp.gmail.com with ESMTPSA id v14sm802575lfb.264.2021.11.27.11.02.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Nov 2021 11:02:06 -0800 (PST) From: poptsov.artyom@gmail.com (Artyom V. Poptsov) To: Mathieu Othacehe Subject: Re: bug#51998: [PATCH] gnu: Add guile-gitlab References: <87ilwmzzi7.fsf@gmail.com> <87h7c0mq2s.fsf@gnu.org> <87bl26k9la.fsf@gmail.com> <8735nhq1xh.fsf@gnu.org> Date: Sat, 27 Nov 2021 22:02:05 +0300 Message-ID: <87zgppifrm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51998 Cc: 51998@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 SGVsbG8gTWF0aGlldSwNCg0KSSBqdXN0IHJlbGVhc2VkIEd1aWxlLUdpdExhYiAwLjIuMFsxXSB3 aXRoIGZpeGVkIEF1dG90b29scyBzY3JpcHRzLiAgVGhhbmtzDQpmb3IgdGhlIGhpbnRzLCBJIGFw cHJlY2lhdGUgaXQuDQoNCkNvdWxkIHlvdSBwbGVhc2UgY2hlY2sgaWYgbXkgcGFja2FnZSBpcyBP Sz8NCg0KLSBBcnR5b20NCg0KUC5TLg0KDQo+INCh0L/QsNGB0LjQsdC+INC30LAg0LLRgtC+0YDR g9GOINCy0LXRgNGB0LjRji4NCtCi0Ysg0LfQvdCw0LXRiNGMINGA0YPRgdGB0LrQuNC5INGP0LfR i9C6Pw0KDQoxLiBodHRwczovL2dpdGh1Yi5jb20vYXJ0eW9tLXBvcHRzb3YvZ3VpbGUtZ2l0bGFi L3JlbGVhc2VzL3RhZy92MC4yLjANCg== --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-guile-gitlab.patch Content-Transfer-Encoding: quoted-printable From=20146fb0e85382ba58e324af99b4bef39a261c0da0 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 20 Nov 2021 15:32:10 +0300 Subject: [PATCH] gnu: Add guile-gitlab * gnu/packages/guile-xyz.scm (guile-gitlab): Add new package. =2D-- gnu/packages/guile-xyz.scm | 61 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 628d81710a..841fd49f18 100644 =2D-- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -38,6 +38,7 @@ ;;; Copyright =C2=A9 2021 Leo Le Bouter ;;; Copyright =C2=A9 2021 Zelphir Kaltstahl ;;; Copyright =C2=A9 2021 Oleg Pykhalov +;;; Copyright =C2=A9 2021 Artyom V. Poptsov ;;; ;;; This file is part of GNU Guix. ;;; @@ -4795,3 +4796,63 @@ It provides a generic library for writing implementa= tions of a netlink protocol, a low-level rtnetlink implementation that uses that library and a high-level API for network management that uses rtnetlink.") (license license:gpl3+))) + +(define-public guile-gitlab + (package + (name "guile-gitlab") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/artyom-poptsov/guile-gitlab") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "1yq8w507vw9n7f626sbnsk8prsdk337d6acr7f9k3j500lhlvxj5")))) + (build-system gnu-build-system) + (arguments + `(#:modules (((guix build guile-build-system) + #:select (target-guile-effective-version)) + ,@%gnu-build-system-modules) + #:imported-modules ((guix build guile-build-system) + ,@%gnu-build-system-modules) + #:phases (modify-phases %standard-phases + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (guile-lib (assoc-ref inputs "guile-lib")) + (version (target-guile-effective-version)) + (scm (string-append "/share/guile/site/" + version)) + (go (string-append "/lib/guile/" + version "/site-cca= che"))) + (wrap-program (string-append bin "/gitlab-cli") + `("GUILE_LOAD_PATH" prefix + (,(string-append out scm) + ,(string-append guile-lib scm))) + `("GUILE_LOAD_COMPILED_PATH" prefix + (,(string-append out go) + ,(string-append guile-lib go))))) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("pkg-config" ,pkg-config) + ("texinfo" ,texinfo))) + (inputs + `(("guile" ,guile-2.2) + ("guile-json" ,guile-json-1) + ("guile-gnutls" ,guile2.2-gnutls))) + (propagated-inputs + `(("guile-lib" ,guile2.2-lib))) + (home-page "https://github.com/artyom-poptsov/guile-gitlab") + (synopsis "GitLab module for Guile") + (description + "GNU Guile interface to GitLab Community Edition REST API. + +This package provides @samp{gitlab-cli} command line tool for interacting = with +a GitLab instance.") + (license license:gpl3))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Artyom "avp" Poptsov 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 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmGigK0ACgkQ6cWi2QiY oC+mZwf/SEHpJxXfUqZGLszuYqXbGaanWmeTK1r5CAtZeQxn2oPEMbIqnj9UPN9t R/QqXv7vHM0ZOE7dR3ndHyZebOKvLcF7fr+GswTTBcJo7DU4lgN20Ok9E6xQgh4g GaLAD/fC4dhydu34EH/1aM5/PTFSWjtnFOM0u+Z91lfsqyHJEk96PK47irl1yAKA y9uqkPLJ3vJsxQS4D5BXf2jSrn61Wmf9BB9nYoG0emottgMrobGyY+JJ7nf86JyQ ihcqEIjs3OpNgFRx7es7jUXw1qeNXF5rVpqGcoZFGDyupTNu0rbVQMmd7HDt4jd2 EEsYFP4sPc52yapgo9F2QwED/D5+mQ== =F6Sj -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 28 05:04:39 2021 Received: (at 51998-done) by debbugs.gnu.org; 28 Nov 2021 10:04:39 +0000 Received: from localhost ([127.0.0.1]:34984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrH31-0003Qo-31 for submit@debbugs.gnu.org; Sun, 28 Nov 2021 05:04:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrH2y-0003Qb-Vr for 51998-done@debbugs.gnu.org; Sun, 28 Nov 2021 05:04:37 -0500 Received: from [2001:470:142:3::e] (port=57726 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrH2t-0006I7-Py; Sun, 28 Nov 2021 05:04:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Bd7fG+H2HIQMftsHP+1UUQ05/quLe8o6zvgDkn+wTDw=; b=hrESMIoUorRz/1Bf+XvH G+DpZrtR0nuWNtku50q7/XC4Ge9SrJ/NHZEti+npcbUmgM8Edt235m3E5E153Fetfda1ZO8sPi4+x vdXU86+VWRYj9riyl2G49dT/diDOTpmNoyqqJ6WgLo8uWSQkD9Ar2yUf/Zv/NlaJ31j5MnrkhwdRV sb2+bmZUhFSUzAB9Qi2OCnDgrt3yDHwB3OWnNLz9ynpH3zUwZdiC7giEcZKzaZwvFMfyOSQK80YLg DJuqFOSyD8GQXsm8y5fnU5T1/s8avjhrE59az7zxHSQN70qUx732NLE5aEIM9QWSVDH95kmpZnhwg +djDsDAMyLztxA==; Received: from [2a01:e0a:19b:d9a0:2ddb:d3d2:32e8:d31a] (port=60722 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrH2t-0005aR-KN; Sun, 28 Nov 2021 05:04:31 -0500 From: Mathieu Othacehe To: poptsov.artyom@gmail.com (Artyom V. Poptsov) Subject: Re: bug#51998: [PATCH] gnu: Add guile-gitlab References: <87ilwmzzi7.fsf@gmail.com> <87h7c0mq2s.fsf@gnu.org> <87bl26k9la.fsf@gmail.com> <8735nhq1xh.fsf@gnu.org> <87zgppifrm.fsf@gmail.com> Date: Sun, 28 Nov 2021 11:04:29 +0100 In-Reply-To: <87zgppifrm.fsf@gmail.com> (Artyom V. Poptsov's message of "Sat, 27 Nov 2021 22:02:05 +0300") Message-ID: <87mtlor3yq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51998-done Cc: 51998-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 #) In ice-9/boot-9.scm: 705:2 3 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 2 (_ #(#(#))) In gitlab/cli/project.scm: 116:19 1 (gitlab-cli-project/list _ _) In gitlab/api/common.scm: 74:21 0 (api-get #< 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): (# # # # #8--- Are you expecting a specific Gitlab revision or the error is elsewhere? Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 28 13:07:41 2021 Received: (at 51998-done) by debbugs.gnu.org; 28 Nov 2021 18:07:41 +0000 Received: from localhost ([127.0.0.1]:36335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrOaT-0008N5-Eh for submit@debbugs.gnu.org; Sun, 28 Nov 2021 13:07:41 -0500 Received: from mail-lf1-f41.google.com ([209.85.167.41]:33426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrOaR-0008Mt-8L for 51998-done@debbugs.gnu.org; Sun, 28 Nov 2021 13:07:40 -0500 Received: by mail-lf1-f41.google.com with SMTP id bu18so38653106lfb.0 for <51998-done@debbugs.gnu.org>; Sun, 28 Nov 2021 10:07:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=7b2JNjKQLVQvWYutH2NgsD4KQBZ8wZaVZFj0NZCp8RY=; b=FIzsujoWwAOV9aQIVfvlRdsMs+SZDSPoDGqydLg+BNawWmKzax0j6GNPTNJwRntbrY I/giO+9V5iTvIS5d2AE2rHyqVi691OAg3bl2BNUorn3k7bYCjPf2NopTEyC6qpNXnO4G p2xJ6z7mzBP2+z/jFl0QN1ZTpOTQ/SaBRvvTr0o1wrnSaf5sGFpanbgze4UgSEmesw74 f96IDNOGlV46g2Vrd/JRmrZDjONmqRHqahHODoNk6JVKQbHweD6D4c0zKI2BGJ4+BDx5 EaSakUYV8x1Df6WrkrbSuhtDHWYyFwqYv96uh3qaSTT9YZ1O0LSjaBoHQBz75Qp+1gee 32gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=7b2JNjKQLVQvWYutH2NgsD4KQBZ8wZaVZFj0NZCp8RY=; b=Llden8z8J1oqrrOyb5qrx1mcXCUSWyWx9tdPSaduN9Dj4iW5u1NC9OTCcZcV9oQgRn PePVQG++KzC8g8iWQPn+hNvUZ9KD5CQgyInvZmP2Wlv0C7UMUJZEIKaJ7oDeJAUMB5Zu IVf6m/Wa2LtLIILvxIqn78AnlWmZtmdOIoaWT26oGBktEnBzN5MhOVTVcjy90mRrR1tj hdmVTgKyPWbxZyP4Yt0/PY69aJQknVq2SZsUZlt9cwpakBgDeljaiUlxcur1UPa2Iqug DMdpmraFtLGMW2roGQ01gjt3uB1VoOjOf/Wa7ot5dqBxP/tycCTIhLwQ4cp1HiXCTK7P 0Qvw== X-Gm-Message-State: AOAM532czxQ/t+nilMKwcvtjdnqR4kfE/Bc04m1WLEUOWrsDQecYRqIM 1EsKiKZN3V5WXcyuF6Qh9Jn6nzMBhiM= X-Google-Smtp-Source: ABdhPJxmCV7bFjsN0r5t/0dAJs8BggTNWxl6m916vgDl+BpR9NkQobyj1Ytd78jePHAGdJxr5YMf3g== X-Received: by 2002:a05:6512:487:: with SMTP id v7mr42777131lfq.386.1638122853001; Sun, 28 Nov 2021 10:07:33 -0800 (PST) Received: from elephant ([5.164.193.196]) by smtp.gmail.com with ESMTPSA id z5sm1059890lfj.8.2021.11.28.10.07.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Nov 2021 10:07:32 -0800 (PST) From: poptsov.artyom@gmail.com (Artyom V. Poptsov) To: Mathieu Othacehe Subject: Re: bug#51998: [PATCH] gnu: Add guile-gitlab References: <87ilwmzzi7.fsf@gmail.com> <87h7c0mq2s.fsf@gnu.org> <87bl26k9la.fsf@gmail.com> <8735nhq1xh.fsf@gnu.org> <87zgppifrm.fsf@gmail.com> <87mtlor3yq.fsf@gnu.org> Date: Sun, 28 Nov 2021 21:07:27 +0300 In-Reply-To: <87mtlor3yq.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 28 Nov 2021 11:04:29 +0100") Message-ID: <87r1b017ds.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 51998-done Cc: 51998-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Mathieu, > 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. Thanks for helping me with this package! I'm looking forward to package other projects for GNU Guix in the near future. > Note that I also have the following error on two different Gitlab > servers: that's strange as I don's see this error; tested 'gitlab-cli' on two servers as well -- one where I have admin rights and gitlab.com with a regular non-admin token. I think I need to investigate the problem further, but for now I fixed another bug that lead to 'guile-cli' fails if a user passed non-existing command (like "projects" instead of "project".) So here's a patch attached that updates Guile-GitLab to 0.2.1 with this bugfix. - Artyom --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-guile-gitlab-Update-to-0.2.1.patch Content-Transfer-Encoding: quoted-printable From=20c932be626bdfc0c74d4d366fd0fe4a65de200a7f Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 28 Nov 2021 20:54:45 +0300 Subject: [PATCH] gnu: guile-gitlab: Update to 0.2.1 * gnu/packages/guile-xyz.scm (guile-gitlab): Update to 0.2.1. =2D-- gnu/packages/guile-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 841fd49f18..658f810be8 100644 =2D-- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4800,7 +4800,7 @@ high-level API for network management that uses rtnet= link.") (define-public guile-gitlab (package (name "guile-gitlab") =2D (version "0.2.0") + (version "0.2.1") (source (origin (method git-fetch) @@ -4810,7 +4810,7 @@ high-level API for network management that uses rtnet= link.") (file-name (string-append name "-" version "-checkout")) (sha256 (base32 =2D "1yq8w507vw9n7f626sbnsk8prsdk337d6acr7f9k3j500lhlvxj5")))) + "0srkmchd4kmfa7q65r6fdzwklhgdlck1ll0s7smzs8ddjdgz2lwm")))) (build-system gnu-build-system) (arguments `(#:modules (((guix build guile-build-system) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Artyom "avp" Poptsov 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 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmGjxV8ACgkQ6cWi2QiY oC/S1ggAiAE9qibowdVJ95/5E2dhXp6wn4v9azHfzKE775GeXD6pBCY/htXR23/p 0AdkSjw2e3pPlQtE8DJZ8q0yCedNayU6Bhq3q/WWy0l4MD5W7kzysGXyM1sqdHDx vdloOOgCvxUMQ7tJzlHIxPPQ3yrvZaw31Wgoy0g1TJcfdmWDxJNmCex0QABZmoX3 FJ6bkCPh0OkloSoElrRFgdeegW/rRM2qZjN/Kw2iwVCzppiyM63agQQlhF41ag/g SPBqsHeJIjecW7vb7KmIp87N8UReu2rAR7RvG8o/y9AUGGN0cu/k+VtPg12x8rcR MYFVDmiiaD7Gr9rdWcWZ31Vne0HeLQ== =C3Y1 -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 28 16:36:42 2021 Received: (at 51998-done) by debbugs.gnu.org; 28 Nov 2021 21:36:42 +0000 Received: from localhost ([127.0.0.1]:36463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrRqk-00055G-1O for submit@debbugs.gnu.org; Sun, 28 Nov 2021 16:36:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrRqh-000551-Bn for 51998-done@debbugs.gnu.org; Sun, 28 Nov 2021 16:36:40 -0500 Received: from [2001:470:142:3::e] (port=44844 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrRqc-0001e5-4Q; Sun, 28 Nov 2021 16:36:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=d24tdmqNiJ5pF7Ii9COI1F0NyOxa90Kv1X5JWxtvYNk=; b=U4YDfgPRvdGh5h8D6bNn 3eTB0NZrmZ5r1ejRkcvSRoluH+jj+xPd/SwuDkSW0qiqXr1EV/D++OdNN9Mjb5RhJin00BGmTgbQ5 V6H5x7YoYZSD2XDSTjefqXobdX2FvnRmBihQacYPUL5jUDAHgzSj6iLpqaNvxDpw9+ZCOsaq2KQa5 sRCLx6fPAf2RdND3/fl/akYY7TiH6SoG99Nu29//kiEZ72l1wPSyMRrTxsrqHLqcos1skKuBBb1hu EgoeON1zsmMOYwQ3nvtapyV9zppnhTx/FOM9HtmZQK37GVBUmdHgs/YcZVaebDtf6EdBOwodxubb0 r3WHFToslCXv/w==; Received: from [2a01:e0a:19b:d9a0:45b5:a14a:5c75:5737] (port=50444 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrRqa-0001aw-L6; Sun, 28 Nov 2021 16:36:33 -0500 From: Mathieu Othacehe To: poptsov.artyom@gmail.com (Artyom V. Poptsov) Subject: Re: bug#51998: [PATCH] gnu: Add guile-gitlab References: <87ilwmzzi7.fsf@gmail.com> <87h7c0mq2s.fsf@gnu.org> <87bl26k9la.fsf@gmail.com> <8735nhq1xh.fsf@gnu.org> <87zgppifrm.fsf@gmail.com> <87mtlor3yq.fsf@gnu.org> <87r1b017ds.fsf@gmail.com> Date: Sun, 28 Nov 2021 22:36:30 +0100 In-Reply-To: <87r1b017ds.fsf@gmail.com> (Artyom V. Poptsov's message of "Sun, 28 Nov 2021 21:07:27 +0300") Message-ID: <87wnksj735.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51998-done Cc: 51998-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hey, > I think I need to investigate the problem further, but for now I fixed > another bug that lead to 'guile-cli' fails if a user passed non-existing > command (like "projects" instead of "project".) Nice, also experienced that issue. Regarding the issue I reported, this is related to the Guile-Json version. Seems that you are assuming array data to be represented as vectors whereas with Guile-Json 1 they are represented as lists. I took the liberty to switch to guile2.2-json package that uses Guile Json 4.5.2 and applied your patch. Thanks, Mathieu From unknown Tue Jun 17 20:14:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 27 Dec 2021 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator