summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-17Use the librelib version of get_full_versionlukeshu/archlinux+cleanup+librelibLuke Shumaker
2016-04-17db-functions: get CARCH from makepkg.confLuke Shumaker
2016-04-17db-functions: use librelib instead of having copies hereLuke Shumaker
2016-04-17devlist-mailer: Make LIST and FROM configurablelukeshu/archlinux+cleanupLuke Shumaker
2016-04-17Normalize to tab indent.Luke Shumaker
2016-04-17db-functions: Fix check_repo_permission checking all architecturesLuke Shumaker
It mistakenly looped over just the first element of the ARCHES array, instead of the entire array. This meant that it only checked the permissions for one architecture.
2016-04-17Consistently 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-17Add "#!/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-17Use `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-17test/: Make which architectures to build for configurable.Luke Shumaker
2016-04-17test/: make TMPDIR configurable via config.testingLuke 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-17Export TMPDIR, and use mktemp -t instead of making it part of the templateLuke Shumaker
2016-04-17Use += instead of jumping through hoops.Luke Shumaker
The += operator was introduced in Bash 3.1, and was already used in some places in dbscripts, but not everywhere. For normal strings, this isn't a big deal, but appending to an array without using += is nasty.
2016-04-16Use printf-formatters instead of string interpolation on msg, error, etc.Luke Shumaker
2016-04-16Fix 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.
2016-02-16disallow packages not built in a chrootLevente Polyak
double shame! This will detect both, packages with missing .BUILDINFO (built in non updated environments) and packages that are not built in a chroot at all (indicated by non default builddir). Signed-off-by: Levente Polyak <anthraxx@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2016-02-07Update bundled makepkg.confPierre Schmitz
2016-02-07Remove separate creation of file databasesPierre Schmitz
With pacman 5.0 repo-add and repo-remove handle file databases by default.
2014-11-01disallow packages without a valid PACKAGERDave Reisner
Shame. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2014-11-01cron-jobs: Fix issues with empty repositoriesPierre Schmitz
2013-11-02Add lastupdate fileFlorian Pritz
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)
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>
2013-01-31db-update: Ignore forgeign staging packagesPierre Schmitz
2013-01-20ftpdir-cleanup: fix ACL issues on nymeriaFlorian Pritz
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-11-25Fix sourceballs permissionsPierre Schmitz
2012-11-04Grant the SVNUSER access to the working directoryPierre Schmitz
2012-11-03Adjust configuration for use on nymeria.archlinux.orgPierre Schmitz
2012-10-27Add the possibility to run all svn commands with a different userPierre Schmitz
* 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 valuePierre Schmitz
2012-10-03test: Do not suppress devtools outputPierre Schmitz
2012-08-05grep has been moved to /usrPierre Schmitz
2012-07-28db-move: Remove double space in tag_listFlorian Pritz
This fixes this message which shouldn't have one space after the opening brace and two space before x86_64. "db-move: moved cups-filters from [testing] to [extra] ( i686, x86_64)" Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-06-16Fix handling of package sources containg files with an @ characterPierre Schmitz
2012-06-11Reduce output when downloading sourcesPierre Schmitz
2012-06-10Make repositories for testing2x configurablePierre Schmitz
2012-06-10Use our own copy of makepkg.conf instead of depending on the host onePierre Schmitz
2012-06-10Remove support for packages that are not in the package poolPierre Schmitz
2012-06-10Remove support for packages in legacy $repo/os/any directoriesPierre Schmitz
2012-06-10db-move: commit all arches at onceFlorian Pritz
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-04-29Source the config before the functions as the latter references the formerPierre Schmitz
2012-04-29Respect TMPDIR config when creating the working directoryPierre Schmitz
2012-03-26Use gpg status-file instead of status-fdPierre Schmitz
2012-03-07Update sourceballs.skipPierre Schmitz
2012-03-07sourceballs: If ALLOWED_LICENSES is empty create source packages for every ↵Pierre Schmitz
package
2012-02-19Do not check source gpg signaturesPierre Schmitz
2012-02-19Sourceballs: Output details if fetching the sources failedPierre Schmitz
2012-02-19Fix typo and leftover shm usagePierre Schmitz
2012-02-19Add at least one positive signing testPierre Schmitz
2012-01-14Add [multilib-staging] to sigurd configPierre Schmitz
2011-12-19Avoid calls to basenamePierre Schmitz