← 返回命令列表

Linux command

pkgctl-repo 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Clone

pkgctl repo clone [pkgname]

Example

pkgctl repo clone --protocol https [pkgname]

Create

pkgctl repo create [pkgbase]

Switch

pkgctl repo switch [version] [pkgbase]

Open

pkgctl repo web [pkgbase]

说明

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.

参数

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

FAQ

What is the pkgctl-repo command used for?

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.

How do I run a basic pkgctl-repo example?

Run `pkgctl repo clone [pkgname]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does clone do in pkgctl-repo?

Clone a package repository