summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-11-01 22:25:54 -0500
committerGitHub <noreply@github.com>2018-11-01 22:25:54 -0500
commit96adcf202871c72d20a9624b08330042396fcaf2 (patch)
treef4a5b360f913d716de25eb973fde3d64fab73bea
parentbfbc3782a401bf7e884943bac222142c24aca93d (diff)
parent4cea4c91f7002c709d793f9cc439f0a9a2f10e6a (diff)
Merge pull request #1 from rust-lang/docs
Add docs for mailing lists
-rw-r--r--.travis.yml4
-rw-r--r--mailmap.toml22
2 files changed, 25 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 08eded3..c87a7de 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,3 +5,7 @@ script:
- cargo build
- export RUST_LOG=mailgun_mailmap=debug
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cargo run; fi
+
+branches:
+ only:
+ - master
diff --git a/mailmap.toml b/mailmap.toml
index dcf7686..4eb0571 100644
--- a/mailmap.toml
+++ b/mailmap.toml
@@ -1,5 +1,25 @@
+# All mailing lists managed on Mailgun.
+#
+# This file is synchronized to configuration on Mailgun via Travis whenever a
+# commit is pushed to master. Travis just runs `cargo run` for this. The
+# configuration for this file is one top-level key, `lists`, which is an array
+# of mailing lists.
+#
+# Each mailing list has three keys:
+#
+# * `address` - the email address of this mailing list (including the domain)
+# * `access_level` - one of the following:
+# * `readonly` - only authenticated users can post
+# * `members` - only members can post to the list
+# * `everyone` - anyone can post to the list
+# * `members` - an array of email addresses to forward mail to
+#
+# All mailing lists behave the same way. When an email is received it then
+# broadcasts the email to all users of the mailing list.
+
[[lists]]
-address = 'another@rustlang.com'
+address = 'test@rustlang.com'
access_level = 'everyone'
members = [
+ 'acrichton@mozilla.com',
]