User:Smalyshev (WMF)/Dump Test

Setting up dumps test for RDF dumps on mw-vagrant (requires working wikidata install with some items loaded):


 * 1) Enable   role for vagrant.
 * 2) Copy missing scripts:   and   to ,   and.
 * 3) Script expected   but vagrant has  . Fixed with:
 * 4)   does not exist, created.
 * 5)   requires the scripts to be run under , so that all output and temp directories need to be writable by
 * 6)   is hardcoded and too big for vagrant test setup, patched manually
 * 7) Minimal dump size too small for test dump (hardcoded), patched manually
 * 8)   hardcoded, too large for test dump, patched manually
 * 9)   is not writable by , needs to be fixed externally since vagrant does not own permissions.
 * 10)   does not exist, created manually

used: confsdir="/etc" repodir="/vagrant/srv/dumps/xmldumps-backup" apachedir="/var/www/w" cronsdir="/srv/dumps" Command line:

Suggestions for improvement

 * 1) Make hardcoded values above configurable (patch)
 * 2) Do not place temp/output directories inside
 * 3) Create necessary dirs as part of vagrant recipe (patch) ✅
 * 4) Make  log directory configurable too?