catalyst / moodle-tool_abconfig

A way to A/B test config, or slowly turn on config for certain audiences or % of traffic
https://moodle.org/plugins/tool_abconfig
6 stars 4 forks source link

Allow conditions to be force on the cli #50 #53

Closed brendanheywood closed 2 years ago

brendanheywood commented 2 years ago

To set:

php admin/cli/cfg.php --name=themelist
(not set)

Make an experiment called setconfig with a conditionset called passwordpolicy with

["CFG,themelist,duck"] 100
root@110310e34473:/var/www/master# php admin/cli/cfg.php --name=themelist

root@110310e34473:/var/www/master# setconfig=passwordpolicy php admin/cli/cfg.php --name=themelist
duck

Resolves #50

brendanheywood commented 2 years ago

Red ci is all pre-existing phpdoc issues, that can be another issue