Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-17 | Consistently use "$(dirname "$(readlink -e "$0")")" | Luke Shumaker | |
This does correct handling of - executing a program by symlink - any weird characters in the full path - I'm sure there's another case I thought about when I originally did this. | |||
2016-04-17 | Add "#!/hint/bash" to the beginning of several files. | Luke Shumaker | |
It is a method of notifying text-editors that a file is in Bash syntax without giving it a propper shebang (which would be confusing, as it would suggest that the file should be executable), as well as working across virtually all text-editors (unlike "-*- Mode: Bash -*-" or whatever). | |||
2016-04-17 | Use `grep &>/dev/null` instead of `grep -q` when operating on piped stdin. | Luke Shumaker | |
`grep -q` may exit as soon as it finds a match; this is a good optimization for when the input is a file. However, if the input is the output of another program, then that other program will receive SIGPIPE, and further writes will fail. When this happens, it might (bsdtar does) print a message about a "write error" to stderr. Which is going to confuse and alarm the user. I'll add that this is not purely hypothetical--it has happened to me while running the test suite. | |||
2016-04-17 | test/: Make which architectures to build for configurable. | Luke Shumaker | |
2016-04-17 | test/: make TMPDIR configurable via config.testing | Luke Shumaker | |
Because common.inc is included in nested calls, to prevent later calls from overriding earlier calls, we export MASTER_TMPDIR to signal the top-level value. Calls to mktemp have also bee adjusted to obey TMPDIR. | |||
2016-04-16 | Fix quoting around variables, especially arrays. | Luke Shumaker | |
Other than pure quoting, this involved: - swapping */@ for array access in a few places - fiddling with printf in a pipeline - replacing `$(echo ${array[@]})` with `${array[*]}` - replacing `echo $(...)` with `...` When searching for these things, I used the command: grep -Prn --exclude-dir=.git '(?<!["=]|\[\[ |\[\[ -[zn] )\$(?!{?#|\(|\? )' and ignored a bunch of false positives. | |||
2013-01-31 | db-update: Ignore forgeign staging packages | Pierre Schmitz | |
2012-10-27 | Add the possibility to run all svn commands with a different user | Pierre Schmitz | |
* A SVNUSER can be configured in the config file * This user needs to be able to call svn without a password | |||
2012-10-03 | test: Do not suppress devtools output | Pierre Schmitz | |
2012-06-10 | Make repositories for testing2x configurable | Pierre Schmitz | |
2012-06-10 | Remove support for packages that are not in the package pool | Pierre Schmitz | |
2012-06-10 | Remove support for packages in legacy $repo/os/any directories | Pierre Schmitz | |
2012-04-29 | Source the config before the functions as the latter references the former | Pierre Schmitz | |
2012-04-29 | Respect TMPDIR config when creating the working directory | Pierre Schmitz | |
2012-02-19 | Fix typo and leftover shm usage | Pierre Schmitz | |
2012-02-19 | Add at least one positive signing test | Pierre Schmitz | |
2011-12-19 | Avoid calls to basename | Pierre Schmitz | |
2011-12-18 | Validate package signatures on db-update | Pierre Schmitz | |
2011-11-05 | Add simple tests for db-repo-add and db-repo-remove | Pierre Schmitz | |
2011-11-05 | Add test for moving multiple packages at once | Pierre Schmitz | |
2011-11-05 | Split package database test functions from check* functions | Pierre Schmitz | |
This way we can check consitency of databases independent from a svn repo | |||
2011-11-05 | check svn entry for any packages | Pierre Schmitz | |
2011-11-05 | db-remove: support removing multiple packages at once | Pierre Schmitz | |
2011-11-05 | Adjust tests to use new db-remove interface | Pierre Schmitz | |
2011-08-13 | update shunit to 2.1.6 | Pierre Schmitz | |
2011-07-24 | Fix test for use with recent namcap releases | Pierre Schmitz | |
2011-07-24 | Use /tmp instead of /dev/shm for temporary files | Pierre Schmitz | |
2011-04-02 | Add simple checks for handling signed packages | Pierre Schmitz | |
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-26 | Use repo-add to create the files database for each repo | Pierre Schmitz | |
2011-03-26 | Adjust test for latest devtools; Be less generic with package extension | Pierre Schmitz | |
2011-03-23 | Add support for packages which use the epoch variable | Pierre Schmitz | |
2011-01-27 | test: add testUpdateSameAnyPackageToSameRepository | Pierre Schmitz | |
2010-12-02 | db-update: Fail if a set of split packages is incomplete | Pierre Schmitz | |
2010-11-27 | Fix test: copy target of symlinks | Pierre Schmitz | |
2010-11-25 | Rewrote create-filelists | Pierre Schmitz | |
* use correct locking of the repos * added test case * removes file lists of deleted packages * add compression independent symlink to files db | |||
2010-11-25 | sourceballs no longer depends on ftpdir-cleanup being run | Pierre Schmitz | |
2010-11-25 | Split tests into several files | Pierre Schmitz | |
* tests can be run seperatly * runTest will run all tests that have the x bit set | |||
2010-11-25 | Provide more real test packages | Pierre Schmitz | |
* Use devtools instead of plain makepkg * This is a preparation for some more advanced test cases. | |||
2010-11-25 | Added seperate dryrun options for the packages and sources cleanup scripts | Eric Bélanger | |
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||
2010-11-22 | sourceballs: add for split packages | Pierre Schmitz | |
2010-11-21 | sourceballs: Support any packages | Pierre Schmitz | |
2010-11-21 | sourceballs: Don't write any log | Pierre Schmitz | |
This is consistent with the other dbscripts. The output will be send to the mailinglist. | |||
2010-11-20 | Simplify sourceballs creation | Pierre Schmitz | |
* Read package lists directly from DB file * Make SVNREPO configurable | |||
2010-11-20 | Fix sourceballs cron job | Pierre Schmitz | |
* add unit test for sourceballs and cleanup * introduce SRCPOOL and LOGDIR variables in config | |||
2010-09-11 | Use local config instead of guessing by hostname | Pierre Schmitz | |
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-05 | Check if package exists in any other repository on update | Pierre Schmitz | |
This also checks if the sam package exists within the old package layout (without package pool) | |||
2010-09-05 | Fix updating of same package into different repositories at aonce | Pierre Schmitz | |
See FS#20745 | |||
2010-09-01 | Simplify repo configuration | Pierre Schmitz | |
* 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> | |||
2010-08-22 | add makepkg.conf for [multilib] | Pierre Schmitz | |
2010-08-18 | Fix cleanup of old packages | Pierre Schmitz | |
* This should fix the cleanup of packages that were not within the pacakge pool before being updated. * a test case for this was added |