Commits

Author Commit Message Labels Comments Date
Evan Gates
pacrm, backup files are not handled quite right, i just move them to file.pacback and put in the new one, no matter what, also i don't check for dependencies, that's your job
Evan Gates
added -m flag to find only meta packages and -M flag to find only non meta packages, in all but pacinfo default to both, in pacinfo default to non-meta
Evan Gates
change meta-packages directory name and add desc and depends files so pacman doesn't complain or get confused
Evan Gates
pacprovides, for each repository (local, sync/extra, sync/community, sync/core) run 'pacsearch -d $repo -o "" | pacprovides -d $repo' as root to create the meta-package directories, afterwards meta-packages will show up in searches and in pacdeps
Evan Gates
yeah, add the file, that's important
Evan Gates
some work towards meta packages
Evan Gates
ignore version specification in depends so we can actually return all dependencies, for now we'll just assume you're up to date, still have to figure out provides
Evan Gates
pacdeps fix, not sure what i was thinking...
Evan Gates
cleanup
Evan Gates
created pacutil.h and made changes to makefile so i don't have to include pacutil.c anymore
Evan Gates
small fixes
Evan Gates
'files' doesn't exist in sync directory, so don't err() if we can't open it
Evan Gates
we check package name against the directory, so setting db = "" and searching for pacman would return /var/lib/pacman, wrong, add a 'check' to make sure the directory name has dashes in it (we were counting dashes already to remove them...)
Evan Gates
all options not recognized in read_opts are placed in flags[] for use by individual programs, read_opts can now read in a newline seperated list of arguments (packages), added -n flag to pacsearch, which prints out the packages given to it that are not already installed (can now do `pacdeps $pkgname | pacsearch -n` to get a list of packages that are needed for $pkgname but not installed)
Evan Gates
default to "sync" for pacdeps, fixes a few problems
Evan Gates
initial go at pacdeps, inefficient and doesn't properly handle pkgname>=pkgver dependencies etc.
Evan Gates
pacsearch will search local and sync repos by default, the -d local or -d sync can still be added, in addition -d sync/community etc. can be used to search within a sepcific sync repo
Evan Gates
indentation fix, not sure why i had expandtab set
Evan Gates
pacsearch and pacinfo working (i think)
Evan Gates
initial commit, makefile is bogus, pacsearch 'works', pacinfo is getting there