Permalink
Browse files

merge couch_replicator app

  • Loading branch information...
2 parents af0183f + 220f3fb commit b6cbc0e5d74cbe593fc35f597bf8c15deef91c23 @benoitc benoitc committed Mar 22, 2012
Showing with 6,539 additions and 0 deletions.
  1. +26 −0 apps/couch_replicator/.gitignore
  2. +505 −0 apps/couch_replicator/LICENSE
  3. +75 −0 apps/couch_replicator/NOTICE
  4. +1 −0 apps/couch_replicator/README.md
  5. +11 −0 apps/couch_replicator/rebar.config
  6. +26 −0 apps/couch_replicator/src/couch_replicator.app.src
  7. +952 −0 apps/couch_replicator/src/couch_replicator.erl
  8. +30 −0 apps/couch_replicator/src/couch_replicator.hrl
  9. +778 −0 apps/couch_replicator/src/couch_replicator_api_wrap.erl
  10. +37 −0 apps/couch_replicator/src/couch_replicator_api_wrap.hrl
  11. +28 −0 apps/couch_replicator/src/couch_replicator_app.erl
  12. +287 −0 apps/couch_replicator/src/couch_replicator_httpc.erl
  13. +138 −0 apps/couch_replicator/src/couch_replicator_httpc_pool.erl
  14. +66 −0 apps/couch_replicator/src/couch_replicator_httpd.erl
  15. +31 −0 apps/couch_replicator/src/couch_replicator_job_sup.erl
  16. +151 −0 apps/couch_replicator/src/couch_replicator_js_functions.hrl
  17. +694 −0 apps/couch_replicator/src/couch_replicator_manager.erl
  18. +48 −0 apps/couch_replicator/src/couch_replicator_manager_sup.erl
  19. +57 −0 apps/couch_replicator/src/couch_replicator_notifier.erl
  20. +59 −0 apps/couch_replicator/src/couch_replicator_sup.erl
  21. +384 −0 apps/couch_replicator/src/couch_replicator_utils.erl
  22. +515 −0 apps/couch_replicator/src/couch_replicator_worker.erl
  23. +37 −0 apps/couch_replicator/test/01-load.t
  24. +250 −0 apps/couch_replicator/test/02-httpc-pool.t
  25. +488 −0 apps/couch_replicator/test/03-replication-compact.t
  26. +267 −0 apps/couch_replicator/test/04-replication-large-atts.t
  27. +294 −0 apps/couch_replicator/test/05-replication-many-leaves.t
  28. +304 −0 apps/couch_replicator/test/06-doc-missing-stubs.t
@@ -0,0 +1,26 @@
+*.beam
+*.gz
+*.tpl
+*.o
+*.lo
+*.la
+*.m4
+*.in
+*~
+*.orig
+*.rej
+erl_crash.dump
+configure
+autom4te.cache
+build-aux
+*.diff
+.DS_Store
+*.dSYM
+*.sw*
+*.gz
+
+# other
+deps
+ebin
+distdir
+package/osxbuild
Oops, something went wrong.
@@ -0,0 +1,75 @@
+Apache CouchDB
+Copyright 2009-2011 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+This product also includes the following third-party components:
+
+ * ac_check_icu.m4 (http://autoconf-archive.cryp.to/ac_check_icu.html)
+
+ Copyright 2008, Akos Maroy <darkeye@tyrell.hu>
+
+ * ac_check_curl.m4 (http://autoconf-archive.cryp.to/ac_check_curl.html)
+
+ Copyright 2008, Akos Maroy <darkeye@tyrell.hu>
+
+ * pkg.m4 (http://http://pkg-config.freedesktop.org/wiki/)
+
+ Copyright 2004, Scott James Remnant <scott@netsplit.com>
+
+ * jQuery (http://jquery.com/)
+
+ Copyright 2011, John Resig
+
+ * jQuery UI (http://jqueryui.com)
+
+ Copyright 2011, Paul Bakaus
+
+ * json2.js (http://www.json.org/)
+
+ In the public domain
+
+ * MochiWeb (http://code.google.com/p/mochiweb/)
+
+ Copyright 2007, Mochi Media Coporation
+
+ * ibrowse (http://github.com/cmullaparthi/ibrowse/tree/master)
+
+ Copyright 2009, Chandrashekhar Mullaparthi
+
+ * Erlang OAuth (http://github.com/tim/erlang-oauth/tree/master)
+
+ Copyright 2009, Tim Fletcher <http://tfletcher.com/>
+
+ * ETap (http://github.com/ngerakines/etap/)
+
+ Copyright 2009, Nick Gerakines <nick@gerakines.net>
+
+ * mimeparse.js (http://code.google.com/p/mimeparse/)
+
+ Copyright 2009, Chris Anderson <jchris@apache.org>
+
+ * base64.js
+
+ Copyright 1999, Masanao Izumo <iz@onicos.co.jp>
+
+ * jspec.js (http://visionmedia.github.com/jspec/)
+
+ Copyright 2010 TJ Holowaychuk <tj@vision-media.ca>
+
+ * yajl (http://lloyd.github.com/yajl/)
+
+ Copyright 2010, Lloyd Hilaiel
+
+ * snappy (http://code.google.com/p/snappy/)
+
+ Copyright 2005 and onwards Google Inc.
+
+ * snappy-erlang-nif (https://github.com/fdmanana/snappy-erlang-nif)
+
+ Copyright 2011, Filipe David Manana <fdmanana@apache.org>
+
+ * CoffeeScript (http://coffeescript.org/)
+
+ Copyright 2011, Jeremy Ashkenas
@@ -0,0 +1 @@
+couch_replicator module.
@@ -0,0 +1,11 @@
+%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
+%% ex: ft=erlang ts=4 sw=4 et
+
+{cover_enabled, true}.
+{eunit_opts, [{report,{eunit_surefire,[{dir,"."}]}}]}.
+{erl_opts, [debug_info]}.
+{require_otp_vsn, "R14|R15"}.
+
+{deps, [
+ {couch, ".*", {git, "git://github.com/refuge/couch.git", "master"}}
+]}.
@@ -0,0 +1,26 @@
+% Licensed under the Apache License, Version 2.0 (the "License"); you may not
+% use this file except in compliance with the License. You may obtain a copy of
+% the License at
+%
+% http://www.apache.org/licenses/LICENSE-2.0
+%
+% Unless required by applicable law or agreed to in writing, software
+% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+% License for the specific language governing permissions and limitations under
+% the License.
+
+{application, couch_replicator, [
+ {description, "CouchDB replicator"},
+ {vsn, "1.3.0"},
+ {modules, []},
+ {registered, [
+ couch_replicator_manager_sup,
+ couch_replicator_job_sup,
+ couch_replicator_sup
+ ]},
+ {applications, [kernel, stdlib, crypto, sasl,
+ inets, oauth, ibrowse, couch]},
+ {mod, { couch_replicator_app, []}},
+ {env, []}
+]}.
Oops, something went wrong.

0 comments on commit b6cbc0e

Please sign in to comment.