From 2db3e07d6b0c09a85ba8d24ea7b7c5a4bf2fba13 Mon Sep 17 00:00:00 2001 From: AlphaLynx Date: Sat, 26 Jul 2025 00:33:21 -0400 Subject: [PATCH 1/4] README: Add installation instructions for Arch Linux AUR --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 14f6b32..2ea8212 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,25 @@ brew install vet-run ``` **Note:** The formula is named `vet-run` to avoid a conflict with another tool in the Homebrew ecosystem, but this command will correctly install the `vet` executable on your system. +## Arch Linux + +Installation from the Arch User Repository (AUR) is recommended for users of Arch or Arch-based Linux distributions. The official procedure is documented [here](https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages), but here are the steps: +``` +# First, clone the AUR git repo +git clone https://aur.archlinux.org/vet.git + +cd vet + +# Now, as you should always do, review the PKGBUILD! +cat PKGBUILD + +# Next, build the package and install +makepkg -si +``` +Use the [vet](https://aur.archlinux.org/packages/vet) package for stable releases, and the [vet-git](https://aur.archlinux.org/packages/vet-git) package for the latest vet commit. + +**Note:** these steps (and package updates) can of course be automated via an AUR helper such as [yay](https://github.com/Jguer/yay) or [paru](https://github.com/morganamilo/paru), but as with the security principle that `vet` promotes, you should still read the PKGBUILD before building and installing the package. + ## Manual Installation ### The Safe Way From f38bfc5fc62febf031faf3a52d5e64cd7e7f5265 Mon Sep 17 00:00:00 2001 From: AlphaLynx Date: Sat, 26 Jul 2025 00:39:25 -0400 Subject: [PATCH 2/4] README: Reword surrounding install instructions sections to make more sense with the new Arch Linux section --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2ea8212..fec6399 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ vet https://example.com/install.sh We believe you should never blindly trust a script from the internet—not even ours. That's why `vet` exists. The installation process itself is a perfect demonstration of the problem `vet` solves. -## Homebrew (macOS/Linux) - Recommended +## Homebrew -The easiest and recommended way to install `vet` is via Homebrew. +For macOS users, the easiest and recommended way to install `vet` is via Homebrew. ``` # First, tap the official repository brew tap vet-run/vet @@ -72,7 +72,7 @@ Use the [vet](https://aur.archlinux.org/packages/vet) package for stable release ## Manual Installation ### The Safe Way -If you don't use Homebrew, or if you simply wish to follow the security-first principle that `vet` champions, you can perform a manual installation. This is the two-step "Download, then Review" process that demonstrates exactly what `vet` automates for you. +If you don't use macOS/Arch Linux, or if you simply wish to follow the security-first principle that `vet` champions, you can perform a manual installation. This is the two-step "Download, then Review" process that demonstrates exactly what `vet` automates for you. 1. **Download the installer**: From 07b3d5abd4667bd4bffe5a12bd39b3042c683dd5 Mon Sep 17 00:00:00 2001 From: AlphaLynx Date: Sun, 27 Jul 2025 15:28:46 -0400 Subject: [PATCH 3/4] Update Arch Linux installation note so it's not a run on sentence --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fec6399..c8a2a88 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ makepkg -si ``` Use the [vet](https://aur.archlinux.org/packages/vet) package for stable releases, and the [vet-git](https://aur.archlinux.org/packages/vet-git) package for the latest vet commit. -**Note:** these steps (and package updates) can of course be automated via an AUR helper such as [yay](https://github.com/Jguer/yay) or [paru](https://github.com/morganamilo/paru), but as with the security principle that `vet` promotes, you should still read the PKGBUILD before building and installing the package. +**Note:** These installation steps (and package updates) can of course be automated via an AUR helper such as [yay](https://github.com/Jguer/yay) or [paru](https://github.com/morganamilo/paru). But, as with the security principle that `vet` promotes, you should still read the PKGBUILD before building and installing the package. ## Manual Installation From 8ee6776fc177b0b88d647b4e37879dfb3377bc1b Mon Sep 17 00:00:00 2001 From: AlphaLynx Date: Sun, 27 Jul 2025 15:29:05 -0400 Subject: [PATCH 4/4] Move Arch Linux installation instructions to new Community Packages section --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c8a2a88..d759062 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,9 @@ brew install vet-run ``` **Note:** The formula is named `vet-run` to avoid a conflict with another tool in the Homebrew ecosystem, but this command will correctly install the `vet` executable on your system. -## Arch Linux +## Community Packages + +### Arch Linux Installation from the Arch User Repository (AUR) is recommended for users of Arch or Arch-based Linux distributions. The official procedure is documented [here](https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages), but here are the steps: ```