LinuxCommandLibrary

aurpublish

Upload packages to the Arch User Repository

TLDR

Verify PKGBUILD integrity, generate .SRCINFO, create a commit message template, and publish the package to the AUR

$ aurpublish [package_name]
copy

Add githooks to the current repository
$ aurpublish setup
copy

Display help
$ aurpublish [[-h|--help]]
copy

SYNOPSIS

aurpublish

PARAMETERS

-c, --check
    Check if the current PKGBUILD and source files are up-to-date and valid.

-u, --upload
    Upload the package to the AUR.

-f, --force
    Force the upload, even if checks fail.

-h, --help
    Display help information.

-v, --version
    Display version information.

DESCRIPTION

aurpublish is a tool designed to simplify the process of building and uploading packages to the Arch User Repository (AUR).

It automates tasks such as verifying files, checking dependencies, creating checksums, and uploading the package to the AUR. This tool aims to reduce manual steps and potential errors, streamline contributions, and ensure packages comply with AUR guidelines. It is generally used in conjunction with tools such as makepkg. By automating common and potentially error-prone steps, aurpublish saves time and effort for AUR contributors, contributing to a more efficient and reliable AUR ecosystem.

Proper configuration is typically required before using the tool. This often involves setting up SSH keys or entering AUR credentials.

CAVEATS

aurpublish relies on correctly configured SSH keys or AUR credentials. Ensure these are set up properly before using the tool. Additionally, it's crucial to understand the AUR guidelines and package building process to avoid uploading broken or malicious packages.

CONFIGURATION

aurpublish typically requires configuration to connect to the AUR. This often involves setting up SSH keys for authentication or entering AUR account credentials. Consult the tool's documentation for specific configuration instructions.

WORKFLOW

The typical workflow involves using makepkg to build a package, then using aurpublish to check and upload the package to the AUR.

HISTORY

The development history of aurpublish is tied to the growth of the AUR and the need for a tool to automate the package submission process. As the AUR expanded, the manual process became tedious and error-prone, prompting the creation of tools like aurpublish to simplify and streamline the experience for Arch Linux users who contribute packages.

SEE ALSO

makepkg(1), gpg(1)

Copied to clipboard