Skip to content

Commit

Permalink
Merge pull request nathanmarz#25 from ptgoetz/submodules
Browse files Browse the repository at this point in the history
Start using git submodules in storm-contrib
  • Loading branch information
nathanmarz committed Mar 24, 2013
2 parents 68a18b7 + ae82278 commit 9d38102
Show file tree
Hide file tree
Showing 150 changed files with 88 additions and 19,211 deletions.
45 changes: 45 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
[submodule "storm-cassandra"]
path = storm-cassandra
url = [email protected]:hmsonline/storm-cassandra.git
[submodule "storm-jms"]
path = storm-jms
url = [email protected]:ptgoetz/storm-jms.git
[submodule "storm-signals"]
path = storm-signals
url = [email protected]:ptgoetz/storm-signals.git
[submodule "storm-examples"]
path = storm-examples
url = [email protected]:stormprocessor/storm-examples.git
[submodule "storm-backport"]
path = storm-backport
url = [email protected]:stormprocessor/storm-backport.git
[submodule "storm-benchmark"]
path = storm-benchmark
url = [email protected]:stormprocessor/storm-benchmark.git
[submodule "storm-clockspout"]
path = storm-clockspout
url = [email protected]:stormprocessor/storm-clockspout.git
[submodule "storm-mongo"]
path = storm-mongo
url = [email protected]:stormprocessor/storm-mongo.git
[submodule "storm-sqs"]
path = storm-sqs
url = [email protected]:stormprocessor/storm-sqs.git
[submodule "storm-hbase"]
path = storm-hbase
url = [email protected]:stormprocessor/storm-hbase.git
[submodule "storm-ml"]
path = storm-ml
url = [email protected]:stormprocessor/storm-ml.git
[submodule "storm-redis-pubsub"]
path = storm-redis-pubsub
url = [email protected]:stormprocessor/storm-redis-pubsub.git
[submodule "storm-scribe"]
path = storm-scribe
url = [email protected]:stormprocessor/storm-scribe.git
[submodule "storm-state"]
path = storm-state
url = [email protected]:stormprocessor/storm-state.git
[submodule "storm-growl"]
path = storm-growl
url = [email protected]:tjun/storm-growl.git
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
storm-contrib is a community repository for modules to use with Storm. These include a variety of spouts/bolts for integrating with other systems (Redis, Kafka, MongoDB, etc), as well as code for common tasks a Storm developer encounters.
About
=====

**storm-contrib** is a community repository for modules to use with Storm. These include a variety of spouts/bolts for integrating with other systems (Redis, Kafka, MongoDB, etc), as well as code for common tasks a Storm developer encounters.

For more information about Storm itself, see [the Storm GitHub repository](http://github.com/nathanmarz/storm).

Expand All @@ -7,8 +10,33 @@ Organization

storm-contrib is organized as a "super-project" with a sub-folder for each module. Each module is distributed independently and module owners are responsible for distribution.

##Git Submodules

Some storm-contrib modules are git submodules (links to external github repositories). This allows storm-contrib sub-projects to be maintained externally (so those projects can maintain branches and tags independently), but also included in storm-contrib to increase community visibility.

More information about how git submodules work can be found in the [online git documentaton on submodules](http://git-scm.com/book/en/Git-Tools-Submodules).

## Initializing storm-contrib submodules

When you clone storm-contrib, the modules that are git submodules will appear as empty directories.

To initialize the git submodules use the following command:

git submodule init

To pull down the latest versions of submodules:

git submodule update



Contributing
============

If you're interested in contributing a module to storm-contrib, send an email to the [Storm mailing list](http://groups.google.com/group/storm-user). You will then be given commit rights to storm-contrib. The advantage of having your module be part of storm-contrib instead of your own project is more visibility for your code. However, if you'd rather maintain your module as its own project that's fine too!

## Adding your storm-related project as a git submodule

Once you have signed the contributor licence agreement and been granted commit rights to storm-contrib, you can add your project as a git submodule with the following command:

git submodule add git://github.com/[username]/[projectname].git
1 change: 0 additions & 1 deletion examples/README.md

This file was deleted.

48 changes: 0 additions & 48 deletions examples/movingAverageWithSpikeDetection/README

This file was deleted.

38 changes: 0 additions & 38 deletions examples/movingAverageWithSpikeDetection/arduino/light

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9d38102

Please sign in to comment.