summaryrefslogtreecommitdiff
path: root/db-update
AgeCommit message (Collapse)Author
2016-04-17Merge branch 'master' into lukeshu/xbsLuke Shumaker
# Conflicts: # config # cron-jobs/db-cleanup # db-check-nonfree # db-import-archlinux-any-to-ours # db-import-archlinux-pkg # db-import-archlinux-src # test/lib/common.inc # test/test.d/create-filelists.sh # test/test.d/db-update.sh # test/test.d/testing2x.sh
2016-04-17Merge branch 'lukeshu/archlinux+cleanup+librelib' into lukeshu/xbsLuke 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-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-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>
2015-11-24prevent duplicate repos from locking themselvesNicolás Reynolds
2015-06-08Merge branch 'master' into lukeshu/xbsLuke Shumaker
# Conflicts: # abslibre # any-to-ours # config # db-cleanup # db-functions # db-libremessages # db-move # db-sync
2015-06-08db-update: get the correct directory for xbsLuke Shumaker
2015-06-05db-update: Hook in to `xbs release-server` as it exists today.Luke Shumaker
Obviously, this is an exercise in noticing a leaky abstraction. - assumes that the PKGBUILD is staged to a real directory going in - assumes where that is - assumes how to clean that up I believe the correct solution will require modifying XBS. Following is what I believe the changes should be. - change release-server to take "REPO ARCH DIR1 [DIR2...]", instead of using the CWD. - but this still assumes that the caller knows where release-client put the PKGBUILD, so change it to take "REPO ARCH PKGBASE1 [PKGBASE2...]". - this means that release-server knows to check if a PKGBUILD exists at the specified arch, and fall back to 'any' if it doesn't. - an alternative would be passing in the .pkg.tar filenames, and either parsing the filename or using db-functions to figure out the arch. - ??? how to get rid of cleaning up assumptions.
2015-05-25Use $(xbs name) instead of saying XBS.Luke Shumaker
2015-05-25Pull in more changes from lukeshu/archlinux+cleanup+librelibLuke Shumaker
2015-05-25db-update: Remove debug codeLuke Shumaker
2015-05-24db-update: Remove debugging codeParabola
2015-05-17Merge branch 'master' into lukeshu/xbsLuke Shumaker
2014-11-01disallow packages without a valid PACKAGERDave Reisner
Shame. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2014-07-04Fix having a flexible PKGEXTLuke Shumaker
2014-06-24db-update: get the list of repos the same way as upstream ArchLuke Shumaker
The largest advantage of this is that it implicitly ignores directories we don't want to consider repos.
2014-06-18silly whitespace and similar fidlingLuke Shumaker
2014-06-18Use printf formatters instead of string interpolation.Luke Shumaker
I used this command to find them: egrep -r --exclude-dir={test,.git} '(plain|msg|msg2|warning|error|stat_busy|stat_done|abort|die)\s+"?[^"]*\$'
2014-06-18Clean up quoting.Luke Shumaker
2014-06-18more quoting an printf fixesLuke Shumaker
2014-01-16Merge branch 'master' into cleanupLuke Shumaker
Conflicts: cron-jobs/ftpdir-cleanup cron-jobs/sourceballs db-functions db-move db-remove db-sync db-update get-repos local_config testing2x yf-update
2014-01-15db-update: add shopt -s nullglob and remove mail script to ↵André Fabian Silva Delgado
maintenance@lists.parabolagnulinux.org because it's unstable
2014-01-11modification on db-update for mailaurelien
2014-01-08Avoid using $(basename $var) , use ${var##*/} insteadLuke Shumaker
2014-01-08Fix some array quoting.Luke Shumaker
2014-01-08Normalize to load config then local_config then db-functionsLuke Shumaker
2014-01-08Be very careful about using $0.Luke Shumaker
2014-01-08Fix quoting on arrays.Luke Shumaker
2014-01-08Fix some array quoting.Luke Shumaker
2014-01-08Merge branch 'master' into cleanupLuke Shumaker
Conflicts: db-remove db-update local_config
2014-01-08db-update: remove 'other' from repo blacklist now that issue #460 is addedLuke Shumaker
2014-01-08Don't error about permissions on empty staging repos (feature #460)Parabola
2014-01-06fix thingsParabola
2014-01-05db-update: add hook for publishing generated sourcesParabola
2013-12-31clean upLuke Shumaker
2013-12-31Merge branch 'cleanup' into master-mergeLuke Shumaker
Conflicts: config cron-jobs/sourceballs db-functions db-move db-remove db-update
2013-12-31`readlink -e` all "$0"sLuke Shumaker
2013-06-17use xbs, not svnLuke Shumaker
2013-01-31db-update: Ignore forgeign staging packagesPierre Schmitz
2012-10-03Use pacman-key to check signatures as it now uses a correct exit valuePierre Schmitz
2012-09-13db-update: Ignore repos in repos.Michał Masłowski
2012-08-21This is clearly not the wayNicolás Reynolds
2012-08-21FixNicolás Reynolds
2012-06-26Re-enabled check on other repos; skip already released packagesNicolás Reynolds
2012-04-29Source the config before the functions as the latter references the formerPierre Schmitz
2011-12-19Avoid calls to basenamePierre Schmitz
2011-12-18Validate package signatures on db-updatePierre Schmitz