From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: poptsov.artyom@gmail.com (Artyom V. Poptsov) Newsgroups: gmane.lisp.guile.user Subject: [ANN] Guile-GitLab 0.1.0 Date: Sat, 13 Nov 2021 19:40:04 +0300 Message-ID: <87o86oqaaj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1990"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: Guile Users' Mailing List Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Nov 13 17:40:39 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mlw51-0000MS-Gu for guile-user@m.gmane-mx.org; Sat, 13 Nov 2021 17:40:39 +0100 Original-Received: from localhost ([::1]:39324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlw4z-0006C1-LL for guile-user@m.gmane-mx.org; Sat, 13 Nov 2021 11:40:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlw4Y-0006Bd-LW for guile-user@gnu.org; Sat, 13 Nov 2021 11:40:10 -0500 Original-Received: from [2a00:1450:4864:20::129] (port=47010 helo=mail-lf1-x129.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlw4X-00021S-3t for guile-user@gnu.org; Sat, 13 Nov 2021 11:40:10 -0500 Original-Received: by mail-lf1-x129.google.com with SMTP id b1so24816090lfs.13 for ; Sat, 13 Nov 2021 08:40:08 -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=8hhSrc0/YAACrWwJcEbY2eoyvRmokVnS/rH5d8rL68Y=; b=j8F6Igps8DhDp6K40Heec4vYhQSv+qCd85eE0SRzxJw81e4JZSQz8LGOJs9bf+0Pns xDNDBl01q3lwRnA07bSMl2/kLcm7THqdfuIxNA70zp87ACqhmV3YIewSMLDwjF/sy63D rV4C0gfrQz6lTIDjXUEJ9DXwhARN/zY7lpaDwyLQ8RkI7RJitIcvfqtJXwbqWdezk9JY WuIdCaasknvGgmRBeLaM1supmL/kHbl2KtpF3zeyzDfTKxWstGjR+TnTAk76gVKvDvxn dhyJpkedeRk+jVnPGsHOVTU8RxLL1EVDOCaPoX9dFWEwWbAkuqOHj7gjqCeuNuJRSZq/ 3pKQ== 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=8hhSrc0/YAACrWwJcEbY2eoyvRmokVnS/rH5d8rL68Y=; b=5AIxyQTyfeQQ5y5dAvR71z6N+j5dJGrI9iMNTrA0EKpQduqLwrLb5j5AV8YR4gfrwI +Q5k1p3v94kqPxdwvjxiHS57VXgGeEN6cdBX52LiLPJ09PbBJ4HB1CFJ2BLQPG0ghJnD v1JZZc+CAbJwQAya47VzeEm+ql1ri+eDTNcsYgwCOPmEu7oxFni6NKFSwTxFTj4v5q52 ooSzGhsyfIH4r7i9TovmBB/sC6KaLAgt60lGQ7wMRERlOGthO+IuJeONQXieHMQugOuh hpVxmDmYl5FQ4pB8n6SV1Xy4LhwSSKoZv3G4haPn1E0dmqfHwNnnI8lkm8b3pdK1UtK6 bxYA== X-Gm-Message-State: AOAM531ZqKHAvs41nOhuBnCh69ptowcYTXrmE4mNRxVjr6vo/vzHgENW 2FSZHLiLPBub9sahkIuTiedBzjz0Nc4= X-Google-Smtp-Source: ABdhPJyrl1yq88NXdbwg5+HLoVj17JnPFtAAGiF+NUiyqvtDxNwe/WIUohaav+WcXypU+Uzc8QYaZA== X-Received: by 2002:a05:6512:2249:: with SMTP id i9mr19451487lfu.62.1636821606572; Sat, 13 Nov 2021 08:40:06 -0800 (PST) Original-Received: from elephant ([5.164.193.196]) by smtp.gmail.com with ESMTPSA id z4sm882091ljj.26.2021.11.13.08.40.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Nov 2021 08:40:05 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::129 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x129.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, T_FILL_THIS_FORM_SHORT=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17827 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Guilers, I'm pleased to announce Guile-GitLab 0.1.0 -- the first version of a GitLab REST API[1] client for GNU Guile: https://github.com/artyom-poptsov/guile-gitlab/releases/tag/v0.1.0 This project is in the early stages of development and provides limited API for Guile programs that allows to fetch GitLab users, projects and groups. It addition it allows to delete GitLab users by IDs. To provide some background why I started this project: I maintain a GitLab instance in a local college and recently I found myself in need of regexp-searching users by their emails. Unfortunately GitLab Community Edition does not provide such facility from the web UI. So I decided to write my own Guile library and a console tool to simplify the task. There's a small CLI tool called 'gitlab-cli' that is installed along with the library to the system. Here's an example of fetching users that match the specified criteria: =2D-8<---------------cut here---------------start------------->8--- $ gitlab-cli user ls \ --token "" \ --server "https://gitlab.example.org" \ --email-not-like ".*changemeplease.*" \ --print "id,username,email,name" \ --format csv =2D-8<---------------cut here---------------end--------------->8--- Probably this tool can be useful for others too. Thanks, =2D Artyom References: 1. https://docs.gitlab.com/ee/api/ =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----- iQEyBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmGP6mQACgkQ6cWi2QiY oC8kKwf4vNit1eE3Te8GR/ZBc37fRVEqJ9sQ8u34gROJZUEbjOrmf4IipeTH0ewt 8+3JAxrYiIKfdIEraYD/k6YwN6PCnIsUKjCJYaWuqZUecAxrE4n6DMSH9MCyjTve rZMEicBoXXbwQZRhpUwxgVTaRTDoMyDUKaBrluuc+8qgxCw8uZxL4voUOTMrKwO7 55eLuO7P7PfmOApIErEvFH52J08fpG8AHi6uqDLGa/xIvbr6nSwxu+H00QabOn9G Jeuwr9Jezg/fZdCaLy+13wjl/TZ7AL8IMLzLphypBiR/Obn6fZvjO3H0EfCfksPz Y89P8bgqDiY8jL6pQdORH/NSHeqg =vZCf -----END PGP SIGNATURE----- --=-=-=--