me

/

vpac Public
1 branch
Tree Top files
Code
Clone with HTTPS:
Clone with SSH:
56 years ago
pkgs finish transition to Vile 6 days ago 3.69 KB
src finish transition to Vile 6 days ago 664.81 KB
vmakepkg finish transition to Vile 6 days ago 67.46 KB
.editorconfig ground zero last Nov 10 123 bytes
.gitattributes ground zero last Nov 10 173 bytes
.gitignore ground zero last Nov 10 474 bytes
README.md fix readme, v.mod 6 days ago 1.97 KB
v.mod fix readme, v.mod 6 days ago 172 bytes
361 KiB

introduction

vpac is a versatile package manager using nspkg, following pacman/libalpm behavior.

features

vpac not only posses full pacman parity, but also extends on top of it:

  • advanced orphan detection: vpac d -tt also lists the dependencies only an optdepends line keeps
  • mirror ranking by latency and download speed (vpac k), written to the files the config requires
  • pkgbuild repos, the AUR among them: search them, review a PKGBUILD, and build and install from them (vpac b, vpac i -b)
  • verification against the package's mtree, not just its file list (vpac v -kk), and of the local db and the sync dependencies (vpac v -D, vpac v -DD)
  • file lookup in the sync file dbs (vpac f), with regular expressions too
  • a json event protocol for other frontends (--ui ipc)
  • configuration programs evaluated by Vile

installation

prerequisites

V (latest git), nspkg, stutter

# clone the repository
git clone https://git.vorelabs.dev/vorelabs/vpac
cd vpac

# asks a few questions, writes /etc/vpac.d/config.vile
./install.vsh

# builds vpac into ./vpac
v . -o vpac

# link vpac to /usr/local/bin/vpac
ln -sf $PWD/vpac /usr/local/bin/vpac

# ranks the mirrors for your system into the config's mirror file
vpac k -w

# search the sync databases
vpac s -r gcc

install.vsh also asks whether to keep vpac's database, cache, keys and hooks in pacman's directories, whether to add the distro's repo of 32-bit libraries (multilib on arch, lib32 on artix), and whether to turn nspkg's download sandbox off.

answer no to the pacman paths question if you mean to keep vpac's state apart from pacman's: a separate database does not know the packages pacman installed.

docs

in the process of being reworked

coming soon

  • drop-in pacman shim
  • configuration profils
  • state snapshots
  • extended flake-like functionality