deploy-tools icon indicating copy to clipboard operation
deploy-tools copied to clipboard

A command as part of the deploy task that makes sure all composers are checked out

Open benlk opened this issue 9 years ago • 1 comments

If an umbrella repo has a git-ftp-include file, those files are uploaded regardless of whether or not they're version-controlled. If a composer.lock file changes between git checkouts, then the deploy task will deploy whatever code is currently on the system, whether or not it's the version that's specified by composer.lock.

So we need either a standalone script that recurses across the file tree and updates the composer files, or to put that standalone script's functionality into the deploy task

This applies to things like bower and npm as well.

It would be nice if it were savvy to changes in the git repo, so it knows the previously-checked-out commit and the currently-checked-out-commit, so if one package manager's file changed, then it would run jus that package manager's file instead of all the package managers' files on every commit.

This is something that's probably been done elsewhere as a shell script, which we could possibly just wrap in a fabric task.

benlk avatar Apr 16 '16 03:04 benlk

As part of this, maybe:

[179 of 179] Buffered for upload 'wp-content/plugins/rns-transmissions/vendor//mailchimp/mailchimp/src/Mailchimp/Vip.php'

Why is there a double slash?

benlk avatar Apr 19 '16 23:04 benlk