Bug 267224 - [New Port] devel/gcli: CLI utility to interact with various git forges
Summary: [New Port] devel/gcli: CLI utility to interact with various git forges
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL: https://gitlab.com/herrhotzenplotz/gcli
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 10:53 UTC by Robert Clausecker
Modified: 2022-10-22 09:36 UTC (History)
2 users (show)

See Also:


Attachments
[New Port] devel/gcli: CLI utility to interact with various git forges (3.59 KB, patch)
2022-10-20 10:53 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-10-20 10:53:59 UTC
Created attachment 237481 [details]
[New Port] devel/gcli: CLI utility to interact with various git forges

GCLI is a simple and portable CLI tool for interacting with GitHub,
GitLab, and Gitea from the command line.

This tool was written because the official GitHub CLI tool only supports
GitHub.  The author wanted a simple unified tool for various git forges
such as GitHub and GitLab because every forge does things differently
yet all build on Git and purposefully break with its philosophy.

Also, the official tool from Github is written in Go, which does manual
DNS resolution which is a massive security vulnerability for people
using Tor as it leaks your IP to the DNS server. This program builds
upon libcurl, which obeys the operating system's DNS resolution
mechanisms and thus also works with Tor.

Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-22 09:36:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=65240f34c0d836ec3670e7dcda5f8589aaba6dc1

commit 65240f34c0d836ec3670e7dcda5f8589aaba6dc1
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-10-20 10:50:32 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-10-22 09:35:19 +0000

    Add devel/gcli: CLI utility to interact with various Git forges

    GCLI is a simple and portable CLI tool for interacting with GitHub,
    GitLab, and Gitea from the command line.

    This tool was written because the official GitHub CLI tool only supports
    GitHub.  The author wanted a simple unified tool for various git forges
    such as GitHub and GitLab because every forge does things differently
    yet all build on Git and purposefully break with its philosophy.

    Also, the official tool from Github is written in Go, which does manual
    DNS resolution which is a massive security vulnerability for people
    using Tor as it leaks your IP to the DNS server. This program builds
    upon libcurl, which obeys the operating system's DNS resolution
    mechanisms and thus also works with Tor.

    PR:             267224

 devel/Makefile             |  1 +
 devel/gcli/Makefile (new)  | 20 ++++++++++++++++++++
 devel/gcli/distinfo (new)  |  3 +++
 devel/gcli/pkg-descr (new) | 13 +++++++++++++
 devel/gcli/pkg-plist (new) | 13 +++++++++++++
 5 files changed, 50 insertions(+)