storm-contrib masters:

I still cannot pull down the contrib sub projects.

After much research, I saw a post
(https://github.com/nathanmarz/storm-contrib/issues/29) that seemed to
advise non-commiters (like me) to convert the .gitmodules file
 into .gitmodules.ssh and .gitmodules.anon (and eliminate .gitmodules).

So I copied the .gitmodules file to .gitmodules.ssh and changed the URL
entries to reference the https location. Then I copied .gitmodules.ssh to
.gitmodules.anon

Here is a sample from .gitmodules.ssh :

[submodule "storm-backport"]

        path = storm-backport

        url = https://github.com/stormprocessor/storm-backport.git


I have stored these files outside of the repo so that I could add them to
the repo after cloning.
Here is what happens:

1. Clone the repo
Scotts-MacBook-Air:git scottccote$ git clone
https://github.com/nathanmarz/storm-contrib.git

Cloning into 'storm-contrib'...

remote: Reusing existing pack: 2295, done.

remote: Total 2295 (delta 0), reused 0 (delta 0)

Receiving objects: 100% (2295/2295), 456.85 KiB | 0 bytes/s, done.

Resolving deltas: 100% (707/707), done.

Checking connectivity... done.


2. Copy the .ssh and .anon files into the storm-contrib repo folder and move
the original .submodules file out of the way and then move into the
directory
Scotts-MacBook-Air:git scottccote$ rm storm-contrib/.gitmodules

Scotts-MacBook-Air:git scottccote$ cp storm-contrib.gitmodules.anon
storm-contrib/.gitmodules.anon

Scotts-MacBook-Air:git scottccote$ cp storm-contrib.gitmodules.ssh
storm-contrib/.gitmodules.ssh

Scotts-MacBook-Air:git scottccote$ cd storm-contrib


3. Now initialize the submodules

Scotts-MacBook-Air:storm-contrib scottccote$ git submodule init

No submodule mapping found in .gitmodules for path 'storm-backport'


4. Now scratch head Š.

What am I missing here?

Earlier I stated that I was unable to pull down submodules.  Since then, I
was able to pull down the storm-kafka from the storm-kafka-0.8-plus repo and
have been able to standup a kafka-storm sample ­ so thank you to Kiran for
directing me to that repo.

Thanks in advance.

SCott


Reply via email to