LinuxCommandLibrary

pkgctl-repo

Manage Arch Linux Git packaging repositories

TLDR

Clone a package repository (requires SSH key in Arch Linux GitLab)

$ pkgctl repo clone [pkgname]
copy
Clone a package repository over HTTPS
$ pkgctl repo clone --protocol https [pkgname]
copy
Create a new GitLab package repository and clone it
$ pkgctl repo create [pkgbase]
copy
Switch a package repository to a specified version
$ pkgctl repo switch [version] [pkgbase]
copy
Open a package repository's website
$ pkgctl repo web [pkgbase]
copy

SYNOPSIS

pkgctl repo command [options] [package]

DESCRIPTION

pkgctl repo manages Git packaging repositories for Arch Linux packages hosted on GitLab. It provides commands to clone, create, and manage package source repositories.
The tool integrates with Arch Linux's GitLab infrastructure at gitlab.archlinux.org, where official package sources are maintained. SSH access requires configuring keys in your GitLab account.
Package maintainers use this to obtain sources for updating packages, while read-only HTTPS access allows anyone to view package build files.

PARAMETERS

clone

Clone a package repository
create
Create a new GitLab repository
switch
Switch to a specific version/branch
web
Open repository in web browser
--protocol _proto_
Clone protocol: ssh (default) or https
--maintainer _name_
Filter by maintainer
--universe
Clone from universe (community) rather than packages

CAVEATS

SSH clone requires GitLab account with SSH key configured. Repository creation requires valid GitLab API authentication and appropriate permissions. Part of the pkgctl toolset for Arch Linux development.

SEE ALSO

pkgctl(1), pkgctl-build(1), git(1), asp(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community