On May 27, version 2.93.0 of the console utility was released GitHub CLI, designed for working with GitHub repositories.
The utility is written in Go and is distributed under the MIT license.
Key changes
Security
- A security vulnerability, which incorrectly included the authorization header in API requests to TUF repository mirrors using the commands gh attestation, gh release verify, and gh release verify-asset, has been identified and fixed.
Users are encouraged to update gh to version 2.93.0 as soon as possible.
- A security vulnerability, which incorrectly included the authorization header in API requests to TUF repository mirrors using the commands gh attestation, gh release verify, and gh release verify-asset, has been identified and fixed.
Other improvements and bug fixes.
On May 30, a console utility was released GCLI, which supports the APIs of several popular Git hosting services, allowing users to create, view, and interact with issues, merge requests, labels, and comments on them, check the status of CI and pipelines, and much more.
Unlike GitHub CLI, GCLI supports not only the GitHub API but also the APIs of Codeberg, Forgejo, Gitea, GitLab, and Bugzilla.
The utility is written in C and is distributed under the BSD-2 license.
The milestone action failure in the issues subcommand for
GitLab has been fixed. In previous versions, the API request URL for GitLab was incorrectly formed,
leading to confusing error messages.Subcommands now accept an optional positional argument forge:owner/repo. For example:
gcli issues gh:curl/curl
gcli pulls gl:gitlab-org/gitlab
gcli pipelines cb:forgejo/forgejoBuilt-in prefixes: gh: (GitHub), gl: (GitLab), and cb: (Codeberg). Named sections in the gcli configuration file also support prefixes. For example:
freebsd-bz {
apibase=https://bugs.freebsd.org/bugzilla
forge-type=bugzilla
}work-gl {
apibase=https://gitlab.example.com
forge-type=gitlab
}$ gcli issues freebsd-bz:"Base System/tests"
$ gcli pulls work-glb:acme-corp/frontendNote: for Bugzilla, use the product/component path instead of owner/repo.
Positional arguments are supported by all repository subcommands: issues, pulls, pipelines, ci, releases, forks, labels, milestones, and comment. Existing flags -t, -o, and -r are still supported.
The pipelines subcommand now supports GitHub actions. Additionally, the pipeline supports the monitor action, which allows for continuous monitoring of a running set of CI checks or a pipeline. A terminal emulator compatible with Xterm is required for the new feature to work correctly.
The ci subcommand has been removed as it was undocumented and not properly supported.
Source: linux.org.ru




