-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
I am trying to begin using this fine-looking project in the most basic way possible, that is, having a test run on the 3.8 branch on the local machine and I'm having problems that confuse me and that don't seem documented.
- With a vanilla test run, call to
admin/cli/install_database.phpbreaks moodle becausedatarootpoints to the moodle source dir and thatcachediris not set. Inlib/upgradelib.php::install_core(), we wipe thecache/folder of the source file, which is not a cache but code managing cache and thus create anrequireerror later on. To make a test run, I need to modifyconfig.php.templateto add acachediroverride. - In
before_run_setup.php, we wipe$datarootand then make a git checkout in it. Unfortunately, deleted files stay deleted until agit reset --hardis ran. I can't make a test run without addinggit reset --hardincheckout_branch
I'm new to moodle so I'm very probably missing something obvious. Could you please point me towards ways to make test runs without having to make those two modifications? I could then improve the readme to save the next poor soul the troubles :)
Also: do you think we could change the mysqli checks in the bash scripts to mysqli or mariadb? I use the mariadb driver and hacked my way around those checks and things seem to work.
Metadata
Metadata
Assignees
Labels
No labels