From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] sources.yaml labels
Date: Sun, 06 Sep 2009 06:22:21 -0700 [thread overview]
Message-ID: <1252242820-sup-1452@masanjin.net> (raw)
In-Reply-To: <1252196204-sup-4575@ntdws12.chass.utoronto.ca>
Reformatted excerpts from Ben Walton's message of 2009-09-05:
> Should the '- systemtap' be '- :systemtap'?
The former is "correct". But if you put in the latter, it should be
converted automatically, and written out as the former when you exit
Sup.
I'm a little disturbed that you're still seeing problems with this. Can
you confirm that SerializeLabelsNicely#after_unmarshal! (source.rb circa
line 167) is being run in your sources after they're loaded from
sources.yaml? That should ensure that you end up with a Set of symbols
when Sup's running, regardless of what's in the file.
The other source of bad labels is the serialized version of the messages
stored by Xapian, if you use Xapian. But if you've regenerated your
Xapian index recently, this shouldn't be a problem...
It strikes me now that the other possible source of non-symbol labels is
a hook like before-add. Are you using that to call Message#add_label
with a string argument, by any chance?
If none of the above, can you post the latest version of the exceptions
you're seeing?
--
William <wmorgan-sup at masanjin.net>
next prev parent reply other threads:[~2009-09-06 13:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-06 0:19 Ben Walton
2009-09-06 13:22 ` William Morgan [this message]
2009-09-06 13:47 ` Ben Walton
2009-09-06 14:16 ` Ingmar Vanhassel
2009-09-06 14:07 ` Ben Walton
2009-09-06 15:06 ` William Morgan
2009-09-06 15:26 ` Ben Walton
2009-09-06 16:41 ` 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=1252242820-sup-1452@masanjin.net \
--to=wmorgan-sup@masanjin.net \
/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