Age | Commit message (Collapse) | Author |
|
instead from fs
|
|
* use correct locking of the repos
* added test case
* removes file lists of deleted packages
* add compression independent symlink to files db
|
|
|
|
|
|
|
|
* Repositories can now be defined in the config file for each host
* added community-staging, gnome-unstable and kde-unstable
* Exception is the adjust-permission cron-job; but we might want to use acls in future anyway
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
|
|
These functions are copied from makepkg
|
|
|
|
|
|
Make the files DB include everything the original packages DB includes
instead of just being 'files' entries. This will allow tools to do more with
these generated files and they can be used as a drop-in replacement for a
regular package database.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Instead of wasting time extracting .PKGINFO twice from every single package
in the repos, use the package DB to eliminate most of the heavy lifting.
This way we only need to worry about looking at the packages that actually
have changed since the last time we built the package database.
This should give a noticeable performance increase to this job in addition to
reducing IO load and unnecessary reading of every package file.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This will set up changes soon to come where we actually use the real repos
DB file so I don't want variable name confusion.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* Specify lock name once
* Use new script name everywhere
* Clean up tabs/spaces and add a modeline. This isn't necessarily the one we
wanted to standardize on, but I picked the one the entire file is written
to at the moment.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
In the past, pkgname-pkgver-pkgrel was extracted from the filename and sadly named "pkgname". Restore this behaviour
|
|
|
|
|
|
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
* Quote absolutely everything
* Move directory slashes around, for readability
* Move a cd to the top of the loop
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|