Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: magnus@therning.org (Magnus Therning)
Subject: [sup-talk] on sup
Date: Thu, 06 Sep 2007 07:50:33 +0100	[thread overview]
Message-ID: <1189060693-sup-3576@tatooine> (raw)
In-Reply-To: <1189029109-sup-7643@south>

Excerpts from William Morgan's message of Wed Sep 05 22:55:38 +0100 2007:
[..]
> What little Sup currently does in the way of pushing state information
> back into sources, it does through sup-sync-back, which is meant to
> push a batch of state changes back to one or more sources in one go.
> Right now that's restricted to deleting messages marked as deleted or
> spam from mbox sources, but it would be the natural place to push the
> new/read state back as well, at least if you were happy with batch
> operation.

I'm more than happy with batch operations.  I suspect that doing this
outside of sup proper also keeps the main program itself a little
simpler.

I did look at the sup-sync-back tool and noticed that it performs some
mbox operations on its own.  Operations that I feel really belong in the
mbox source class itself.  I feel sup-sync-back would become simpler if
polymorphism was put to use a bit more.  So, do you have any
philosophical problems with a `delete` method being added to the
sources?  (It would probably be followed by a `mark_as_read` in the
future.)

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus?therning?org             Jabber: magnus?therning?gmail?com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
     -- Daveman


  reply	other threads:[~2007-09-06  6:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1188557360-sup-7369@bryma>
2007-08-31 15:31 ` William Morgan
2007-08-31 17:12   ` Magnus Therning
2007-09-02 23:03     ` William Morgan
2007-09-05  7:48       ` Magnus Therning
2007-09-05 15:27         ` William Morgan
2007-09-06  7:02           ` Magnus Therning
2007-09-11 22:08             ` William Morgan
2007-09-11 23:04               ` Magnus Therning
2007-09-05 21:55         ` William Morgan
2007-09-06  6:50           ` Magnus Therning [this message]
2007-09-11 20:48             ` William Morgan
2007-09-03 12:33     ` [sup-talk] saving sent mail to places other than the default jeff covey

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=1189060693-sup-3576@tatooine \
    --to=magnus@therning.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