[sup-talk] new in svn: source labels (IMPORTANT)
William Morgan
wmorgan-sup at masanjin.net
Sun Jun 3 18:15:57 EDT 2007
I've just committed a changeset that allows arbitrary labels to be
attached to sources, and sets ALL labels for new messages to be the
labels from the source.
The previous behavior of automagically applying labels to messages based
on, e.g., the filename of an mbox source, is no longer the case.
What this means for you: if you want any labels to be automatically
applied to messages, you need to edit sources.yaml and manually add a
"labels" entry to the corresponding source. YAML allows you to specify
these in one line by enclosing them in []'s, or to split them out line
by line. Examples:
labels: [label]
or
labels: [label1, label2]
or
labels:
- label
or
labels:
- label
- label2
Here's a complete example:
- !masanjin.net,2006-10-01/Redwood/MBox/Loader
uri: mbox:///home/w/Mail/ruby-talk
cur_offset: 159154117
usual: true
archived: true
id: 36
labels: [ruby-talk]
If you don't specify a labels: line for a source, it will be assigned
the empty set.
Sup-add has a new argument for this, and sup-config will ask you for a
list of labels, so this only affects existing source.yaml files.
--
William <wmorgan-sup at masanjin.net>
More information about the sup-talk
mailing list