Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-08 | Use db-functions in create-filelists and sourceballs | Pierre Schmitz | 2 | -58/+25 | |
2010-08-08 | Source PKGBUILD in subshells | Pierre Schmitz | 5 | -62/+68 | |
This patch sources a PKGBUILD in a subshells instead of directly. This way we don't polute our scope or overwrite our vars which might lead to unexpected behavior. | |||||
2010-08-08 | Cleanup db-functions | Pierre Schmitz | 1 | -55/+60 | |
* fix indention * use consistent output * set vars local | |||||
2010-08-08 | Cleanup cron-jobs/adjust-permissions | Pierre Schmitz | 1 | -31/+26 | |
2010-08-08 | Move common function to db-functions | Pierre Schmitz | 10 | -168/+85 | |
db-functions now sets an individual $WORKDIR and implements trap functinos that remove locks on exit or error. There are new functions to lock and unlock the running script. misc-scripts/ftpdir-cleanup was renamed to ftpdir-cleanup-repo as the cron-job had the same name. Script names have to be unique when using db-functions. | |||||
2010-08-08 | use common workdir | Pierre Schmitz | 7 | -22/+2 | |
2010-08-08 | Prepare for variable db file compression | Pierre Schmitz | 2 | -4/+5 | |
2010-08-08 | Remove BUILDSCRIPT variable | Pierre Schmitz | 7 | -12/+11 | |
There is no need to have a variable for things like PKGBUILD that are very unlikely to ever change. | |||||
2010-08-08 | Remove check for old staging dirs | Pierre Schmitz | 1 | -20/+0 | |
devtools take care of this anyway | |||||
2010-08-08 | Cleanup db-remove | Pierre Schmitz | 1 | -18/+5 | |
* There is no need to copy the db into a working dir * cleanup is automatically called on exit | |||||
2010-08-08 | Fix test and add some more checks | Pierre Schmitz | 1 | -4/+5 | |
2010-08-08 | Reduce verbosity | Pierre Schmitz | 5 | -45/+32 | |
Only inform of errors and processes that might take longer. | |||||
2010-08-08 | add transitions tests | Pierre Schmitz | 1 | -0/+86 | |
Theses tests simulate the case of packages with the old repo layout and the new package pool layout. | |||||
2010-08-08 | fix cleaning of any packages and ignore empty repos | Pierre Schmitz | 2 | -4/+6 | |
2010-08-08 | add test for ftpdir-cleanup | Pierre Schmitz | 2 | -1/+99 | |
2010-08-08 | Use package pool instead of $repo/os/any dirs | Pierre Schmitz | 3 | -20/+15 | |
2010-08-08 | Fix old call | Pierre Schmitz | 1 | -3/+3 | |
2010-08-07 | Rewrite db-move | Pierre Schmitz | 1 | -60/+37 | |
* Cleanup code * create symlinks instead of copies * Moving split packages is now (more) atomic * Move old packages to pool if needed | |||||
2010-08-07 | Simplify tests and add tests for db-move | Pierre Schmitz | 2 | -14/+110 | |
2010-08-07 | add test for db-remove | Pierre Schmitz | 2 | -10/+81 | |
2010-08-07 | add an initial set of tests | Pierre Schmitz | 1 | -0/+66 | |
2010-08-07 | add some common functions for our test suite | Pierre Schmitz | 1 | -0/+113 | |
2010-08-07 | add default makepkg.conf for both arches | Pierre Schmitz | 2 | -0/+230 | |
2010-08-07 | add a local copy of shunit2 | Pierre Schmitz | 1 | -0/+1116 | |
This is a local copy of shUnit 2.1.5 from http://shunit2.googlecode.com/ License: LGPL | |||||
2010-08-07 | add some sample PKGBUILDs | Pierre Schmitz | 6 | -0/+76 | |
2010-08-07 | determine correct dir even if config was sourced | Pierre Schmitz | 1 | -1/+1 | |
2010-08-07 | Override default config with config.local | Pierre Schmitz | 1 | -0/+3 | |
This is useful for local testing | |||||
2010-06-29 | don't fail if any package already exists | Pierre Schmitz | 1 | -5/+9 | |
2010-06-29 | don't mix db files of different arches | Pierre Schmitz | 1 | -5/+6 | |
2010-06-28 | sourceballs: Added community and community-testing support | Eric Bélanger | 4 | -6/+16 | |
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||||
2010-06-20 | adjust permissions for package pool | Pierre Schmitz | 1 | -2/+12 | |
2010-06-20 | ftpdir-cleanup: only search for linked packages in actual repos | Pierre Schmitz | 1 | -1/+3 | |
2010-06-20 | Replace PKGPOOL_DIR by a function call | Pierre Schmitz | 4 | -8/+13 | |
The package pool dir depends on the host; so we solve this similar to get_repos_for_host() Note: There is no "os" subdir for the package pool. | |||||
2010-06-20 | add initial .gitignore file | Pierre Schmitz | 1 | -0/+1 | |
2010-05-03 | Add PKGPOOL_DIR config variable | Aaron Griffin | 3 | -5/+8 | |
This is a relative var, descendent from FTP_BASE. We do this because we also need a relative path to the package pool dir | |||||
2010-05-02 | ftpdir-cleanup: Add clean_pkgs function | Aaron Griffin | 1 | -4/+14 | |
This should remove files if they are symlinks (pooled packages) and move them to the cleanup dir if not | |||||
2010-04-28 | ftpdir-cleanup: use 'find' for symlink detection | Aaron Griffin | 1 | -13/+3 | |
This gets rid of a bash loop for link detection | |||||
2010-04-28 | ftpdir-cleanup: Fix cleanup of package pool | Aaron Griffin | 1 | -1/+1 | |
2010-04-28 | Change ftpdir-cleanup scripts for package pooling | Aaron Griffin | 2 | -10/+40 | |
* The per repo script now simply removes files as they should all be symlinks at this time * The cron job script will do the extra job of checking the global pool. If there are no more symlinks, move the pooled package Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> | |||||
2010-04-28 | Remove FTP_OS_SUFFIX variable | Aaron Griffin | 2 | -2/+1 | |
This isn't needed and if "os" ever changes, we have bigger changes. Won't save us any time and it's longer to type. | |||||
2010-04-28 | db-update: Use a master package pool and symlinks | Aaron Griffin | 1 | -7/+19 | |
This should save lots of transfer time with the mirrors :) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> | |||||
2010-04-11 | Do not overwrite TMPDIR defined in config20100411 | Pierre Schmitz | 1 | -6/+6 | |
2010-04-11 | Fail if lock couldn't be obtained; Unlock the repos if ftpdir-cleanup fails | Pierre Schmitz | 5 | -10/+28 | |
2010-03-31 | fix permissions of incoming packages20100410 | Andrea Scarpino | 1 | -0/+2 | |
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||||
2010-03-31 | don't publish *.old files | Pierre Schmitz | 3 | -7/+4 | |
2010-03-13 | moving sourceballs-cleanup | Eric Bélanger | 1 | -61/+0 | |
2010-03-13 | sourceballs: Make cleanup more efficient | Eric Bélanger | 4 | -54/+118 | |
Moved all cleanup related code in sourceballs-cleanup script and moved, now common, functions in db-functions. The cleanup script is now ran after all the new sourceballs have been fetched. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> | |||||
2010-03-03 | Make repo locking an atomic process and added timeout argument | Eric Bélanger | 3 | -19/+42 | |
The repo locking function now use a lock directory instead of a lock file. This makes the lock checking and creation an atomic process. The repo_lock function will now try to obtain a lock every $LOCK_DELAY seconds until it is successful. An optional third argument can be use to give a timeout in seconds; this is intended for scripts that runs unattended. Repo locking is now used in the ftpdir-cleanup script. This should fix the problem of the ftpdir-cleanup script removing the new package instead of the old one (FS#17058). Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> | |||||
2010-03-02 | Merge branch 'filelists' | Dan McGee | 1 | -28/+50 | |
2010-02-27 | create-filelists: include desc/depends entries | Dan McGee | 1 | -3/+7 | |
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> |