Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] new in svn: source labels (IMPORTANT)
@ 2007-06-03 22:15 William Morgan
  0 siblings, 0 replies; only message in thread
From: William Morgan @ 2007-06-03 22:15 UTC (permalink / raw)


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>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-03 22:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-03 22:15 [sup-talk] new in svn: source labels (IMPORTANT) William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox