From: rlane@club.cc.cmu.edu (Rich Lane)
Subject: [sup-talk] [PATCH] index log
Date: Mon, 31 Aug 2009 00:16:03 -0400 [thread overview]
Message-ID: <1251691269-sup-246@zyrg.net> (raw)
In-Reply-To: <1251116226-sup-1373@peray>
Excerpts from Nicolas Pouillard's message of Mon Aug 24 08:20:20 -0400 2009:
> Excerpts from William Morgan's message of Sat Aug 22 15:46:27 +0200 2009:
> > Reformatted excerpts from Rich Lane's message of 2009-08-16:
> > > Add a YAML logfile that records changes to the index and modify
> > > sup-dump to use this rather than the normal database.
> >
> > I like this. I'm going to wait to apply it until the api refactoring
> > stuff is merged down to master though. Should be soon.
>
> I'm wondering if a simpler format would not be better, I've patch
> in my sup copy do feed a file called ~/.sup/labels-mapping.log with
> lines like those:
>
> 000e0cd20f80143822047118693d at google.com (unread inbox -> )
> 20090813213654.GA30223 at community.haskell.org (unread inbox patch -> patch)
> 1250148617-sup-6053 at oz.taruti.net (unread inbox sup -> sup)
> 1250281208-sup-4199 at masanjin.net (unread inbox sup -> sup)
>
> Their are in the style of sup-dump output and there are pretty easy to manage
> by any tools.
>
> Not to say that I don't like YAML, I am a pretty big fan of it; but here it
> seems overkill.
>
> Best regards,
>
I agree that YAML is overkill for what we're currently storing in the
log. The intention was to make this as foolproof for future expansion as
possible, but after some time thinking about it I haven't come up with
more fields to add (not that there still couldn't be, but I think it's
unlikely). I'll submit a simpler patch.
What do people think about replacing the current undo system with one
based on the label log? This would only be possible once we have
immediate label changes. I think it would simplify a lot of code.
next prev parent reply other threads:[~2009-08-31 4:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-17 6:38 Rich Lane
2009-08-22 13:46 ` William Morgan
2009-08-24 12:20 ` Nicolas Pouillard
2009-08-31 4:16 ` Rich Lane [this message]
2009-08-31 11:42 ` Ben Walton
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=1251691269-sup-246@zyrg.net \
--to=rlane@club.cc.cmu.edu \
/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