Skip to content
OpenTubeXPublic

About

OpenTubeX AUR package sources and release publishing

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

116 Commits

Folders and files

Repository files navigation

OpenTubeX AUR packages

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

Install one of the packages below with an AUR helper, for example:

paru -S opentubex-bin

Channels

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.

Publishing

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:

  1. updates pkgver, pkgrel, and the checksums of the affected packages and regenerates their .SRCINFO. A package that already has a newer version keeps it;
  2. commits the changes to main;
  3. 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.

Maintainer setup

  • The AUR_SSH_PRIVATE_KEY secret holds an SSH key whose AUR account maintains or co-maintains all four packages.
  • The PUSH_TOKEN secret in OpenTubeX/OpenTubeX needs write access to this repository to send the dispatches.

Tests

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

About

OpenTubeX AUR package sources and release publishing

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages