Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aurtube

Arch Linux package testing tube.

aurtube safely fetches, builds, and tests AUR packages (also official Arch Linux repo packages) inside a sandbox. Your system stays untouched. Don't want them anymore? Remove them completely. Or install them properly.

aurtube wofi              # test wofi (or any package) in the tube
aurtube wofi --show drun  # pass args

Installation

Well, you need Arch Linux to start with.

Dependencies

  • bubblewrap (pacman -S bubblewrap)
  • git
  • base-devel

1. Clone

git clone https://github.com/diggingforce/aurtube.git
cd aurtube

2. Build

cargo build --release

3. Install

cp target/release/aurtube ~/.local/bin/

Usage

Test a Package

aurtube <package> [args...]

Pipeline:

  1. Pulls metadata from AUR or Arch Repo.
  2. Installs any missing build dependencies on the host.
  3. Clones the PKGBUILD into the sandbox tube.
  4. Compiles inside the tube.
  5. Unpacks all built packages inside the tube.
  6. Launches the test menu. Lets you run the package, pass custom flags, or drop into a shell.
  7. Afterwards, you choose: Install, Save, or Delete.

Commands

aurtube <package>                  # test a package
aurtube <package> [args...]        # pass args directly to the binary
aurtube build <package> -o <dir>   # build and export .pkg.tar.zst
aurtube shell                      # open a sandbox shell/tube
aurtube shell --package <package>  # shell with a PKGBUILD already loaded

Build-Only

Compiles in the sandbox and copies all .pkg.tar.zst files to your chosen directory.

aurtube build <package> -o ./output/

Sandbox Shell

aurtube shell

# Sandbox with a PKGBUILD
aurtube shell --package <package>

And that's all!

License

This project is licensed under the MIT License. See the LICENSE file for details.

Releases

Packages

Contributors

Languages