summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-17test/lib/common.inc: fix a bad mergeLuke Shumaker
2016-04-17mv db-check-nonfree{,-in-db}Luke Shumaker
2016-04-17Give things more consistent names.Luke Shumaker
2016-04-17Move xihh's tests out of tests/ into tests-xihh/Luke Shumaker
2016-04-17Merge branch 'lukeshu/xbs' into testmergeLuke 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-17get tests from lukeshu/archlinux+cleanup+librelibLuke Shumaker
2016-04-16db-pick-mirror: filter out URLs with incomplete informationLuke Shumaker
2016-04-16db-pick-mirror: use Net::HTTP instead of RestClientLuke Shumaker
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 chrootarchlinuxLevente 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.
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-08These changes to abslibre were sitting on the serverParabola Repo
2015-06-08config: remove mips64el from ARCHESLuke Shumaker
2015-06-08db-update: get the correct directory for xbsLuke Shumaker
2015-06-08rename libremessages to db-libremessages to avoid masking libretools ↵Luke Shumaker
libremessages
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-06-05Remove cron-jobs/sourceballs2.Luke Shumaker
It was "simpler" than cron-jobs/sourceballs because it iterated over the files in $SVNREPO directly, rather than getting the list from $FTP_BASE, and then getting the corresponding files from $SVNREPO. This fails with XBS because there is no single `abstree` path, there is one for each architecture.
2015-06-05Use XBS instead of the SVN/ABS grossness.Luke Shumaker
* config: drop SVNREPO * cron-jobs/sourceballs: Replace commented out SVN code and active ABS code with XBS code. The XBS code is fairly similar to the SVN code, the difference being that it uses `xbs releasepath` instead of `svn export`. * db-functions: - Rename check_pkgsvn to check_pkgxbs - check_pkgxbs: Drop the `svn export` bit, as `xbs releasepath` assumes that a working directory already exists. Replace the paths created by the `svn export` with calls to `xbs releasepath`. - check_splitpkgs: Drop the ABS `cp` -r bit, as `xbs releasepath` assumes that a working directory already exists. Replace the paths created by the `cp -r` with calls to `xbs releasepath`. Rename the variables and temporary files s/svn/xbs/ . * db-move: - First loop: Rename the variable svnrepo_from to xbsrepo_from, and get the value from `xbs releasepath`. - Second loop: Run `xbs move` before the inner loop to get a list of architectures. Rename the variable `svnrepo_from` to `xbsrepo_to`, and get the value for it from `xbs releasepath`. Because xbs guarantees that the PKGBUILD exists for the architectures listed, replace the check for whether the PKGBUILD exists with `if true`, to keep merging easy (as opposed to removing the if, and de-indenting the whole thing). * db-remove: Get the location of the PKGBUILD from `xbs releasepath`, call `xbs unrelease`, and adjust a message to use `xbs name` and mention the appropriate repo/arch pair.
2015-06-05db-functions: do better printing of whitespace-separated filenamesLuke Shumaker
2015-05-25Backport simple changes from the lukeshu/cleanup+xbs2+stuff branchLuke Shumaker
- db-move: rename dir_to to xbsrepo_to - db-move: fix typo in comment - db-move: add a diagnostic message - db-remove: wrap a line
2015-05-25Merge branch 'lukeshu/cleanup' into lukeshu/xbsLuke Shumaker
# Conflicts: # abslibre # config # cron-jobs/repo-sanity-check # db-remove # db-sync.conf
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-25Remove pointless differences from Arch LinuxLuke Shumaker
2015-05-25Handle empty things (from Arch Linux)Luke Shumaker
2015-05-25Clean up shebangsLuke Shumaker
2015-05-25db-remove: pull the path ${SVNREPO}/$repo/$pkgbase into a variable.Luke Shumaker
This way, if it changes, it only needs to be changed in one place.
2015-05-25db-remove: remove_pkgs= should have been remove_pkgs+=Luke Shumaker
Because of this mistake, it didn't properly handle specifying multiple pkgbases.
2015-05-25repo-sanity-check: expand on the comment at the top.Luke Shumaker
2015-05-25cron-jobs/update-abs-tarballs: Remove; everything is on the same server now.Luke Shumaker
It just ran `rsync` to sync things between servers.
2015-05-24testing2x: Remove; it has no place in Parabola.Luke Shumaker
It was for moving packages from testing to [core] or [extra] (automatically picking the right one). We, of course, don't do that.
2015-05-24abslibre: misc changes, look at the diffParabola