cf-release Submodule Path Recursion Error (and fix!)


Chunyi Lyu <clyu@...>
 

We've seen an issue with ./scripts/update in cf-release. If you have a
sufficiently old version of `cf-release`, and then you try to run the
update script, you'll get an error that looks like this:
```
Failed to recurse into submodule path 'src/consul-release'
```
Here are the steps to reproduce:
- `git clone https://github.com/cloudfoundry/cf-release`
- `git checkout 58f89c63b1cd673df34ca98302e4573ed60c1bf3`
- `git submodule update --init --recursive`
- `git checkout develop`
- `./scripts/update`
You should see the error at this point.

If you hit this, we've got three fixes for you.

First and potentially simplest, just run one more git submodule sync
--recursive && ./scripts/update after the failure.

If that doesn't work, you can either delete and re-clone cf-release from
scratch, or go edit your git modules:
Edit `git/modules/src/consul-release/modules/src/confab/vendor/
github.com/hashicorp/serf/config`, so that it's remote url points to `
https://github.com/cloudfoundry-incubator/serf` instead of `
https://github.com/hashicorp/serf`.

Hopefully this won't have inconvenienced too many of you!

Regards-
-Jesse Alford && Chunyi Lyu
CF Release Integration Team

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.