-
-
Save ironprogrammer/b774dacbe3b9fa363769bfc59a25cb4f to your computer and use it in GitHub Desktop.
Trac 57386 Testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# confirm file counts | |
# tested in chassis (virtualbox + vagrant) | |
# adjust path if necessary: content/plugins/ | |
for plugin in woocommerce jetpack akismet hello-dolly mailpoet wordpress-seo; do | |
echo ${plugin}: | |
echo -- root files: `find content/plugins/${plugin}/. -maxdepth 1 -not -type d | wc -l` | |
echo -- root dirs: `ls 2>/dev/null -UAd1 content/plugins/${plugin}/*/ | wc -l` | |
echo -- total files: `find content/plugins/${plugin}/. -type f | wc -l` | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file/directory counts for latest version plugins installed directly with wp-cli | |
# latest (mailpoet and wordpress-seo were updated since last week) | |
woocommerce: | |
-- root files: 4 | |
-- root dirs: 10 | |
-- total files: 4191 | |
jetpack: | |
-- root files: 51 | |
-- root dirs: 12 | |
-- total files: 2430 | |
akismet: | |
-- root files: 12 | |
-- root dirs: 2 | |
-- total files: 28 | |
hello-dolly: | |
-- root files: 2 | |
zsh: no matches found: content/plugins/hello-dolly/*/ | |
-- root dirs: 0 | |
-- total files: 2 | |
mailpoet: | |
-- root files: 6 | |
-- root dirs: 8 | |
-- total files: 3677 | |
wordpress-seo: | |
-- root files: 6 | |
-- root dirs: 10 | |
-- total files: 1280 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# counts after running Faster Updates test plugin (Dashboards > Updates) to latest plugin versions | |
#-#-# COUNTS MATCH THE DIRECT INSTALLS #-#-# | |
# after faster updates | |
woocommerce: | |
-- root files: 4 | |
-- root dirs: 10 | |
-- total files: 4191 | |
jetpack: | |
-- root files: 51 | |
-- root dirs: 12 | |
-- total files: 2430 | |
akismet: | |
-- root files: 12 | |
-- root dirs: 2 | |
-- total files: 28 | |
hello-dolly: | |
-- root files: 2 | |
zsh: no matches found: content/plugins/hello-dolly/*/ | |
-- root dirs: 0 | |
-- total files: 2 | |
mailpoet: | |
-- root files: 6 | |
-- root dirs: 8 | |
-- total files: 3677 | |
wordpress-seo: | |
-- root files: 6 | |
-- root dirs: 10 | |
-- total files: 1280 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# old plugin versions forced through wp-cli | |
woocommerce: | |
-- root files: 4 | |
-- root dirs: 10 | |
-- total files: 4129 | |
jetpack: | |
-- root files: 51 | |
-- root dirs: 12 | |
-- total files: 2430 | |
akismet: | |
-- root files: 12 | |
-- root dirs: 2 | |
-- total files: 28 | |
hello-dolly: | |
-- root files: 2 | |
zsh: no matches found: content/plugins/hello-dolly/*/ | |
-- root dirs: 0 | |
-- total files: 2 | |
mailpoet: | |
-- root files: 6 | |
-- root dirs: 8 | |
-- total files: 3654 | |
wordpress-seo: | |
-- root files: 6 | |
-- root dirs: 10 | |
-- total files: 1351 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# force old versions | |
wp plugin install woocommerce --version=7.2.0 --force | |
wp plugin install jetpack --version=11.7 --force | |
wp plugin install akismet --version=5.0.1 --force | |
wp plugin install hello-dolly --version=1.6 --force | |
wp plugin install mailpoet --version=4.4.0 --force | |
wp plugin install wordpress-seo --version=19.13 --force | |
# 👆🏻 to install latest instead, remove everything from --version params |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment