welaika / wordmove

Multi-stage command line deploy/mirroring and task runner for Wordpress
https://wptools.it/wordmove
MIT License
1.87k stars 165 forks source link

wordmove should ignore or warn about trailing slashes in 'vhost' #650

Open alessandro-fazzi opened 2 years ago

alessandro-fazzi commented 2 years ago

Discussed in https://github.com/welaika/wordmove/discussions/644

Originally posted by **castilma** February 15, 2022 $Title, to prevent others from the error in #641.

As reasonated in https://github.com/welaika/wordmove/issues/641#issuecomment-1038317537:

it would suffice to update the pattern used by doctor to validate movefile.yml. Here lib/wordmove/assets/wordmove_schema_remote.yml and here lib/wordmove/assets/wordmove_schema_local.yml.

This way a user would be warned about the trailing slash in the vhost key.