* [sup-devel] [Heliotrope] when importing mail from sup, label "killed" doesn't get changed to "muted" @ 2012-01-08 21:27 Michael Stapelberg 2012-01-09 23:37 ` William Morgan 0 siblings, 1 reply; 3+ messages in thread From: Michael Stapelberg @ 2012-01-08 21:27 UTC (permalink / raw) To: sup-devel Hey again, I recently imported my mail from sup to heliotrope and noticed that I had a lot of threads in my inbox which were killed in sup. A quick glance at the source of heliotrope revealed that you made the label name consistent with GMail and renamed it to "muted". However, as the subject says, when importing, this label is not changed. For a quick fix after importing the messages, do the following in heliotrope-console: $ ruby -Ilib bin/heliotrope-console --dir /path/to/mailstore metaindex.set_query Query.new("body", "~killed") results = metaindex.get_some_results(metaindex.count_results) for result in results do labels = result[:labels] labels.delete("killed") labels.add("muted") metaindex.update_thread_labels(result[:thread_id], labels) end Best regards, Michael _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-devel] [Heliotrope] when importing mail from sup, label "killed" doesn't get changed to "muted" 2012-01-08 21:27 [sup-devel] [Heliotrope] when importing mail from sup, label "killed" doesn't get changed to "muted" Michael Stapelberg @ 2012-01-09 23:37 ` William Morgan 2012-01-15 4:54 ` William Morgan 0 siblings, 1 reply; 3+ messages in thread From: William Morgan @ 2012-01-09 23:37 UTC (permalink / raw) To: sup-devel Excerpts from Michael Stapelberg's message of 2012-01-08 13:27:11 -0800: > I recently imported my mail from sup to heliotrope and noticed that I > had a lot of threads in my inbox which were killed in sup. A quick > glance at the source of heliotrope revealed that you made the label > name consistent with GMail and renamed it to "muted". However, as the > subject says, when importing, this label is not changed. Thanks for the report. I will fix this so that the import process converts the label automatically. -- William <wmorgan@masanjin.net> _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
* [sup-devel] [Heliotrope] when importing mail from sup, label "killed" doesn't get changed to "muted" 2012-01-09 23:37 ` William Morgan @ 2012-01-15 4:54 ` William Morgan 0 siblings, 0 replies; 3+ messages in thread From: William Morgan @ 2012-01-15 4:54 UTC (permalink / raw) To: sup-devel Excerpts from William Morgan's message of 2012-01-09 15:37:19 -0800: > Thanks for the report. I will fix this so that the import process > converts the label automatically. This should be fixed. -- William <wmorgan@masanjin.net> _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-15 5:22 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-01-08 21:27 [sup-devel] [Heliotrope] when importing mail from sup, label "killed" doesn't get changed to "muted" Michael Stapelberg 2012-01-09 23:37 ` William Morgan 2012-01-15 4:54 ` William Morgan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox