From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87112 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-cloud work Date: Fri, 01 Jul 2016 10:00:29 +0800 Message-ID: <878txm6rsy.fsf@ericabrahamsen.net> References: <87twzdc86f.fsf@building.gnus.org> <8761bhzz0f.fsf@lifelogs.com> <878ugdxpuc.fsf@lifelogs.com> <86twv7p7nu.fsf_-_@dod.no> <86r3pnciof.fsf_-_@dod.no> <87io0y4bw4.fsf_-_@lifelogs.com> <87lh3439r6.fsf@dod.no> <87bn3vs1tb.fsf@lifelogs.com> <877fe0svto.fsf@lifelogs.com> <87r3by2sfd.fsf_-_@lifelogs.com> <87wplnzhvb.fsf@lifelogs.com> <8737nukab5.fsf@ericabrahamsen.net> <87a8i2n2i7.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467338524 19303 80.91.229.3 (1 Jul 2016 02:02:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2016 02:02:04 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M35332@lists.math.uh.edu Fri Jul 01 04:01:52 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bInmB-0004lk-Tb for ding-account@gmane.org; Fri, 01 Jul 2016 04:01:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.86_2) (envelope-from ) id 1bInlH-0001hr-Rf; Thu, 30 Jun 2016 21:00:55 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_2) (envelope-from ) id 1bInlE-0001hO-F4 for ding@lists.math.uh.edu; Thu, 30 Jun 2016 21:00:52 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_2) (envelope-from ) id 1bInlC-0002Ci-Ob for ding@lists.math.uh.edu; Thu, 30 Jun 2016 21:00:52 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1bInlB-0001zk-AR for ding@gnus.org; Fri, 01 Jul 2016 04:00:49 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bInl3-0003tR-D7 for ding@gnus.org; Fri, 01 Jul 2016 04:00:41 +0200 Original-Received: from 123.122.41.130 ([123.122.41.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jul 2016 04:00:41 +0200 Original-Received: from eric by 123.122.41.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jul 2016 04:00:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 59 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.122.41.130 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:v1iruIXBaStyHKyOTZhhX8LxueE= X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87112 Archived-At: Ted Zlatanov writes: > On Thu, 30 Jun 2016 22:42:22 +0800 Eric Abrahamsen wrote: > > EA> Ted Zlatanov writes: >>> On Wed, 15 Jun 2016 14:55:18 -0400 Ted Zlatanov wrote: >>> > TZ> * verify uploads > TZ> * download cloud data back > TZ> * use PGP instead of Base64+gzip (could be a choice... but I would > TZ> * really prefer to make it secure by default and make insecure storage an explicit user choice) >>> >>> ...done >>> > TZ> * get Steinar, Dave, and others to try this out... > TZ> * send salmon hunter drones after Lars to get him back on this :) > TZ> * when a server is selected as the CLOUD-HOST, maybe save that > TZ> choice? but I'm not sure if the choice should be persisted in > TZ> `gnus-cloud-method' or in the newsrc.eld. > TZ> * notice when the cloud data changes (maybe some IMAP magic can do it... but could just be done explicitly for now) >>> >>> ...not done >>> >>> I also changed some headers etc. > > EA> Hey I think I'm confused about what this is meant to do. My original > EA> understanding was that this was for syncing NNTP marks between machines, > EA> using an IMAP server. Is that what this is for? > > Yes. Plus files, optionally. > > EA> I have a laptop and a desktop. Both are running this branch, and on both > EA> I've marked the same IMAP server as "cloud-sync". > > EA> But what happens now? > > Upload your first cloud pack from one machine and see if that works: > `gnus-cloud-upload-data' Oops, my misunderstanding was that I hadn't marked both a server-to-sync and a server-to-keep-syncs. Once I'd done both "i" and "I", things started going. Initial bumps: gnus-cloud-synced-files doesn't match up with my files (I'd recommend the default use gnus-user-directory), and as the FIXME notes, I wasn't able to redefine it to use a different (:directory...) syntax. I set it directly to two files, and it was fine. Weirdly, the (defvar gnus-cloud-sequence 1) didn't "work". The first time I used it, gnus-cloud-sequence was nil, and so `gnus-cloud-upload-data' threw an error in the call to `format'. I had to explicitly setq the var to 1. After that everything worked fine. I haven't yet gone to the office and tried to download the data on the other machine. Eric