Open geek-merlin opened 7 years ago
Presumably this would happen when you do something like 'dorgflow 12345' without a git clone yet.
That's not going to be completely straightforward. The process would be something like this:
Given the need to prompt the user, I think this is going to be postponed until https://github.com/joachim-n/dorgflow/issues/4 gets in -- though I'm struggling with that.
Yes it think it's just a nice-to-have. Also i think it does not need to ba auto-magick. A simple option like --clone-project (which is asumed when not in a git) would do.
I've had this requirement myself too and even more so, inside of a composer based Drupal project environment, this was always difficult because each composer update
in the project root would also reset my modules projects if a released version was required by that root project.
To solve all these requirements I've developed a composer plugin which does the trick: https://packagist.org/packages/lakedrops/dorgflow
Please let me know what you think.
I'm afraid I don't know much about Composer, and to be honest, I avoid using it as much as possible as it always seems to break things for me.
But it looks like you've made something pretty useful for those people who do manage to get Composer not to burn their kittens! If you want to file a new issue & a PR to add something to the README with a link to your project, please do!
Thanks @joachim-n I've created that pull request and would be happy if you committed that.
Regarding your trouble with Composer, I'm surprised. I hear that every now and then but with Drupal 8, I can't imagine how to live without composer and it looks like even more so in the near future. But that's probably off-topic here.
Sometimes i don't have a project clone or want a new... ;-)