Skip to content

Commit 6526051

Browse files
committed
Merge branch '1843-feature-bigcouch'
2 parents ade9dae + 86f68c9 commit 6526051

File tree

661 files changed

+1908
-199617
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

661 files changed

+1908
-199617
lines changed

.gitignore

+19-139
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,22 @@
1-
!.gitignore
2-
!.mailmap
3-
*.beam
4-
*.diff
5-
*.gz
6-
*.la
7-
*.lo
1+
config.erl
2+
install.mk
3+
rel/*.config
4+
rel/dev*
5+
rel/tmpdata
6+
src/
7+
/log
8+
89
*.o
9-
*.orig
10-
*.pyc
11-
*.rej
12-
*.stamp
13-
*.sw*
14-
*.tpl
15-
*~
16-
.*
17-
INSTALL
18-
Makefile
19-
Makefile.in
20-
THANKS
21-
acinclude.m4
22-
aclocal.m4
23-
apache-couchdb-*
24-
autom4te.cache
25-
__pycache__
26-
bin/.deps/
27-
bin/couch-config
28-
bin/couch-config_dev
29-
bin/couchdb
30-
bin/couchdb.1
31-
bin/couchjs_dev
32-
bin/couchpw
33-
build-aux/config.*
34-
build-aux/depcomp
35-
build-aux/compile
36-
build-aux/install-sh
37-
build-aux/ltmain.sh
38-
build-aux/missing
39-
build-aux/texinfo.tex
40-
config.h
41-
config.h.in
42-
config.log
43-
config.status
44-
configure
45-
couchdb.stderr
46-
couchdb.stdout
47-
cover/*
48-
erl_crash.dump
49-
etc/couchdb/default.ini
50-
etc/couchdb/default_dev.ini
51-
etc/couchdb/local_dev.ini
52-
etc/init/couchdb
53-
etc/launchd/org.apache.couchdb.plist
54-
etc/logrotate.d/couchdb
55-
libtool
56-
m4
57-
share/doc/build/CouchDB.log
58-
share/doc/build/doctrees
59-
share/doc/build/html
60-
share/doc/build/latex
61-
share/doc/build/texinfo
10+
*.so
11+
ebin/
12+
13+
dev/boot_node.beam
14+
dev/lib/
15+
dev/logs/
16+
6217
share/server/main-coffee.js
6318
share/server/main.js
64-
src/couch_mrview/ebin/
65-
src/couch_plugins/ebin/
66-
src/couch_replicator/ebin/
67-
src/couchdb/.deps/*
68-
src/couchdb/.libs/*
69-
src/couchdb/couch.app
70-
src/couchdb/couchjs
71-
src/couchdb/edoc-info
72-
src/couchdb/erlang.png
73-
src/couchdb/priv/.deps/
74-
src/couchdb/priv/.libs/
75-
src/couchdb/priv/couch_icu_driver.la
76-
src/couchdb/priv/couchjs
77-
src/couchdb/priv/couchjs.1
78-
src/couchdb/priv/couchspawnkillable
79-
src/couchdb/priv/stat_descriptions.cfg
80-
src/couchdb/priv/stat_descriptions.cfg
81-
src/couchdb/stylesheet.css
82-
src/ejson/.deps/
83-
src/ejson/.libs/
84-
src/ejson/ejson.app
85-
src/ejson/priv
86-
src/erlang-oauth/oauth.app
87-
src/erlang-oauth/oauth.app
88-
src/fauxton/node_modules
89-
src/fauxton/dist
90-
src/fauxton/build
91-
src/fauxton/app/load_addons.js
92-
!src/fauxton/app/addons/
93-
src/fauxton/app/addons/*
94-
!src/fauxton/app/addons/activetasks
95-
!src/fauxton/app/addons/config
96-
!src/fauxton/app/addons/plugins
97-
!src/fauxton/app/addons/logs
98-
!src/fauxton/app/addons/stats
99-
!src/fauxton/app/addons/replication
100-
!src/fauxton/app/addons/contribute
101-
!src/fauxton/app/addons/auth
102-
!src/fauxton/app/addons/exampleAuth
103-
!src/fauxton/app/addons/permissions
104-
!src/fauxton/app/addons/verifyinstall
105-
!src/fauxton/app/addons/compaction
106-
!src/fauxton/app/addons/fauxton
107-
!src/fauxton/app/addons/pouchdb
108-
!src/fauxton/app/addons/databases
109-
!src/fauxton/app/addons/documents
110-
!src/fauxton/app/addons/styletests
111-
src/fauxton/settings.json*
112-
!src/fauxton/settings.json.default
113-
!src/fauxton/assets/js/plugins/zeroclipboard/ZeroClipboard.swf
114-
src/ibrowse/ibrowse.app
115-
src/ibrowse/ibrowse.app
116-
src/mochiweb/mochiweb.app
117-
src/mochiweb/mochiweb.app
118-
!src/my-first-couchdb-plugin/.gitignore
119-
!src/my-first-couchdb-plugin/Makefile
120-
src/snappy/.deps/
121-
src/snappy/.libs/
122-
src/snappy/google-snappy/.deps/
123-
src/snappy/google-snappy/snappy-stubs-public.h
124-
src/snappy/google-snappy/stamp-h2
125-
src/snappy/priv
126-
src/snappy/snappy.app
127-
stamp-h1
128-
test/.deps/
129-
test/bench/run
130-
test/etap/.deps/
131-
test/etap/run
132-
test/etap/run
133-
test/etap/temp.*
134-
test/etap/test_cfg_register
135-
test/etap/test_util.erl
136-
test/javascript/run
137-
test/javascript/run_js_tests.sh
138-
test/local.ini
139-
tmp
140-
utils/run
141-
src/fauxton/test/test.config.js
142-
src/fauxton/app/initialize.js
19+
20+
src/couch/priv/couch_js/config.h
21+
src/couch/priv/couchjs
22+
src/couch/priv/couchspawnkillable

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ before_install:
55
- sudo apt-get -y install texlive-latex-base texlive-latex-recommended
66
- sudo apt-get -y install texlive-latex-extra texlive-fonts-recommended texinfo
77
- sudo apt-get -y install python-pygments python-docutils python-sphinx
8-
before_script: ./bootstrap && ./configure
8+
before_script: ./configure
99
script:
1010
- make distcheck
1111
- cd src/fauxton

Dockerfile

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
FROM debian:latest
2+
MAINTAINER Robert Newson <[email protected]>
3+
ENV DEBIAN_FRONTEND noninteractive
4+
5+
# Install prereqs
6+
RUN echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list
7+
RUN apt-get -qq update
8+
RUN apt-get -y install build-essential git libmozjs185-dev libicu-dev erlang-nox rebar
9+
10+
# Set up user for the build
11+
RUN useradd -m couchdb
12+
USER couchdb
13+
14+
# Get the source
15+
WORKDIR /home/couchdb
16+
RUN git clone https://git-wip-us.apache.org/repos/asf/couchdb.git
17+
18+
# Switch branches
19+
WORKDIR /home/couchdb/couchdb
20+
RUN git checkout 1843-feature-bigcouch
21+
22+
# We don't to be so strict for simple testing.
23+
RUN sed -i'' '/require_otp_vsn/d' rebar.config.script
24+
25+
# Expose nodes on external network interface
26+
RUN sed -i'' 's/bind_address = 127.0.0.1/bind_address = 0.0.0.0/' rel/overlay/etc/default.ini
27+
28+
# Build
29+
RUN ./configure
30+
RUN make
31+
32+
EXPOSE 15984 25984 35984 15986 25986 35986
33+
ENTRYPOINT ["/home/couchdb/couchdb/dev/run"]

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ For the src/ibrowse component:
449449
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
450450
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
451451

452-
For the src/erlang-oauth component:
452+
For the src/oauth component:
453453

454454
Copyright the authors and contributors. All rights reserved.
455455

@@ -474,7 +474,7 @@ For the src/erlang-oauth component:
474474
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
475475
OTHER DEALINGS IN THE SOFTWARE.
476476

477-
For the src/etap component:
477+
For the test/etap/etap.erl component:
478478

479479
Copyright (c) 2008-2009 Nick Gerakines <[email protected]>
480480

Makefile

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
2+
# use this file except in compliance with the License. You may obtain a copy of
3+
# the License at
4+
#
5+
# http://www.apache.org/licenses/LICENSE-2.0
6+
#
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10+
# License for the specific language governing permissions and limitations under
11+
# the License.
12+
13+
all: compile
14+
15+
config.erl:
16+
@echo "Apache CouchDB has not been configured."
17+
@echo "Try \"./configure -h\" for help."
18+
@echo
19+
@false
20+
21+
compile: config.erl
22+
@echo "==> couchjs (compile)"
23+
@rebar compile
24+
25+
clean:
26+
@echo "==> couchjs (clean)"
27+
@rebar clean
28+
29+
check: eunit
30+
31+
32+
dist: compile
33+
@rm -rf rel/couchdb
34+
@rebar generate
35+
36+
distclean: clean
37+
@rm -rf rel/couchdb
38+
39+
include install.mk
40+
install: dist
41+
@mkdir -p $(prefix)
42+
@cp -R rel/couchdb/* $(prefix)
43+
@mkdir -p $(data_dir)
44+
@chown $(user) $(data_dir)
45+
@mkdir -p $(view_index_dir)
46+
@chown $(user) $(view_index_dir)
47+
@touch $(prefix)/var/log/couchdb.log
48+
@chown $(user) $(prefix)/var/log/couchdb.log
49+
50+
install.mk:
51+
@echo "No install.mk found. Run ./configure"
52+
@exit 1
53+
54+
docker:
55+
@docker build --no-cache --rm -t couchdb/1843-feature-bigcouch .
56+
57+
eunit:
58+
@rebar eunit skip_deps=meck,mochiweb,lager

0 commit comments

Comments
 (0)