From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] new in svn: source labels (IMPORTANT)
Date: Sun, 03 Jun 2007 15:15:57 -0700 [thread overview]
Message-ID: <1180908278-sup-4457@south> (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>
reply other threads:[~2007-06-03 22:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1180908278-sup-4457@south \
--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