From mboxrd@z Thu Jan 1 00:00:00 1970 From: vasudeva@linkswarm.com (vasudeva) Date: Tue, 13 Nov 2007 13:41:29 -0500 Subject: [sup-talk] new user of sup In-Reply-To: <1194912687-sup-4696@south> References: <4728B67A.7020604@gslab.com> <20071031180510.GA7449@lenin.sovietwar.org> <1194912687-sup-4696@south> Message-ID: <20071113184129.GA11753@lenin.sovietwar.org> * on 11-12-07, William Morgan wrote: > Excerpts from vasudeva's message of Wed Oct 31 11:05:10 -0700 2007: > > I had an issue like this, and found it to be related somehow to the > > following lines being present in my ~/.sup/sources.yaml... > > > > - !masanjin.net,2006-10-01/Redwood/SentLoader > > cur_offset: 29245 > > - !masanjin.net,2006-10-01/Redwood/DraftLoader > > cur_offset: 4 > > > > It seems if I snipped those out, then sup-add would actually add all > > the sources I told it, not simply the final one. That is, if those > > lines were present, sup-add seemed to overwrite any recently-added > > source with the next source I'd add. (The two lines get generated > > and replaced by sup at some point.) > > I'm not able to reproduce this. Does the same behavior happen now? If > so, can you post a source.yaml and some commands that exhibit the > overwriting? I've just svn updated sup, and I can reproduce this. I'm using the same sup-add command I documented in the wiki under AddingSources... http://sup.rubyforge.org/wiki/wiki.pl?AddingSources to wit... for i in $(find muttmail -type f); do ruby -I lib -w sup/trunk/bin/sup-add -l `basename $i` -a mbox://`pwd`/$i; done Here's my ~/.sup/sources.yaml before I start... *** cat ~/.sup/sources.yaml --- - !masanjin.net,2006-10-01/Redwood/MBox/Loader uri: mbox:///home/vasudeva/muttmail/projects/amsterdam cur_offset: usual: true archived: true id: 3 labels: - amsterdam - !masanjin.net,2006-10-01/Redwood/SentLoader cur_offset: 29245 - !masanjin.net,2006-10-01/Redwood/DraftLoader cur_offset: 4 *** And here it is after letting the batch sup-add command run... *** cat ~/.sup/sources.yaml --- - !masanjin.net,2006-10-01/Redwood/MBox/Loader uri: mbox:///home/vasudeva/muttmail/windows.lib cur_offset: usual: true archived: true id: 3 labels: - windows.lib - !masanjin.net,2006-10-01/Redwood/SentLoader cur_offset: 29245 - !masanjin.net,2006-10-01/Redwood/DraftLoader cur_offset: 4 *** The find routine returns 67 sources, the names of which are all alpha plus the following characters: -_+.@ I'll send you a list of the sourcenames off-list, where my meticulously-sorted furryporn email archive can't come back to haunt me some day. />