Skip to content

Void Linux Contribution

tristan edited this page Oct 25, 2026 · 8 revisions

Contribution - Step by Step

Preparation

Fork and Clone

  1. Fork the Repo void-packages
  2. Clone the Repo
  • Use --depth 1 to save time and disk space
  • Clone the master only
  1. Set Upstream and Checkout
git remote add upstream https://github.com/void-linux/void-packages.git
git fetch upstream master --depth 1
git checkout -b <paket>-update
  1. Check for Updates
./xbps-src update-check <pkgname>  
  1. Modify Template
  2. Generate Checksum
  3. Build and Test
./xbps-src pkg <pkgname>
./xbps-src -Q pkg <pkgname>
./xbps-src -a armv6l pkg <pkgname>
  1. Install local pkg and Test on System
  • xi -S <pkgname>
  • xbps-query -p pkgver zsh-completions
  • Functional Tests
  1. Lint
xlint <pkgname>
  1. Check Changes in PKG Repository Example:
git clone https://github.com/zsh-users/zsh-completions.git /tmp/zsh-completions
cd /tmp/zsh-completions
git diff --stat 0.35.0 0.36.0 -- src/
git log --oneline 0.35.0..0.36.0
  1. Commit
  • xbump <pkgname>
  1. Push
  • git push -u origin <pkgname>-update
  1. Create PR on GitHub
  • Don't forget to comment
  • PR name example <pkgname>: update to <version>

Clone this wiki locally