From 1222ddc6704bc7faeb809f24e87138c58c8d5151 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 3 Aug 2022 00:08:14 -0400 Subject: [PATCH] CONTRIBUTING.md: add instructions for testing PRs --- CONTRIBUTING.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index da3bef29c883..d74dd6203618 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -129,3 +129,24 @@ Please abstain from temporarily closing a pull request while revising the templa Once the reviewers have merged the pull request, our [build server](http://build.voidlinux.org) is automatically triggered and builds all packages in the pull request for all supported platforms. Upon completion, the packages are available to all Void Linux users. + +## Testing Pull Requests + +Testing new package submissions and updates is always helpful, and is a great way to get started with contributing. +First, [clone the repository](https://github.com/void-linux/void-packages#quick-start) if you haven't done so already. +Then check out the pull request, either with `github-cli`: + + $ gh pr checkout + +Or manually: + + $ git fetch origin pull//head: + $ git checkout + +If your local void-packages repository is cloned from your fork, you may need to add the main repository as a remote first: + + $ git remote add upstream https://github.com/void-linux/void-packages.git + $ git fetch upstream pull//head: + $ git checkout + +Then [build and install](https://github.com/void-linux/void-packages#building-packages) the package and test its functionality.