-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include vendors to deploy #16
Comments
The issue has been opened up, but I haven't had the time to deal with it. A solution would be adding an @banago your input on the issue would be quite valuable. |
Over at PHPloy we have implemented this option to address this:
However, it seems like this will upload everything, not only the Though I reckon there is a better option. I think reversing the implementation of the
|
As for me, I would like to implement a solution when Maneuver check composer.lock for changes and if so, will add new/changed vendors to upload list. But currently I have no idea how to fetch only changed vendors. Hope to find a solution in the nearest future. |
Any update on this issue? would be very useful to have |
I've left it open to suggestions for any good and simple solution. Personally haven't find a way that:
|
Perhaps a --with-vendor[folder1, folder2,..., etc] option? One would need to manually specify which vendor folders to deploy, but imo this is still preferable to the alternative. |
Maybe we can have some way of making a hash of every subfoler of the vender folder. Or sub-sub folder if needed. When requested with --vender download the hashes file from the server. Recalculate the local version upload the folders were the hash does not match. Upload the new hashes to the server. Does not need to be hashes. Could be anything that detects folder changes and is comparable. Anyone any workaround i could use for now? |
Just like there's |
I think this is a good idea, but if vendor/ isn't added to git, you'd need some mechanism to check which files have changed and upload only those. Would be probably best to somehow have a separate git repository in vendor/ |
Another solution that doesn't involve using git for vendor/ would be to have (after initial vendor deployment) a txt file on the server that would look like
Folder name, hash of contents. Maneuver would
This could be done more efficiently by tracking specifically what has changed inside the folder, but that's too complex. Uploading a big folder to the server is in any case better than uploading entire vendor/. |
Hi, Fadion!
First of all, big thanks for the tool. This looks super useful for automatically deploy of laravel applications to servers without SSH access.
But I see one very important issue - how to deal with vendors? It's horribly wrong to have them added to the repository, but in the same time I can't see now a way to deploy them with other project files.
I'm going to add this ability and send you PR, but first I decided to find out your opinion.
The text was updated successfully, but these errors were encountered: