From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.user Subject: Re: [ANN] Guile-GitLab 0.1.0 Date: Sun, 14 Nov 2021 07:22:11 +0800 Message-ID: References: <87o86oqaaj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29073"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile Users' Mailing List To: "Artyom V. Poptsov" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Nov 14 00:22:37 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 1mm2M1-0007Qu-G3 for guile-user@m.gmane-mx.org; Sun, 14 Nov 2021 00:22:37 +0100 Original-Received: from localhost ([::1]:51836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mm2M0-00036p-GW for guile-user@m.gmane-mx.org; Sat, 13 Nov 2021 18:22:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mm2Lp-00036h-B7 for guile-user@gnu.org; Sat, 13 Nov 2021 18:22:25 -0500 Original-Received: from [2a00:1450:4864:20::12f] (port=38677 helo=mail-lf1-x12f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mm2Ln-0004BB-Ka for guile-user@gnu.org; Sat, 13 Nov 2021 18:22:25 -0500 Original-Received: by mail-lf1-x12f.google.com with SMTP id bi37so27343304lfb.5 for ; Sat, 13 Nov 2021 15:22:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B8dpumorNV6j3LVp0IBm3fJmmiMZQbR9Qj8UoWMMh8A=; b=CLhAjVaSJ0WjouXZ4nv3MWg5sSJerz1PS2dnWgqglB1WHuUfm0lMQeUNo5/kFRGSVr PCImTGKBej8DY3KQkFBZe9M5NFz2Hrjq04S1c4Dk8eKVwt0U3BwihaB+8SoW24X7kpF3 R6Rytf/6dYSH4boL5iN/QHY52+bIKi/owiTy2vIqrzJCZEmXg1g1O+sn9ots+YrRC2WJ rxVRRtvBc3rm/v4UVfkY1d0w8gHrrjJJcEOQoNXvIwvJSFbPek+KvXkv3ermn88IT34z Nk6NejETOgN8JKsHH7jNGejLiz9/hrrbI1uYz5fAiiDVzINhOvpjkTxkMj9mLdAwBAOR EvnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B8dpumorNV6j3LVp0IBm3fJmmiMZQbR9Qj8UoWMMh8A=; b=bDVkxxEHSzdNSFpnIBLHW0775CAo/+pEXSsdqWxT/h9oUxjYsPuwGXl3DPxF11gIvy 7l2+IK/8t18XtO6GTk6WzJv7v2rsQ4ezf+9G/fWwMHXXVaH5CrDugNhJnPby9a8/fJl6 DBUd81bJflpsPWbDkQAUpcKsMrWylgJ6JPEFrIXLFJT1r5rvYKikn/mi7hrFFsM0pdx+ /Uvsu3oUSSYmv+XUh78NB5gg1NkR1DLWsXgFUs5/6HL+tEbpWbwLVKx/Kdiog+wBd05p sBQAXHbZBhBQgBfbkg1VI6Rq4cmTwKoRIskPmcCSCAtJjDHRZ/w9c4AdQvZc4obMqob0 xuvQ== X-Gm-Message-State: AOAM531g27mRwjZ22Is6EU1ff+ymYEfPrAbgdIZyFsTPbBTsBK1AxhVV WIIfxALa2mXNgeUq6QkOdka9QTYD+GJHd9rK0ZQ= X-Google-Smtp-Source: ABdhPJzMGZiEcOs6KVaGLae0j149oOue/TJczRncRMxya4K2bAkOwAV+CtHbKQ8WSz74D4KGOOlw5jdLcihsHsAKRY8= X-Received: by 2002:ac2:4c0b:: with SMTP id t11mr7649969lfq.520.1636845741192; Sat, 13 Nov 2021 15:22:21 -0800 (PST) In-Reply-To: <87o86oqaaj.fsf@gmail.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::12f (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=nalaginrut@gmail.com; helo=mail-lf1-x12f.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, HTML_MESSAGE=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-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:17828 Archived-At: Nice work! Best regards. On Sun, Nov 14, 2021, 00:40 Artyom V. Poptsov wrote: > 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: > > --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 > --8<---------------cut here---------------end--------------->8--- > > Probably this tool can be useful for others too. > > Thanks, > > - Artyom > > References: > 1. https://docs.gitlab.com/ee/api/ > > -- > 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 >