xuwupeng2000 / capistrano-scm-gitcopy

Capsitrano 3 copy scm - tar your git branch and deploy to your server
MIT License
81 stars 31 forks source link

Deprecation Warning #48

Open Tuckie opened 7 years ago

Tuckie commented 7 years ago

When running with capistrano 3.8.1, I receive the warning:

[Deprecation Notice] `set :scm, :gitcopy` is deprecated.
To ensure this custom SCM will work with future versions of Capistrano,
please upgrade it to a version that uses the new SCM plugin mechanism
documented here:

http://capistranorb.com/documentation/advanced-features/custom-scm

Could this project be updated to the more future-proof setup?

xuwupeng2000 commented 7 years ago

I see. That is true. Let see if we can address this. I don't have a project currently using this gem directly, may need your help @Tuckie .

Tuckie commented 7 years ago

I would be more than happy to help test -- I took an initial stab based on capistrano-scm-rsync, but I wasn't able to get very far as I'm not sure how to run your tests (and I was getting a non-descript error when attempting to deploy).

carlos-reynosa commented 7 years ago

I'm also trying to figure out how to get this to work. It seems this project was the closest thing i could get to deploying with capistrano without a remote repo. I can't be the only one with this problem :(

xuwupeng2000 commented 7 years ago

@carlos-reynosa nah I think this https://github.com/wercker/capistrano-scm-copy is what you after.

yads commented 2 years ago

PR up to fix deprecations + other enhancements https://github.com/xuwupeng2000/capistrano-scm-gitcopy/pull/50