Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-17 | Merge branch 'lukeshu/archlinux+cleanup+librelib' into lukeshu/xbs | Luke Shumaker | |
# Conflicts: # config # cron-jobs/makepkg.conf # cron-jobs/update-web-db # db-functions # db-move # db-remove # db-update # test/lib/common.inc # test/test.d/create-filelists.sh # test/test.d/db-update.sh # testing2x | |||
2016-04-17 | Use the librelib version of get_full_versionlukeshu/archlinux+cleanup+librelib | Luke Shumaker | |
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-17 | test/lib/common.inc: fix a bad merge | Luke Shumaker | |
2016-04-17 | Move xihh's tests out of tests/ into tests-xihh/ | Luke Shumaker | |
2016-04-17 | Merge branch 'lukeshu/xbs' into testmerge | Luke Shumaker | |
# Conflicts: # test/lib/common.inc # test/test.d/create-filelists.sh # test/test.d/db-move.sh # test/test.d/db-remove.sh # test/test.d/db-repo-add.sh # test/test.d/db-repo-remove.sh # test/test.d/db-update.sh # test/test.d/ftpdir-cleanup.sh # test/test.d/sourceballs.sh | |||
2016-04-17 | get tests from lukeshu/archlinux+cleanup+librelib | Luke Shumaker | |
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. | |||
2014-06-18 | more quoting an printf fixes | Luke Shumaker | |
2014-06-18 | The eval+printf %q thing wasn't worth the hard-to-read code | Luke Shumaker | |
2014-06-17 | more quoting fixes | Luke Shumaker | |
2013-12-31 | Merge branch 'cleanup' into master-merge | Luke Shumaker | |
Conflicts: config cron-jobs/sourceballs db-functions db-move db-remove db-update | |||
2013-06-29 | use the get_full_version from libremessages (actually, common.sh) | Luke Shumaker | |
It works properly when split packages have different versions. | |||
2013-06-17 | use xbs, not svn | Luke Shumaker | |
2013-06-17 | fix tests | Luke Shumaker | |
- properly set SRCPOOL - have SVNREPO point to the checkout, not the server repo - in case TMPDIR has a symlink in it, use `readlink -e` on both sides of inspecting symlinks. - use `grep {pattern} &>/dev/null` instead of `grep -q {pattern}`. Because `grep -q` is able to bail early, a program being piped in to it may spit out a message about a write error to stderr. | |||
2013-06-16 | fix TMPDIR | Luke Shumaker | |
2013-06-16 | Don't make assumptions about the host architecture. | Luke Shumaker | |
2013-06-12 | test/: use libremakepkg instead of arch-*build | Luke Shumaker | |
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 | |
2012-01-08 | Merge branch 'master' of https://projects.archlinux.org/git/dbscripts | Nicolás Reynolds | |
Conflicts: db-remove | |||
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-10-30 | Merge branch 'master' of https://projects.archlinux.org/git/dbscripts | Nicolás Reynolds | |
2011-08-13 | update shunit to 2.1.6 | Pierre Schmitz | |
2011-08-03 | Merge branch 'master' of https://projects.archlinux.org/git/dbscripts | Nicolás Reynolds | |
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-16 | Merge branch 'master' of git://projects.archlinux.org/dbscripts | Joshua Ismael Haase Hernández | |
Conflicts: db-functions | |||
2011-04-16 | Merge branch 'master' of ~/packages/dbscripts into prueba | Joshua Ismael Haase Hernández | |
Conflicts: .gitignore db-functions | |||
2011-04-15 | Python parts ready for bash usage in python 2 and 3 | Joshua Ismael Haase Hernández | |
2011-04-13 | Fixed more errors and refactoring | Joshua Ismael Haase Hernández | |