The Git clone of Drupal core in setup_local_dev.sh takes too long. Change it to a shallow clone.
Issue fork automatic_updates-3306600
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
traviscarden commentedComment #4
traviscarden commentedComment #5
phenaproximaFrom what I understand, a shallow clone will remove the ability to do
git bisecton Drupal core.That can be a problem, since there have been instances before when an upstream change in core broke us, and we needed to bisect core to track it down.
I support changing to a shallow clone by default, but I'd like to see the following:
git bisect(commit blocker)Comment #6
traviscarden commentedYou are correct, @phenaproxima. I have implemented all three of your suggestions.
Comment #7
phenaproximaCode and documentation look good to me. I don't have time to manually test it, so if @rahul_ could take that on (run the script, confirm it's fast, then make sure you can convert it to a deep clone using the commands in DEVELOPING.md), I think this is RTBC from me.
Comment #8
traviscarden commentedMarking RTBC per @phenaproxima and @rahul_ 's feedback in Slack.
Comment #10
phenaproximaComment #12
phenaproximaMerged into 8.x-2.x. Thanks!