Open defaria opened 9 years ago
It could be useful in these cases to report the command you are issuing to Wordmove.
Anyway: I think this is related to #163 and is a design issue. -w
flag pushes the core excluding wp-content/*
, other flags keep care of the directories inside wp-content
. This way we don't care about files inside wp-content
.
Your case is someway exotic IMHO, since your plugin searches for something in a non standard path and in a non standard way (save here an image and I will search for it is a really weak approach from my POW).
I'd like anyway to continue the discussion together with @luisbraga and poll you a bit about what should Wordmove
be doing different from the actual behaviour.
Thanks @pioneerskies. I was simply doing a pull --all , to get a copy of the site down to local.
I'm also experiencing a missed upload when i push with "wordmove push -e staging --all"
The newly added files in /wp-content/webfonts/ are all missing from the upload.
The issue was resolved when i put the webfonts folder into /wp-content/uploads/webfonts/ instead.
Hi, i have the same problem. The wp-content folder with it's content is not getting pushed to the development version in my case. I use the command wordmove push -e staging --all and i'm using the default Movefile file.
Anything I'm doing wrong?
Hi. I have same problem with nextgen-gallery. Files in wp-content/gallery are not synced.
Wordmove doesn't sync all directories inside wp-content/ but only languages, themes, plugins and mu-plugins. This can be a feature?
Thanks. That would be nice
Sent from my iPhone
On 11 Apr 2016, at 18:26, Filippo Gangi Dino notifications@github.com wrote:
Wordmove doesn't sync all directories inside wp-content/ but only languages, themes, plugins and mu-plugins. This can be a feature?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub
Hi,
I was trying to figure out why my wp-content/index.php
wasn't syncing over between environments and came across this thread. I have that file for security reasons (i.e. silence is golden). And after reading this, I've realised that my Wordmove is also adding wp-content/*
to my exclude
array, even though I didn't add that to movefile.yml
.
Why was this removed from the v2.2.0 milestone and how can I prevent that from happening?
Is there a way to force Wordmove to sync absolutely everything, except for what's specified in exclude
array?
Also, while on the topic of excludes: how can I ignore a file ONLY in root wp directory? I've tried ./filename
& /filename
, but neither one worked..
Cheers, Alex
Wordmove doesn't sync all directories inside wp-content/ but only languages, themes, plugins and mu-plugins. This can be a feature?
I can understand this design decision. However, it misses some 'core' files, for example, drop-ins:
path/file | description |
---|---|
wp-content/object-cache.php |
external object cache class |
wp-content/advanced-cache.php |
alternative cache class |
wp-content/db.php |
custom db class |
wp-content/db-error.php |
custom db error message |
wp-content/install.php |
custom installation routine |
wp-content/maintenance.php |
custom maintenance mode message |
wp-content/sunrise.php |
multisite preloader |
wp-content/blog-deleted.php |
custom message if a multisite blog was deleted |
wp-content/blog-inactive.php |
custom message if a multisite blog was set inactive |
wp-content/blog-suspended.php |
custom message if a multisite blog was suspended |
wp-content/$locale.php |
is loaded for a specific locale in use |
Also, the wp-content
dir itself is considered as a directory to keep everything that's 'user generated content' or not plugin/theme. That is the base purpose of the dir. Custom dirs within wp-content
are a common practice, especially in custom development setups with Composer and modern approaches.
Basically, I'd expect to find anything inside the wp-content
dir. That's what it is for.
@alexanderkladov about this
Also, while on the topic of excludes: how can I ignore a file ONLY in root wp directory? I've tried ./filename & /filename, but neither one worked..
It was hopefully fixed in https://github.com/welaika/wordmove/commit/164206589aa680a1086b3ff9f7af134acbe7dacb
@alexanderkladov @ihorvorotnov
I'm re-lucubrating about this feature, but let me ask you an advice/opinion: what kind of interface do you expect to push the wp-content
's files? Would you like to write down a couple user stories? E.g.:
--all
I want wordmove to sync all .php
files inside wp-content
--wordpress
I want wordmove to sync all .php
files inside wp-content
(?)--unicorn
flag that will push only files and folder inside wp-content
(examples are contradictory on purpose)
Let me understand your usage expectation to help me out imagine how to implement such a feature :)
@pioneerskies I'm new to Wordmove (like, couple days new) so I don't have any preferred way yet. Based on logic and previous experience with other tools/techs, I'd be happy with the default option to move entire wp-content and exclude only dirs/files that are specifically listed in the config.
@pioneerskies I agree with @ihorvorotnov, push everything in wp-content
or even root website folder, unless specifically excluded in movefile.yml
. Just like what Git would do (i.e. if it's not in .gitignore
, it's pushed to the repo).
wordmove pull --content
could work.
Google's new plugin/theme stores style data in /wp-content/assets/css/front-end-compiled.css
https://wordpress.org/plugins/material-design/
Being able to push pull a custom directory in wp-content would be ideal wordmove pull --custom=cache
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I use a plugin called Login Logo, which looks for an image in the wp-content folder called login-logo.png, and then sets that image as the login logo. On 3 different websites wordmove failed to copy that image over. The only excluded settings I have for wp-content is the one that comes by default with the movefile.
"wp-content/*.sql"
Has anyone else noticed issues copying files from wp-content?
Just to be clear... other folders inside wp-content are copied just fine. But the .png image is the only actual file I have in there.