pacman/contrib
Jonathan Frazier a79661225a pacdiff: improve speed, accuracy finding active configs using pacmandb
This is a new search type, using -p or --pacmandb options. It reads
config file locations directly from the local pacman db. It will find
active configs anywhere they are defined in installed packages. It is
not dependant on outside configs such as updatedb.conf or scanning a
large set of directories for find.

This will find more pacnews than find when searching with the current
default of /etc, and it is faster than both find and updatedb when
searching the entire fs. When run directly after an update, the local db
is more likely to be cached than all files in /etc or / as other methods
read. This will increase performance further post upgrade.

After a package is removed and a pacsave is created, this method will
not find these pacsaves until the base config is added to the local db
again. These files have no influence in a working system and only take
up a few blocks of disk space.

Active configs need to be dealt with immediately to keep a system
working. pacsaves related to removed configs can remain for weeks or
months without problems. I would recommend occasionally running other
methods such as --locate to remove them.

Signed-off-by: Jonathan Frazier <eyeswide@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
2013-07-30 13:00:10 +10:00
..
.gitignore contrib: update .gitignore 2013-06-18 13:27:31 +10:00
bacman.sh.in contrib: Add color to bacman 2013-03-08 17:04:40 +10:00
bash_completion.in Add --noprepare option to makepkg 2013-04-30 21:04:21 +10:00
checkupdates.sh.in checkupdates: Consistency in environmental variable name 2013-06-18 12:53:26 +10:00
Makefile.am contrib: adding checkupdates 2013-03-26 15:55:51 +10:00
paccache.sh.in paccache: make --help output look nice on 80 width terminal 2013-06-06 13:47:32 +10:00
pacdiff.sh.in pacdiff: improve speed, accuracy finding active configs using pacmandb 2013-07-30 13:00:10 +10:00
paclist.sh.in contrib: remove executable bit from input files 2012-04-30 17:37:29 -05:00
paclog-pkglist.sh.in make paclog-pkglist understand 'downgraded' 2013-03-10 09:01:56 +10:00
pacscripts.sh.in pacscripts: Update for pacman changes 2013-06-18 12:55:57 +10:00
pacsearch.in contrib: remove executable bit from input files 2012-04-30 17:37:29 -05:00
pacsysclean.sh.in contrib/pacsysclean: use a standard vim modeline 2012-05-20 17:41:32 -05:00
PKGBUILD.vim PKGBUILD.vim: improve 'options' highlighting, add extra keywords 2012-08-07 20:59:27 -05:00
rankmirrors.sh.in rankmirrors: move to contrib/ 2012-04-24 20:33:08 -04:00
README contrib: adding checkupdates 2013-03-26 15:55:51 +10:00
updpkgsums.sh.in unset executable bit on updpkgsums.sh.in 2013-02-07 10:48:11 +10:00
vimprojects contrib/ follow-up work 2010-10-12 08:26:50 -05:00
zsh_completion.in Merge branch 'maint' 2013-05-07 12:59:44 +10:00

Here is a brief description of the files included in this directory:

PKGBUILD.vim - a vim/gvim syntax file for PKGBUILDs. Colors known variable
names, highlights common errors such as invalid characters in pkgname or
pkgver, etc.

bacman - regenerate a pacman package based on installed files and the pacman
database entries. Useful for reuse, or possible config file extension.

bash_completion - a bash completion script for pacman, install in
/etc/bash_completion.d/ for use (but rename to something descriptive!).

checkupdates - print a list of pending updates without touching the system
sync databases (for safety on rolling release distributions).

paccache - a flexible package cache cleaning utility that allows greater
control over which packages are removed.

pacdiff - a simple pacnew/pacorig/pacsave updater for /etc/.

paclist - list all packages installed from a given repository. Useful for
seeing which packages you may have installed from the testing repository,
for instance.

paclog-pkglist - lists currently installs packages based pacman's log.

pacscripts - tries to print out the {pre,post}_{install,remove,upgrade}
scripts of a given package.

pacsearch - a colorized search combining both -Ss and -Qs output. Installed
packages are easily identified with a *** and local-only packages are also
listed.

pacsysclean - lists installed packages sorted by size.

rankmirrors - ranks pacman mirrors by their connection and opening speed.

updpkgsums - performs an in place update of the checksums in a PKGBUILD.

vimprojects - a project file for the vim project plugin.

zsh_completion - a zsh completion script, install (with a rename) to
/usr/share/zsh/site-functions/.