Closed greg-1-anderson closed 5 years ago
The functional tests in the terminus-plugin-example use BATS to test using simple shell scripts. BATS probably isn't even necessary - just running a script withset -e
would also be pretty simple and effective.
@greg-1-anderson what do you think about doing a 2.0.0
version of terminus-site-clone
with Terminus 2
support and deprecating the current 1.0.0
release?
@ataylorme The site clone plugin is mostly going to be used on the end-user's development machine. Most users should upgrade to Terminus 2 pretty quickly; I don't think that ongoing support for Terminus 1 is critical.
For Build Tools, I left the 1.x branch compatible with Terminus 1 (only), and I made the 2.x / master branch compatible with Terminus 2 (only). This is certainly the easiest thing for plugins that make any API calls that vary from one major version of Terminus to the next.
Subscribing to this issue and can do testing of any PRs since we used this plugin often with Terminus 1.x. Thanks!
@vinmassaro can you test the update I just pushed?
@ataylorme :100: Was able to successfully clone a D7 site on the first try. The site files were also around ~1.13GB and I did not encounter any issues as I would have expected based on the docs warning about the 500MB limit.
@vinmassaro glad the Terminus 2 version in this PR is working for you! I am going to leave this open for a bit to allow for more testing and feedback before merging and tagging a new release.
I'll need to either test manually, write some tests, or both