Skip to content

Commit

Permalink
tagging 0.9.0
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/couchdb/tags/0.9.0@757788 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Noah Slater committed Mar 24, 2009
2 parents 3079f0c + 8e1d09e commit 530c03e
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 20 deletions.
2 changes: 1 addition & 1 deletion BUGS
Expand Up @@ -3,4 +3,4 @@ Apache CouchDB BUGS

Please see the [documentation][1] on how to report bugs with Apache CouchDB.

[1] http://incubator.apache.org/couchdb/community/issues.html
[1] http://couchdb.apache.org/community/issues.html
12 changes: 2 additions & 10 deletions README
Expand Up @@ -5,14 +5,6 @@ Apache CouchDB is alpha software and still under heavy development. Please be
aware that important areas such as the public API or internal database format
may see backwards incompatible changes between versions.

Apache CouchDB is an effort undergoing incubation at the Apache Software
Foundation (ASF), sponsored by the Apache Incubator PMC. Incubation is required
of all newly accepted projects until a further review indicates that the
infrastructure, communications, and decision making process have stabilized in a
manner consistent with other successful ASF projects. While incubation status is
not necessarily a reflection of the completeness or stability of the code, it
does indicate that the project has yet to be fully endorsed by the ASF.

Building From Checkout
----------------------

Expand Down Expand Up @@ -164,13 +156,13 @@ Running Manually

You can start the Apache CouchDB server by running:

sudo -i -u couchdb couchdb
sudo -i -u couchdb couchdb -b

This uses the `sudo` command to run the `couchdb` command as the `couchdb` user.

When Apache CouchDB starts it should eventually display the following message:

Apache CouchDB has started, time to relax. See http://127.0.0.1:5984/_utils/index.html
Apache CouchDB has started, time to relax.

Relax.

Expand Down
6 changes: 3 additions & 3 deletions bin/couchdb.tpl.in
Expand Up @@ -140,15 +140,15 @@ check_environment () {
exit $SCRIPT_ERROR
fi
message_prefix="Apache CouchDB needs a regular"
if `echo 2> /dev/null >> $PID_FILE; echo $?` -gt 0; then
if test `echo 2> /dev/null >> $PID_FILE; echo $?` -gt 0; then
echo "$message_prefix PID file: $PID_FILE" >&2
exit $SCRIPT_ERROR
fi
if `echo 2> /dev/null >> $STDOUT_FILE; echo $?` -gt 0; then
if test `echo 2> /dev/null >> $STDOUT_FILE; echo $?` -gt 0; then
echo "$message_prefix STDOUT file: $STDOUT_FILE" >&2
exit $SCRIPT_ERROR
fi
if `echo 2> /dev/null >> $STDERR_FILE; echo $?` -gt 0; then
if test `echo 2> /dev/null >> $STDERR_FILE; echo $?` -gt 0; then
echo "$message_prefix STDERR file: $STDERR_FILE" >&2
exit $SCRIPT_ERROR
fi
Expand Down
10 changes: 8 additions & 2 deletions share/www/script/test/rev_stemming.js
Expand Up @@ -88,6 +88,12 @@ couchTests.rev_stemming = function(debug) {
// compaction isn't instantaneous, loop until done
while (db.info().compact_running) {};

T(db.open("bar", {revs:true})._revisions.ids.length == newLimit);

// force reload because ETags don't honour compaction
var req = db.request("GET", "/test_suite_db_a/bar?revs=true", {
headers:{"if-none-match":"pommes"}
});

var finalDoc = JSON.parse(req.responseText);
TEquals(newLimit, finalDoc._revisions.ids.length,
"should return a truncated revision list");
};
6 changes: 3 additions & 3 deletions share/www/script/test/stats.js
Expand Up @@ -56,21 +56,21 @@ couchTests.stats = function(debug) {
value: max.toString()}],

function () {
var files_open = requestStatsTest("couchdb", "open_os_files").current;
var files_open = requestStatsTest("couchdb", "open_databases").current;
for(var i=0; i<max+1; i++) {
var db = new CouchDB("test_suite_db" + i);
db.deleteDb();
db.createDb();
}

var open_databases = requestStatsTest("couchdb", "open_os_files").max;
var open_databases = requestStatsTest("couchdb", "open_databases").max;
T(open_databases > 0 && max >= open_databases, name);

for(var i=0; i<max+1; i++) {
var db = new CouchDB("test_suite_db" + i);
db.deleteDb();
}
T(files_open == requestStatsTest("couchdb", "open_os_files").current);
T(files_open == requestStatsTest("couchdb", "open_databases").current);
})
},
};
Expand Down
4 changes: 3 additions & 1 deletion src/couchdb/couch_httpd.erl
Expand Up @@ -394,6 +394,8 @@ end_json_response(Resp) ->
send_chunk(Resp, []).


error_info({Error, Reason}) when is_list(Reason) ->
error_info({Error, ?l2b(Reason)});
error_info(bad_request) ->
{400, <<"bad_request">>, <<>>};
error_info({bad_request, Reason}) ->
Expand Down Expand Up @@ -440,7 +442,7 @@ send_error(Req, Code, Headers, ErrorStr, ReasonStr) ->
{[{<<"error">>, ErrorStr},
{<<"reason">>, ReasonStr}]}).

send_redirect(Req, Path) ->
send_redirect(Req, Path) ->
Headers = [{"Location", couch_httpd:absolute_uri(Req, Path)}],
send_response(Req, 301, Headers, <<>>).

Expand Down
1 change: 1 addition & 0 deletions test/Makefile.am
Expand Up @@ -18,4 +18,5 @@ EXTRA_DIST = \
couch_config_test.erl \
couch_config_writer_test.erl \
runner.erl \
runner.sh \
test.js

0 comments on commit 530c03e

Please sign in to comment.