You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was originally raised in #306 and seems to have been addressed in #313. However, as of today, it appears that the contents of included directories are always deployed in their entirety, even if no changes have been made to their contents.
This is obviously a big problem with composer's vendor directory that may include thousands of files.
To reproduce:
Create an ignore rule in .gitignore for a directory called "temporary"
Add this line to your phploy.ini: include[] = 'temporary'
Commit the .gitignore changes
Create a new directory called "temporary"
Create a file inside it
Deploy
Deploy again. You'll see that the file is re-uploaded despite there having been no changes made
The text was updated successfully, but these errors were encountered:
I have experienced this issue as well in a configuration with a vendor/ directory, that is ignored by git, but included using include[] = 'vendor/'. Running 'sync' and then 'deploy' deploys the vendor folder.
(In case of the standard composer setup I am using, vendor can be configured as a conditional include: include[] = 'vendor:composer.lock'. The downside is that the whole vendor directory is reuploaded regardless of the real diff between the local and remote vendor folder.)
This issue was originally raised in #306 and seems to have been addressed in #313. However, as of today, it appears that the contents of included directories are always deployed in their entirety, even if no changes have been made to their contents.
This is obviously a big problem with composer's vendor directory that may include thousands of files.
To reproduce:
include[] = 'temporary'
The text was updated successfully, but these errors were encountered: