2024-08-06 04:27:14 -07:00
2024-05-12 01:11:00 -07:00
2024-05-09 20:17:05 -07:00
2022-03-24 22:02:03 -07:00
2023-01-06 21:54:01 -08:00
2024-07-15 21:24:02 -07:00
2024-08-06 04:27:14 -07:00
2024-05-12 01:10:25 -07:00

Packaging Scripts

The Scripts

  • addpkg - add a package to a repository and then automatically move its package tarfiles to that repository's respective cache directory
  • delpkg - remove a package from a repository by manipulating the db file, and then remove that respective package's tarballs in that repository's directory
  • fqo ("fuzzy pacman -Qo") - using fzf and mlocate, select a file and then pass that file to $(pacman -Qo)
  • pug2 - upload a gist of explicitly installed pacman packages

addpkg

  • Either take all pacman package files in the current working directory or from the command line and add them to the given repository
  • Automatically move said package files to the repository's cache directory

delpkg

  • Take the names of packages and a repository, then delete those packages from said repository
  • Automatically delete all tarfiles of those packages from the repository

fqo

  • Given a query, pass to locate and then pass the results to fzf
  • Select a file and then pass that file to pacman -Qo

pug2

  • Automatically update a gist containing explicitly installed pacman packages on the system
  • Script inspired by ventto/pug

Implementation Notes

  • All code internally uses pathlib for path handling
Description
A set of helper scripts for handling Arch Linux packages
Readme 171 KiB
Languages
Python 72.5%
Shell 27.5%