Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 23639 invoked from network); 10 Aug 2010 05:39:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Aug 2010 05:39:31 -0000 Received: (qmail 34850 invoked by uid 500); 10 Aug 2010 05:39:31 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 34387 invoked by uid 500); 10 Aug 2010 05:39:28 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 34379 invoked by uid 99); 10 Aug 2010 05:39:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Aug 2010 05:39:27 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Aug 2010 05:39:21 +0000 Received: by iwn4 with SMTP id 4so6119847iwn.11 for ; Mon, 09 Aug 2010 22:38:59 -0700 (PDT) Received: by 10.231.35.10 with SMTP id n10mr19832351ibd.161.1281418738095; Mon, 09 Aug 2010 22:38:58 -0700 (PDT) Received: from [10.0.1.2] (c-24-130-240-73.hsd1.ca.comcast.net [24.130.240.73]) by mx.google.com with ESMTPS id n20sm5541453ibe.17.2010.08.09.22.38.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Aug 2010 22:38:57 -0700 (PDT) Sender: J Chris Anderson Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: svn commit: r983857 - in /couchdb/site/htdocs: community/committers.html community/lists.html index.html index.txt notice/1.0.1.html notice/1.0.1.txt notice/full_commit.js From: J Chris Anderson In-Reply-To: <20100810051533.C60D92388A3B@eris.apache.org> Date: Mon, 9 Aug 2010 22:36:32 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <1A266208-F5E1-4E93-827D-A63F09C0F593@apache.org> References: <20100810051533.C60D92388A3B@eris.apache.org> To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On Aug 9, 2010, at 10:15 PM, jchris@apache.org wrote: > Author: jchris > Date: Tue Aug 10 05:15:33 2010 > New Revision: 983857 >=20 > URL: http://svn.apache.org/viewvc?rev=3D983857&view=3Drev > Log: > update the site to include a link from the home page to the 1.0.0 bug = notice. also add a bookmarklet for full commit >=20 It should be noted that build.py could not handle building the = 1.0.1.html page, with the bookmarklet in place. I think the % signs in = the URL encoded javascript URL were throwing off the build script. For this reason, the notice/1.0.1.html page must have the bookmarklet = manually reinserted into it whenever the site is built. The bookmarklet = code is in full_commit.js Here is the error build.py gave: Rendering Traceback (most recent call last): File "bin/build.py", line 253, in site.render() File "bin/build.py", line 239, in render _render_page(self.root) File "bin/build.py", line 238, in _render_page _render_page(child) File "bin/build.py", line 238, in _render_page _render_page(child) File "bin/build.py", line 236, in _render_page page.render_to_file() File "bin/build.py", line 134, in render_to_file f.write(self.render()) File "bin/build.py", line 124, in render data =3D self.template.mimedoc.get_payload().lstrip() % self File "bin/build.py", line 65, in __getitem__ return getattr(self, dynkey)() File "bin/build.py", line 142, in _gen_content return _markdown(self.mimedoc.get_payload().lstrip() % self) TypeError: not enough arguments for format string > Added: > couchdb/site/htdocs/notice/full_commit.js > Modified: > couchdb/site/htdocs/community/committers.html > couchdb/site/htdocs/community/lists.html > couchdb/site/htdocs/index.html > couchdb/site/htdocs/index.txt > couchdb/site/htdocs/notice/1.0.1.html > couchdb/site/htdocs/notice/1.0.1.txt >=20 > Modified: couchdb/site/htdocs/community/committers.html > URL: = http://svn.apache.org/viewvc/couchdb/site/htdocs/community/committers.html= ?rev=3D983857&r1=3D983856&r2=3D983857&view=3Ddiff > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- couchdb/site/htdocs/community/committers.html (original) > +++ couchdb/site/htdocs/community/committers.html Tue Aug 10 05:15:33 = 2010 > @@ -78,66 +78,66 @@ limitations under the License. > >

Committers

>=20 > -

Damien Katz, damien@apa= che.org

> +

Damien Katz, da= mien@apache.or&#= 103;

>=20 >

Original developer and Apache CouchDB PMC Chair.

>=20 > -

Jan Lehnardt, jan@a&#= 112;ache.org

> +

Jan Lehnardt, jan@ap= ;ache.org

>=20 >

Worked on the original UNIX port and now works on all ends in = CouchDB. > He is a freelancing CouchDB consultant and gives presentations = around the > world.

>=20 > -

Noah Slater, n = 5;later@apache.or= ;g

> +

Noah Slater, ns&= #108;ater@apache.or= 7;

>=20 >

Developed and maintains the Autotools build system and application > infrastructure. He is CouchDB’s release manager and maintains = a number of > related packages for Debian GNU/Linux.

>=20 > -

Christopher Lenz, cm = 8;enz@apache.or&= #103;

> +

Christopher Lenz, cml&#= x65;nz@apache.org<= /a>

>=20 >

Developed and maintains Futon, the Web administration console. He = works on > the JavaScript view engine, SpiderMonkey and MochiWeb integration = in > addition to an external Python client.

>=20 > -

J. Chris Anderson, jc&= #x68;ris@apache.or= g

> +

J. Chris Anderson, &= #106;chris@apache= ;.org

>=20 >

Upgraded the Erlang JSON term format. Integrates community patches, > particularly related to the HTTP API and the MapReduce system. Gives = talks and > presentations about CouchDB, with an eye toward recruiting more = developers.

>=20 > -

Paul J. Davis, da&= #118;isp@apache.or= ;g

> +

Paul J. Davis, da = 8;isp@apache.o&#= 114;g

>=20 >

Developed features for the HTTP API as well as helped with recent = upgrades > to the MapReduce system. Spends time tracking down various bugs = reported in > JIRA.

>=20 > -

Adam Kocoloski, kocolosk@apac&#= x68;e.org

> +

Adam Kocoloski, k&#= 111;colosk@apache.o&= #114;g

>=20 >

Maintains and extends the replicator. Hacks on various other parts = of the > core database.

>=20 > -

Mark Hammond, mhamm= ond@apache.org

> +

Mark Hammond, = mhammond@apac = 4;e.org

>=20 >

Windows support.

>=20 > -

Jason Davies, jasondavie= 15;@apache.org

> +

Jason Davies, jasondavies&= #64;apache.org

>=20 >

Developed various authentication features including cookie-based > authentication and OAuth support.

>=20 > -

Beno=C3=AEt Chesneau, be= E;oitc@apache.org

> +

Beno=C3=AEt Chesneau, ben= oitc@apache.or= g

>=20 >

Developed the URL rewriter and proxy authentication handlers and = provides some > patches. He also maintains the couchapp script and some other tools = and > libraries related to CouchDB.

>=20 > -

Filipe Manana, fdmanana@ap= 1;che.org

> +

Filipe Manana, f= dmanana@apach= e.org

>=20 >

Contributes mostly to the replicator, some parts of the core = database and > the security features.

>=20 > -

Robert Newson, rnew= ;son@apache.org

> +

Robert Newson, rn= 5;wson@apache.or&= #103;

>=20 >

Contributes bug fixes and small features.

>
>=20 > Modified: couchdb/site/htdocs/community/lists.html > URL: = http://svn.apache.org/viewvc/couchdb/site/htdocs/community/lists.html?rev=3D= 983857&r1=3D983856&r2=3D983857&view=3Ddiff > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- couchdb/site/htdocs/community/lists.html (original) > +++ couchdb/site/htdocs/community/lists.html Tue Aug 10 05:15:33 2010 > @@ -94,11 +94,11 @@ discussion of topics related to CouchDB. >=20 > >=20 >

The archives for this list can also be browsed = online.

> @@ -113,11 +113,11 @@ participate if they are interested follo >=20 > >=20 >

The archives for this list can also be browsed = online.

> @@ -130,9 +130,9 @@ to see and review changes made by others >=20 > >=20 >

The archives for this list can also be browsed= online.

>=20 > Modified: couchdb/site/htdocs/index.html > URL: = http://svn.apache.org/viewvc/couchdb/site/htdocs/index.html?rev=3D983857&r= 1=3D983856&r2=3D983857&view=3Ddiff > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- couchdb/site/htdocs/index.html (original) > +++ couchdb/site/htdocs/index.html Tue Aug 10 05:15:33 2010 > @@ -77,6 +77,8 @@ limitations under the License. >

3D"CouchDB style=3D"float: right; margin-left: 2em">

>=20 > +

Notice: The 1.0.0 release has a critical bug = which can lead to data loss in the default configuration. Click here for information on how to maintain = data safety.

> + >

Apache CouchDB is a document-oriented database that can be queried = and indexed > in a MapReduce fashion using JavaScript. CouchDB also offers = incremental > replication with bi-directional conflict detection and resolution.

>=20 > Modified: couchdb/site/htdocs/index.txt > URL: = http://svn.apache.org/viewvc/couchdb/site/htdocs/index.txt?rev=3D983857&r1= =3D983856&r2=3D983857&view=3Ddiff > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- couchdb/site/htdocs/index.txt (original) > +++ couchdb/site/htdocs/index.txt Tue Aug 10 05:15:33 2010 > @@ -10,6 +10,8 @@ Sort-Index: 010 > 3D"CouchDB style=3D"float: right; margin-left: 2em"> >=20 > +**Notice:** The 1.0.0 release has a critical bug which can lead to = data loss in the default configuration. [Click here for information on = how to maintain data safety.](notice/1.0.1.html) > + > Apache CouchDB is a document-oriented database that can be queried and = indexed > in a MapReduce fashion using JavaScript. CouchDB also offers = incremental > replication with bi-directional conflict detection and resolution. >=20 > Modified: couchdb/site/htdocs/notice/1.0.1.html > URL: = http://svn.apache.org/viewvc/couchdb/site/htdocs/notice/1.0.1.html?rev=3D9= 83857&r1=3D983856&r2=3D983857&view=3Ddiff > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- couchdb/site/htdocs/notice/1.0.1.html (original) > +++ couchdb/site/htdocs/notice/1.0.1.html Tue Aug 10 05:15:33 2010 > @@ -108,7 +108,15 @@ limitations under the License. >=20 >

For everyone

>=20 > -

To ensure that each database is committed, you can use the = _ensure_full_commit command. There are a couple of ways to = do this. Here is a simple HTML file that you can upload to your CouchDB = using Futon. When you visit it, it will make sure your data is all = safely committed. If you prefer a shell script, skip below this = file.

> +

To ensure that each database is committed, you can use the = _ensure_full_commit command. There are a few of ways to do = this.

> + > +

The simplest method is to right click the following link and add = it to your bookmarks.

> + > +

Bookmarklet: Commit All = Databases

> + > +

Now visit Futon on your CouchDB instance at http://localhost:5984/_utils/, = and select the bookmark. It will use the JavaScript libraries included = with Futon to ensure all your databases are fully committed.

> + > +

Alternatively, here is a simple HTML file that you can upload to = your CouchDB using Futon. When you visit it, it will make sure your data = is all safely committed. If you prefer a shell script, skip below this = file.

>=20 >

Save this HTML to a file on your machine called = commit_all.html

>=20 >=20 > Modified: couchdb/site/htdocs/notice/1.0.1.txt > URL: = http://svn.apache.org/viewvc/couchdb/site/htdocs/notice/1.0.1.txt?rev=3D98= 3857&r1=3D983856&r2=3D983857&view=3Ddiff > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- couchdb/site/htdocs/notice/1.0.1.txt (original) > +++ couchdb/site/htdocs/notice/1.0.1.txt Tue Aug 10 05:15:33 2010 > @@ -33,7 +33,15 @@ The next time you write a document to ea >=20 > ### For everyone >=20 > -To ensure that each database is committed, you can use the = `_ensure_full_commit` command. There are a couple of ways to do this. = Here is a simple HTML file that you can upload to your CouchDB using = Futon. When you visit it, it will make sure your data is all safely = committed. If you prefer a shell script, skip below this file. > +To ensure that each database is committed, you can use the = `_ensure_full_commit` command. There are a few of ways to do this.=20 > + > +The simplest method is to right click the following link and add it = to your bookmarks.=20 > + > +Bookmarklet: [Commit All = Databases](copy_link_text_from_full_commit.js) > + > +Now visit Futon on your CouchDB instance at = , and select the bookmark. It will use = the JavaScript libraries included with Futon to ensure all your = databases are fully committed. > + > +Alternatively, here is a simple HTML file that you can upload to your = CouchDB using Futon. When you visit it, it will make sure your data is = all safely committed. If you prefer a shell script, skip below this = file. >=20 > Save this HTML to a file on your machine called `commit_all.html` >=20 >=20 > Added: couchdb/site/htdocs/notice/full_commit.js > URL: = http://svn.apache.org/viewvc/couchdb/site/htdocs/notice/full_commit.js?rev= =3D983857&view=3Dauto > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- couchdb/site/htdocs/notice/full_commit.js (added) > +++ couchdb/site/htdocs/notice/full_commit.js Tue Aug 10 05:15:33 2010 > @@ -0,0 +1,25 @@ > +// the code used to create the bookmarklet > +$.couch.allDbs({ > + success : function(dbs) { > + function commitDbs(list) { > + var db =3D list.pop(); > + $.ajax({ > + type: "POST", url: "/" + encodeURIComponent(db) + = "/_ensure_full_commit", > + contentType: "application/json", dataType: "json", > + complete : function(r) { > + $("#content").prepend('
    '); > + if (r.status =3D=3D 201) { > + $("#commit_all").append('
  • committed: '+db+'
  • '); = =20 > + } else { > + $("#commit_all").append('
  • error: = '+db+'
  • '); =20 > + } > + if (list.length > 0) {commitDbs(list);} > + } > + }); > + } > + commitDbs(dbs); > + } > +}); > + > +// the href for the bookmarklet, needs to be copied directly to the = html, as build.py chokes on it > = +javascript:%24.couch.allDbs%28%7Bsuccess%3Afunction%28dbs%29%7Bfunction%2= 0commitDbs%28list%29%7Bvar%20db%3Dlist.pop%28%29%3B%24.ajax%28%7Btype%3A%2= 2POST%22%2Curl%3A%22%2F%22%2BencodeURIComponent%28db%29%2B%22%2F_ensure_fu= ll_commit%22%2CcontentType%3A%22application%2Fjson%22%2CdataType%3A%22json= %22%2Ccomplete%3Afunction%28r%29%7B%24%28%22%23content%22%29.prepend%28%27= %3Cul%20id%3D%22commit_all%22%3E%3C%2Ful%3E%27%29%3Bif%28r.status%3D%3D201= %29%7B%24%28%22%23commit_all%22%29.append%28%27%3Cli%3Ecommitted%3A%20%27%= 2Bdb%2B%27%3C%2Fli%3E%27%29%3B%7Delse%7B%24%28%22%23commit_all%22%29.appen= d%28%27%3Cli%20style%3D%22color%3Ared%3B%22%3Eerror%3A%20%27%2Bdb%2B%27%3C= %2Fli%3E%27%29%3B%7Dif%28list.length%3E0%29%7BcommitDbs%28list%29%3B%7D%7D= %7D%29%3B%7DcommitDbs%28dbs%29%3B%7D%7D%29%3B >=20 >=20