From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80437 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-sync.el v2 Date: Thu, 27 Oct 2011 13:36:01 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87pqhicp6m.fsf@lifelogs.com> References: <87mxcv3fu2.fsf@lifelogs.com> <87zkguv1yc.fsf@dod.no> <87ehy2le7h.fsf_-_@lifelogs.com> <87ehy2une3.fsf@dod.no> <87fwihi5qh.fsf@lifelogs.com> <87aa8pukqu.fsf@dod.no> <87sjmhghw9.fsf@lifelogs.com> <871uu1uh4e.fsf@dod.no> <874nyxm043.fsf@lifelogs.com> Reply-To: ding@gnus.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319737070 31256 80.91.229.12 (27 Oct 2011 17:37:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2011 17:37:50 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28724@lists.math.uh.edu Thu Oct 27 19:37:46 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RJTth-0001P9-MT for ding-account@gmane.org; Thu, 27 Oct 2011 19:37:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RJTsO-0007Kf-UC; Thu, 27 Oct 2011 12:36:24 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RJTsM-0007KP-WE for ding@lists.math.uh.edu; Thu, 27 Oct 2011 12:36:23 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RJTsL-000558-4h for ding@lists.math.uh.edu; Thu, 27 Oct 2011 12:36:22 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RJTsI-0006Ug-7a for ding@gnus.org; Thu, 27 Oct 2011 19:36:18 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RJTsH-0000gK-JU for ding@gnus.org; Thu, 27 Oct 2011 19:36:17 +0200 Original-Received: from c-76-28-40-19.hsd1.vt.comcast.net ([76.28.40.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Oct 2011 19:36:17 +0200 Original-Received: from tzz by c-76-28-40-19.hsd1.vt.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Oct 2011 19:36:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 58 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-40-19.hsd1.vt.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:ncQnDMp3nxKwNJt3377Zwzj4WK8= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80437 Archived-At: On Thu, 27 Oct 2011 11:42:47 +0200 Steinar Bang wrote: >>>>>> Katsumi Yamaoka : >> Ted Zlatanov wrote: >> [...] >>> I have the user+password working so now I just need Yamaoka-san to >>> confirm he won't push gnus-sync.el to Emacs, so we don't break the >>> Emacs feature freeze. I'll commit right after. >> Confirmed. Please go ahead. Sorry for my lazy response. SB> Ok. Before I pull, is there something I should do to preserve my SB> current marks? I obviously also need to set up a new CouchDB server. SB> Are there instructions somewhere? Ie. a special database that needs to SB> be created? What port should I use? Set `gnus-sync-backend' to '(lesync "http://yoururl:yourport/yourdatabase") Then set it up, gnus-sync.el has a function for that too. I gave examples in the commentary. Read it carefully. It should be really easy. As long as you don't call `gnus-sync-read' nothing will happen to break your setup. So call `gnus-sync-save' and admire the results in the database. Make sure they look reasonable. The admin interface is at http://yoururl:yourport/yourdatabase/_utils/index.html When you're ready, call `gnus-sync-save' then you must `g' to get everything updated, same as the old gnus-sync.el. You may want to set `gnus-verbose' to 10 and watch *Messages* carefully. It's all experimental so please keep good backups :) On Thu, 27 Oct 2011 13:23:31 +0200 Steinar Bang wrote: SB> Note: I will do the obvious, such as copying both .newsrc.eld and the SB> current sync file on the server SB> What I was thinking of was: how do I proceed into the sync'able future, SB> preserving all present marks. Ie. how do I bring the current marks with SB> me. Just save from where you want to keep the marks. >> I obviously also need to set up a new CouchDB server. Are there >> instructions somewhere? Ie. a special database that needs to be >> created? What port should I use? SB> I will start with apt-get'ing CouchDB SB> I'm running debian stable, which has 0.11.0-2.3. SB> http://packages.debian.org/squeeze/couchdb SB> Is that new enough? I'd go with the 1.x releases, if possible. I have used 1.0.1 while testing. I don't know if that's close to 0.11 or not, sorry. Ted