== 0.0.7 / XXXXXX
* Moving messages between sources now preserves state.
* Split sup-import into two bits: sup-import and sup-add.
== 0.0.7 / XXXXXX
* Moving messages between sources now preserves state.
* Split sup-import into two bits: sup-import and sup-add.
-* sup-import --force_rebuild is now --full-rebuild.
+* Command-line arguments now handled by trollop.
* Better error handling for IMAP and svn+ssh.
* Better error handling for IMAP and svn+ssh.
-* Hit 'a' in thread-view-mode to alias a contact. Hit 'S' to search for
- all email to/from them.
-* Removed hoe dependency; added trollop dependency.
-* Many internal code improvements.
+* New commands in thread-view-mode
+ - 'a' to add an email to the addressbook
+ - 'S' to search for all email to/from an email address
+ - 'A' to kill buffer and archive thread in one swell foop
+* Removed hoe dependency.
== 0.0.6 / 2007-01-06
* Very minor fix to support more types of IMAP authentication.
== 0.0.6 / 2007-01-06
* Very minor fix to support more types of IMAP authentication.
if entry.nil? # it's a new message; or
puts "Adding message at #{offset}, labels: #{m.labels * ' '}" if opts[:verbose]
num_added += 1
if entry.nil? # it's a new message; or
puts "Adding message at #{offset}, labels: #{m.labels * ' '}" if opts[:verbose]
num_added += 1
m
elsif opts[:full_rebuild] || # we're updating everyone; or
(opts[:rebuild] && (entry[:source_id].to_i != source.id || entry[:source_info].to_i != offset)) # we're updating just the changed ones
puts "Updating message at #{offset} (from #{m.from.longname}, subject '#{m.subj}'), source #{entry[:source_id]} => #{source.id}, offset #{entry[:source_info]} => #{offset}, labels: {#{m.labels * ', '}}" if opts[:verbose]
num_updated += 1 unless found[m.id]
m
elsif opts[:full_rebuild] || # we're updating everyone; or
(opts[:rebuild] && (entry[:source_id].to_i != source.id || entry[:source_info].to_i != offset)) # we're updating just the changed ones
puts "Updating message at #{offset} (from #{m.from.longname}, subject '#{m.subj}'), source #{entry[:source_id]} => #{source.id}, offset #{entry[:source_info]} => #{offset}, labels: {#{m.labels * ', '}}" if opts[:verbose]
num_updated += 1 unless found[m.id]
end
puts "Added #{num_added}, updated #{num_updated} messages from #{source}."
end
end
puts "Added #{num_added}, updated #{num_updated} messages from #{source}."
end
mid = index.index[docid][:message_id]
# puts "got #{mid}"
next if found[mid]
mid = index.index[docid][:message_id]
# puts "got #{mid}"
next if found[mid]
- puts "Deleting #{mid} (from #{m.from.longname}, subject '#{m.subj}')" if opts[:verbose]
+ puts "Deleting #{mid}" if opts[:verbose]
index.index.delete docid
numdel += 1
end
index.index.delete docid
numdel += 1
end