Closed
Description
Describe the bug
According to the example configuration in the movefile.yml-configurations-explained article, the key to forbid pushing/pulling must-use plugins is mu-plugins:
production:
forbid:
push:
db: false
plugins: false
themes: false
languages: false
uploads: false
mu-plugins: true
pull:
db: false
plugins: false
themes: false
languages: false
uploads: false
mu-plugins: true
However, in my environment, this only works when I use an underscore in the key (mu_plugins:
). While I can get the operation to behave properly, Doctor will return some errors in the config, see below for details.
production:
forbid:
push:
db: false
plugins: false
themes: false
languages: false
uploads: false
mu_plugins: true
pull:
db: false
plugins: false
themes: false
languages: false
uploads: false
mu_plugins: true
Wordmove command
Command used on the CLI: wordmove pull -e production -m
or wordmove pull -e production --all
Environment (please complete the following information):
- OS: Ubuntu 18.04.3 LTS
- Ruby: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
- Wordmove: 5.2.1
Doctor
-
wordmove doctor
is all green withmu-plugins
key -
[/forbid/push/mu_plugins] key 'mu_plugins:' is undefined.
withmu_plugins
key -
[/forbid/pull/mu_plugins] key 'mu_plugins:' is undefined.
withmu_plugins
key