kota's memex

setup

Fork and clone the packages repo and add upstream remote to pull new changes.

git remote add upstream git://github.com/void-linux/void-packages.git
git pull --rebase upstream master
./xbps-src binary-bootstrap
./xbps-src pkg dolphin-emu
sudo xbps-install --repository hostdir/binpkgs dolphin-emu

create a new package

xnew pkgname

lint the new package for errors

xlint template

bump a package

xgensum -i pkgname
xbump pkgname

commit name templates

You can add a longer message below the commit message for clarification.

for new packages,                use New package: <pkgname>-<version>\
for package updates,             use <pkgname>: update to <version>.\
for template modifications,      use <pkgname>: <reason>\
for package removals,            use <pkgname>: remove package\
for common/shlibs modifications, use common/shlibs: <pkgname>

create update commit automatically

xbump pkgname

pull request

Once the package lints and builds make your commit and then create a pull request.

When you make changes to your pull request, please do not close and reopen your pull request. Instead, just forcibly git push, overwriting any old commits. Closing and opening your pull requests repeatedly spams the Void maintainers.

force push

git add file
git commit --amend
git push -f