Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
From: William Morgan <wmorgan-sup@masanjin.net>
To: sup-devel@rubyforge.org
Subject: [sup-devel] importing your sup email into heliotrope
Date: Fri, 30 Dec 2011 12:31:24 -0800	[thread overview]
Message-ID: <1325277038-sup-3185@tw-mbp-wmorgan.local> (raw)

If you're feeling adventurous, here is how to import your Sup email into
Heliotrope. This might break horribly for you--no guarantees. Bug
reports are welcome.

1. Install heliotrope and its dependencies. There is no gem yet, so
   follow the instructions at https://github.com/wmorgan/heliotrope.

2. Dump your sup labels to a file by running sup-dump > <dumpfile>.

3. Import your mail sources into heliotrope. Mbox and maildir sources
   should go pretty quick; IMAP, as usual, will be very slow. For each
   source you can do this:

     $HELIOTROPE_DIR> ruby -Ilib bin/heliotrope-import --dir <mailstore dir> --sup-dumpfile <dumpfile> --mbox <mbox file>

   Or replace "--mbox <mbox file>" with the corresponding argument to
   your source (use --help to see them all).

4. Add your ~/.sup/drafts.mbox file using the same commands.

5. Finally, reorder the index so that messages appear in order:

     $HELIOTROPE_DIR> ruby -Ilib bin/heliotrope-reindex --reorder --dir <mailstore dir>
     $HELIOTROPE_DIR> mv <mailstore dir>/index <mailstore dir>/index-old
     $HELIOTROPE_DIR> mv <mailstore dir>/index-reindexed <mailstore dir>/index

6. Start the server:

     $HELIOTROPE_DIR> ruby -Ilib bin/heliotrope-server --dir <mailstore dir>

Point your web browser to http://localhost:8042 and see if that works!
If it looks good, you can also try and get turnsole working, for a
Sup-like client: https://github.com/wmorgan/turnsole.

Good luck and have fun!
-- 
William <w@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


             reply	other threads:[~2011-12-30 20:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-30 20:31 William Morgan [this message]
2012-01-08 20:37 ` Michael Stapelberg
2012-01-08 20:50 ` Michael Stapelberg
2012-01-09 22:30   ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1325277038-sup-3185@tw-mbp-wmorgan.local \
    --to=wmorgan-sup@masanjin.net \
    --cc=sup-devel@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox