unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Nala Ginrut <nalaginrut@gmail.com>
To: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Cc: Guile Users' Mailing List <guile-user@gnu.org>
Subject: Re: [ANN] Guile-GitLab 0.1.0
Date: Sun, 14 Nov 2021 07:22:11 +0800	[thread overview]
Message-ID: <CAPjoZof=YegNTf5E9_QmZNoH9kQ_Oo3dSwTJewp6i+3yLQdK_g@mail.gmail.com> (raw)
In-Reply-To: <87o86oqaaj.fsf@gmail.com>

Nice work!

Best regards.

On Sun, Nov 14, 2021, 00:40 Artyom V. Poptsov <poptsov.artyom@gmail.com>
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 "<your-gitlab-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 <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
>


  reply	other threads:[~2021-11-13 23:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-13 16:40 [ANN] Guile-GitLab 0.1.0 Artyom V. Poptsov
2021-11-13 23:22 ` Nala Ginrut [this message]
2021-11-15 20:31 ` Alex Sassmannshausen

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://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to='CAPjoZof=YegNTf5E9_QmZNoH9kQ_Oo3dSwTJewp6i+3yLQdK_g@mail.gmail.com' \
    --to=nalaginrut@gmail.com \
    --cc=guile-user@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.
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).