summaryrefslogtreecommitdiffstats
path: root/db-functions
AgeCommit message (Collapse)AuthorFilesLines
2015-05-27add some TODOsgitpkgsv2Florian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27add some TODOsFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27make tests.d/testing2x workFlorian Pritz1-0/+26
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27make tests.d/ftpdir-cleanup workFlorian Pritz1-2/+13
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27INCOMPLETE: make tests.d/db-update.sh workFlorian Pritz1-2/+2
This depends on my setup so it can call an adjusted archrelease. Needs to be fixed properly. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27be more quiet unless errors occurFlorian Pritz1-4/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27make test.d/db-move.sh passFlorian Pritz1-2/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27make test.d/create-filelists.sh passFlorian Pritz1-3/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27fix configFlorian Pritz1-3/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27implement getting files from svnFlorian Pritz1-0/+10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27add tag to get_file_from_pkgrepoFlorian Pritz1-3/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27check the pkgbuild before adding stuff to the repoFlorian Pritz1-1/+48
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27remove unused functionFlorian Pritz1-45/+0
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27add sudo supportFlorian Pritz1-0/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27make db-move work with pkgnamesFlorian Pritz1-0/+18
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27bugfixFlorian Pritz1-1/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27fix db-updateFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27cleanupFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27fix arch_db_addFlorian Pritz1-12/+16
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27cleanupFlorian Pritz1-20/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27use global variable to track history changes and commit everything at onceFlorian Pritz1-4/+15
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27add historical git repo; fix db-moveFlorian Pritz1-2/+47
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2015-05-27somewhat workingFlorian Pritz1-40/+35
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-11-01disallow packages without a valid PACKAGERDave Reisner1-0/+7
Shame. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2013-11-02Add lastupdate file20131102Florian Pritz1-0/+10
This allows for faster checking if an update might be needed and helps to let reporead run when something changed. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-11-02sourceballs: fix ACL issues on nymeriaJan Alexander Steffens (heftig)1-0/+9
ACLs from the WORKDIR were used, leading to problems as these weren't world-readable. Fix follows ftpdir-cleanup. Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-11-04Grant the SVNUSER access to the working directoryPierre Schmitz1-1/+6
2012-10-27Add the possibility to run all svn commands with a different userPierre Schmitz1-2/+10
* A SVNUSER can be configured in the config file * This user needs to be able to call svn without a password
2012-10-03Use pacman-key to check signatures as it now uses a correct exit value20121003Pierre Schmitz1-13/+0
2012-08-05grep has been moved to /usr20120805Pierre Schmitz1-1/+1
2012-06-10Remove support for packages that are not in the package poolPierre Schmitz1-11/+0
2012-04-29Respect TMPDIR config when creating the working directoryPierre Schmitz1-1/+1
2012-03-26Use gpg status-file instead of status-fdPierre Schmitz1-3/+1
2011-12-19Avoid calls to basenamePierre Schmitz1-12/+12
2011-12-18Validate package signatures on db-updatePierre Schmitz1-0/+15
2011-04-02Add simple checks for handling signed packages20110409Pierre Schmitz1-0/+10
In addition to this dbscripts wont accept unsigned pacakges when REQUIRE_SIGNATURE is set to true. Note: At this point no signature verification is performed at all.
2011-03-26Use repo-add to create the files database for each repo20110326Pierre Schmitz1-5/+19
2011-03-23Add support for packages which use the epoch variablePierre Schmitz1-1/+14
2011-01-15Move repo manipulation code into common functionsPierre Schmitz1-0/+28
repo-add and repo-remove is now indirectly called by arch_repo_add/remove. This simplifies future extensions like incremental file list creations. See FS#11302
2010-12-09repo_lock: check if repo is locked by repo-add or repo-removePierre Schmitz1-0/+7
2010-12-02db-update: Fail if a set of split packages is incompletePierre Schmitz1-1/+57
2010-11-23Rewrite sourceballs to increase performance and reliabilityPierre Schmitz1-33/+2
* Decrease file stats as much as possible * Create a list of all packages and meta data only once * Create a list of available source packages only once * Create a list of expected packages only once * Combine all three scripts into one to share data and code * Use as much information from the db files as possible and avoid using svn * Avoid attempting to create the same source package twice Logic works as follows: 1) create a list of all packages 2) Check for each package if we need a src package and create one 3) During this process create a list of all src packages that should be there 4) Diff both lists for the cleanup
2010-11-22Set CARCH as needed by some PKGBUILDsPierre Schmitz1-0/+3
PKGBUILDs expect CARCH to be set. This is needed when sourcing them directly.
2010-09-12_grep_pkginfo: use a more specific formatPierre Schmitz1-6/+6
2010-09-12check_pkgsvn: Don't assume the same PKGBUILD for all architecturesPierre Schmitz1-5/+5
2010-09-12check_pkgsvn: check if pkgname is in sync with svnPierre Schmitz1-12/+16
In addition to pkgver and pkgrel it is checked if pkgname is defined in the PKGBUILD.
2010-09-11Fix check_pkgreposPierre Schmitz1-6/+6
Don't use globing as this will match a package of the same version but another arch. We can be more specific here as there are no longer packages without $arch extension.
2010-09-11Use local config instead of guessing by hostnamePierre Schmitz1-21/+8
Using the hostname to decide which repos to use is not releiable and hard to test. Instead use config.local to configure these. config files for sigurd and gerolde were added which can be copied or symlinked to config.local on the specific host.
2010-09-11Fix check_repo_permissionPierre Schmitz1-6/+4
2010-09-05Check if package exists in any other repository on update20100906Pierre Schmitz1-0/+25
This also checks if the sam package exists within the old package layout (without package pool)