The source of the OpenTubeX packages in the Arch User Repository, for x86_64
and aarch64. The publish workflow copies them to the AUR, so change them here
rather than on the AUR.
For a signed binary repository that pacman updates directly, see arch.opentubex.org.
Install one of the packages below with an AUR helper, for example:
paru -S opentubex-bin| Package | Contents |
|---|---|
opentubex |
The latest release, built from source with the system Electron |
opentubex-bin |
The latest release, from the official .deb |
opentubex-nightly-bin |
The latest nightly, or the latest release if it is newer, from the official .deb |
opentubex-git |
The current development branch, built with the system Electron |
Only one of them can be installed at a time, and they all use the same data.
opentubex-nightly-bin turns nightly tag v0.36.0-nightly-2111 into version
1:0.36.0.nightly.2111 and release tag v0.36.0-beta into 1:0.36.0. A
nightly is built after the release it is numbered after, so pacman sorts it
between 0.36.0 and 0.36.1. The epoch comes from an older version format and
has to stay.
When a release or nightly in
OpenTubeX/OpenTubeX has uploaded its
packages, it sends this repository an opentubex-release or opentubex-nightly
dispatch with the tag. The Publish AUR packages workflow then:
- updates
pkgver,pkgrel, and the checksums of the affected packages and regenerates their.SRCINFO. A package that already has a newer version keeps it; - commits the changes to
main; - pushes every package whose files changed to the AUR.
A release updates opentubex, opentubex-bin, and opentubex-nightly-bin, and
a nightly only updates opentubex-nightly-bin. opentubex-git keeps its
version from Git, and the workflow publishes it whenever opentubex-git/
changes on main.
Packaging changes, such as a new Electron version for opentubex, can land here
before a release. The next release keeps them and only updates the version and
checksums.
You can also run the workflow manually with a release or nightly tag. Without a tag it publishes the latest release.
- The
AUR_SSH_PRIVATE_KEYsecret holds an SSH key whose AUR account maintains or co-maintains all four packages. - The
PUSH_TOKENsecret in OpenTubeX/OpenTubeX needs write access to this repository to send the dispatches.
The Test workflow checks the publish script and builds the packages in an Arch Linux container on every push and pull request. Run the tests as a regular user, because makepkg refuses to run as root:
python -I tests/publish.py
bash tests/package.sh
bash tests/build.sh