Merge lp:~raj-abhilash1/mailman/mailman_fix into lp:mailman
- mailman_fix
- Merge into 3.0
Proposed by
Abhilash Raj
Status: | Merged |
---|---|
Merged at revision: | 7305 |
Proposed branch: | lp:~raj-abhilash1/mailman/mailman_fix |
Merge into: | lp:mailman |
Diff against target: |
440 lines (+53/-53) 19 files modified
src/mailman/bin/docs/master.rst (+1/-1) src/mailman/bin/mailman.py (+1/-1) src/mailman/bin/master.py (+1/-1) src/mailman/bin/runner.py (+1/-1) src/mailman/commands/cli_inject.py (+1/-1) src/mailman/commands/cli_status.py (+1/-1) src/mailman/commands/cli_withlist.py (+5/-5) src/mailman/commands/docs/aliases.rst (+1/-1) src/mailman/commands/docs/conf.rst (+2/-2) src/mailman/commands/docs/members.rst (+1/-1) src/mailman/commands/tests/test_create.py (+2/-2) src/mailman/config/config.py (+1/-1) src/mailman/config/schema.cfg (+2/-2) src/mailman/core/logging.py (+1/-1) src/mailman/docs/8-miles-high.rst (+1/-1) src/mailman/docs/DEVELOP.rst (+2/-2) src/mailman/docs/MTA.rst (+1/-1) src/mailman/docs/NEWS.rst (+24/-24) src/mailman/docs/START.rst (+4/-4) |
To merge this branch: | bzr merge lp:~raj-abhilash1/mailman/mailman_fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mailman Coders | Pending | ||
Review via email: mp+252774@code.launchpad.net |
Commit message
Description of the change
Change bin/mailman with mailman everwhere in documentation and docstrings.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'src/mailman/bin/docs/master.rst' | |||
2 | --- src/mailman/bin/docs/master.rst 2014-04-28 15:23:35 +0000 | |||
3 | +++ src/mailman/bin/docs/master.rst 2015-03-12 16:35:40 +0000 | |||
4 | @@ -4,7 +4,7 @@ | |||
5 | 4 | 4 | ||
6 | 5 | Mailman has a number of *runner subprocesses* which perform long-running tasks | 5 | Mailman has a number of *runner subprocesses* which perform long-running tasks |
7 | 6 | such as listening on an LMTP port, processing REST API requests, or processing | 6 | such as listening on an LMTP port, processing REST API requests, or processing |
9 | 7 | messages in a queue directory. In normal operation, the ``bin/mailman`` | 7 | messages in a queue directory. In normal operation, the ``mailman`` |
10 | 8 | command is used to start, stop and manage the runners. This is just a wrapper | 8 | command is used to start, stop and manage the runners. This is just a wrapper |
11 | 9 | around the real master watcher, which handles runner starting, stopping, | 9 | around the real master watcher, which handles runner starting, stopping, |
12 | 10 | exiting, and log file reopening. | 10 | exiting, and log file reopening. |
13 | 11 | 11 | ||
14 | === modified file 'src/mailman/bin/mailman.py' | |||
15 | --- src/mailman/bin/mailman.py 2015-01-05 01:22:39 +0000 | |||
16 | +++ src/mailman/bin/mailman.py 2015-03-12 16:35:40 +0000 | |||
17 | @@ -36,7 +36,7 @@ | |||
18 | 36 | 36 | ||
19 | 37 | 37 | ||
20 | 38 | 38 | ||
21 | 39 | def main(): | 39 | def main(): |
23 | 40 | """bin/mailman""" | 40 | """mailman""" |
24 | 41 | # Create the basic parser and add all globally common options. | 41 | # Create the basic parser and add all globally common options. |
25 | 42 | parser = argparse.ArgumentParser( | 42 | parser = argparse.ArgumentParser( |
26 | 43 | description=_("""\ | 43 | description=_("""\ |
27 | 44 | 44 | ||
28 | === modified file 'src/mailman/bin/master.py' | |||
29 | --- src/mailman/bin/master.py 2015-01-05 01:22:39 +0000 | |||
30 | +++ src/mailman/bin/master.py 2015-03-12 16:35:40 +0000 | |||
31 | @@ -320,7 +320,7 @@ | |||
32 | 320 | log.info('Master watcher caught SIGUSR1. Exiting.') | 320 | log.info('Master watcher caught SIGUSR1. Exiting.') |
33 | 321 | signal.signal(signal.SIGUSR1, sigusr1_handler) | 321 | signal.signal(signal.SIGUSR1, sigusr1_handler) |
34 | 322 | # SIGTERM is what init will kill this process with when changing run | 322 | # SIGTERM is what init will kill this process with when changing run |
36 | 323 | # levels. It's also the signal 'bin/mailman stop' uses. | 323 | # levels. It's also the signal 'mailman stop' uses. |
37 | 324 | def sigterm_handler(signum, frame): | 324 | def sigterm_handler(signum, frame): |
38 | 325 | for pid in self._kids: | 325 | for pid in self._kids: |
39 | 326 | os.kill(pid, signal.SIGTERM) | 326 | os.kill(pid, signal.SIGTERM) |
40 | 327 | 327 | ||
41 | === modified file 'src/mailman/bin/runner.py' | |||
42 | --- src/mailman/bin/runner.py 2015-01-05 01:22:39 +0000 | |||
43 | +++ src/mailman/bin/runner.py 2015-03-12 16:35:40 +0000 | |||
44 | @@ -116,7 +116,7 @@ | |||
45 | 116 | -r is required unless -l or -h is given, and its argument must | 116 | -r is required unless -l or -h is given, and its argument must |
46 | 117 | be one of the names displayed by the -l switch. | 117 | be one of the names displayed by the -l switch. |
47 | 118 | 118 | ||
49 | 119 | Normally, this script should be started from 'bin/mailman | 119 | Normally, this script should be started from 'mailman |
50 | 120 | start'. Running it separately or with -o is generally useful | 120 | start'. Running it separately or with -o is generally useful |
51 | 121 | only for debugging. When run this way, the environment variable | 121 | only for debugging. When run this way, the environment variable |
52 | 122 | $MAILMAN_UNDER_MASTER_CONTROL will be set which subtly changes | 122 | $MAILMAN_UNDER_MASTER_CONTROL will be set which subtly changes |
53 | 123 | 123 | ||
54 | === modified file 'src/mailman/commands/cli_inject.py' | |||
55 | --- src/mailman/commands/cli_inject.py 2015-01-05 01:22:39 +0000 | |||
56 | +++ src/mailman/commands/cli_inject.py 2015-03-12 16:35:40 +0000 | |||
57 | @@ -15,7 +15,7 @@ | |||
58 | 15 | # You should have received a copy of the GNU General Public License along with | 15 | # You should have received a copy of the GNU General Public License along with |
59 | 16 | # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. | 16 | # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. |
60 | 17 | 17 | ||
62 | 18 | """bin/mailman inject""" | 18 | """mailman inject""" |
63 | 19 | 19 | ||
64 | 20 | __all__ = [ | 20 | __all__ = [ |
65 | 21 | 'Inject', | 21 | 'Inject', |
66 | 22 | 22 | ||
67 | === modified file 'src/mailman/commands/cli_status.py' | |||
68 | --- src/mailman/commands/cli_status.py 2015-01-05 01:22:39 +0000 | |||
69 | +++ src/mailman/commands/cli_status.py 2015-03-12 16:35:40 +0000 | |||
70 | @@ -15,7 +15,7 @@ | |||
71 | 15 | # You should have received a copy of the GNU General Public License along with | 15 | # You should have received a copy of the GNU General Public License along with |
72 | 16 | # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. | 16 | # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. |
73 | 17 | 17 | ||
75 | 18 | """bin/mailman status.""" | 18 | """mailman status.""" |
76 | 19 | 19 | ||
77 | 20 | __all__ = [ | 20 | __all__ = [ |
78 | 21 | 'Status', | 21 | 'Status', |
79 | 22 | 22 | ||
80 | === modified file 'src/mailman/commands/cli_withlist.py' | |||
81 | --- src/mailman/commands/cli_withlist.py 2015-01-05 01:22:39 +0000 | |||
82 | +++ src/mailman/commands/cli_withlist.py 2015-03-12 16:35:40 +0000 | |||
83 | @@ -15,7 +15,7 @@ | |||
84 | 15 | # You should have received a copy of the GNU General Public License along with | 15 | # You should have received a copy of the GNU General Public License along with |
85 | 16 | # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. | 16 | # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. |
86 | 17 | 17 | ||
88 | 18 | """bin/mailman withlist""" | 18 | """mailman withlist""" |
89 | 19 | 19 | ||
90 | 20 | __all__ = [ | 20 | __all__ = [ |
91 | 21 | 'Shell', | 21 | 'Shell', |
92 | @@ -190,7 +190,7 @@ | |||
93 | 190 | this script will take care of the housekeeping (see below for examples). In | 190 | this script will take care of the housekeeping (see below for examples). In |
94 | 191 | that case, the general usage syntax is: | 191 | that case, the general usage syntax is: |
95 | 192 | 192 | ||
97 | 193 | % bin/mailman withlist [options] listname [args ...]""")) | 193 | % mailman withlist [options] listname [args ...]""")) |
98 | 194 | print() | 194 | print() |
99 | 195 | print(_("""\ | 195 | print(_("""\ |
100 | 196 | Here's an example of how to use the --run option. Say you have a file in the | 196 | Here's an example of how to use the --run option. Say you have a file in the |
101 | @@ -207,7 +207,7 @@ | |||
102 | 207 | You can print the list's posting address by running the following from the | 207 | You can print the list's posting address by running the following from the |
103 | 208 | command line: | 208 | command line: |
104 | 209 | 209 | ||
106 | 210 | % bin/mailman withlist -r listaddr mylist@example.com | 210 | % mailman withlist -r listaddr mylist@example.com |
107 | 211 | Importing listaddr ... | 211 | Importing listaddr ... |
108 | 212 | Running listaddr.listaddr() ... | 212 | Running listaddr.listaddr() ... |
109 | 213 | mylist@example.com""")) | 213 | mylist@example.com""")) |
110 | @@ -215,7 +215,7 @@ | |||
111 | 215 | print(_("""\ | 215 | print(_("""\ |
112 | 216 | And you can print the list's request address by running: | 216 | And you can print the list's request address by running: |
113 | 217 | 217 | ||
115 | 218 | % bin/mailman withlist -r listaddr.requestaddr mylist | 218 | % mailman withlist -r listaddr.requestaddr mylist |
116 | 219 | Importing listaddr ... | 219 | Importing listaddr ... |
117 | 220 | Running listaddr.requestaddr() ... | 220 | Running listaddr.requestaddr() ... |
118 | 221 | mylist-request@example.com""")) | 221 | mylist-request@example.com""")) |
119 | @@ -232,7 +232,7 @@ | |||
120 | 232 | 232 | ||
121 | 233 | and run this from the command line: | 233 | and run this from the command line: |
122 | 234 | 234 | ||
124 | 235 | % bin/mailman withlist -r change mylist@example.com 'My List'""")) | 235 | % mailman withlist -r change mylist@example.com 'My List'""")) |
125 | 236 | 236 | ||
126 | 237 | 237 | ||
127 | 238 | 238 | ||
128 | 239 | 239 | ||
129 | 240 | 240 | ||
130 | === modified file 'src/mailman/commands/docs/aliases.rst' | |||
131 | --- src/mailman/commands/docs/aliases.rst 2014-04-28 15:23:35 +0000 | |||
132 | +++ src/mailman/commands/docs/aliases.rst 2015-03-12 16:35:40 +0000 | |||
133 | @@ -6,7 +6,7 @@ | |||
134 | 6 | Mailman up to the mail server. The details of this differ for each mail | 6 | Mailman up to the mail server. The details of this differ for each mail |
135 | 7 | server. Generally these files are automatically kept up-to-date when mailing | 7 | server. Generally these files are automatically kept up-to-date when mailing |
136 | 8 | lists are created or removed, but you might occasionally need to manually | 8 | lists are created or removed, but you might occasionally need to manually |
138 | 9 | regenerate the file. The ``bin/mailman aliases`` command does this. | 9 | regenerate the file. The ``mailman aliases`` command does this. |
139 | 10 | 10 | ||
140 | 11 | >>> class FakeArgs: | 11 | >>> class FakeArgs: |
141 | 12 | ... directory = None | 12 | ... directory = None |
142 | 13 | 13 | ||
143 | === modified file 'src/mailman/commands/docs/conf.rst' | |||
144 | --- src/mailman/commands/docs/conf.rst 2014-11-08 00:31:21 +0000 | |||
145 | +++ src/mailman/commands/docs/conf.rst 2015-03-12 16:35:40 +0000 | |||
146 | @@ -2,12 +2,12 @@ | |||
147 | 2 | Display configuration values | 2 | Display configuration values |
148 | 3 | ============================ | 3 | ============================ |
149 | 4 | 4 | ||
151 | 5 | Just like the `Postfix command postconf(1)`_, the ``bin/mailman conf`` command | 5 | Just like the `Postfix command postconf(1)`_, the ``mailman conf`` command |
152 | 6 | lets you dump one or more Mailman configuration variables to standard output | 6 | lets you dump one or more Mailman configuration variables to standard output |
153 | 7 | or a file. | 7 | or a file. |
154 | 8 | 8 | ||
155 | 9 | Mailman's configuration is divided in multiple sections which contain multiple | 9 | Mailman's configuration is divided in multiple sections which contain multiple |
157 | 10 | key-value pairs. The ``bin/mailman conf`` command allows you to display | 10 | key-value pairs. The ``mailman conf`` command allows you to display |
158 | 11 | a specific key-value pair, or several key-value pairs. | 11 | a specific key-value pair, or several key-value pairs. |
159 | 12 | 12 | ||
160 | 13 | >>> class FakeArgs: | 13 | >>> class FakeArgs: |
161 | 14 | 14 | ||
162 | === modified file 'src/mailman/commands/docs/members.rst' | |||
163 | --- src/mailman/commands/docs/members.rst 2015-01-05 01:40:47 +0000 | |||
164 | +++ src/mailman/commands/docs/members.rst 2015-03-12 16:35:40 +0000 | |||
165 | @@ -2,7 +2,7 @@ | |||
166 | 2 | Managing members | 2 | Managing members |
167 | 3 | ================ | 3 | ================ |
168 | 4 | 4 | ||
170 | 5 | The ``bin/mailman members`` command allows a site administrator to display, | 5 | The ``mailman members`` command allows a site administrator to display, |
171 | 6 | add, and remove members from a mailing list. | 6 | add, and remove members from a mailing list. |
172 | 7 | :: | 7 | :: |
173 | 8 | 8 | ||
174 | 9 | 9 | ||
175 | === modified file 'src/mailman/commands/tests/test_create.py' | |||
176 | --- src/mailman/commands/tests/test_create.py 2015-01-05 01:22:39 +0000 | |||
177 | +++ src/mailman/commands/tests/test_create.py 2015-03-12 16:35:40 +0000 | |||
178 | @@ -15,7 +15,7 @@ | |||
179 | 15 | # You should have received a copy of the GNU General Public License along with | 15 | # You should have received a copy of the GNU General Public License along with |
180 | 16 | # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. | 16 | # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. |
181 | 17 | 17 | ||
183 | 18 | """Test `bin/mailman create`.""" | 18 | """Test `mailman create`.""" |
184 | 19 | 19 | ||
185 | 20 | __all__ = [ | 20 | __all__ = [ |
186 | 21 | 'TestCreate', | 21 | 'TestCreate', |
187 | @@ -51,7 +51,7 @@ | |||
188 | 51 | 51 | ||
189 | 52 | 52 | ||
190 | 53 | 53 | ||
191 | 54 | class TestCreate(unittest.TestCase): | 54 | class TestCreate(unittest.TestCase): |
193 | 55 | """Test `bin/mailman create`.""" | 55 | """Test `mailman create`.""" |
194 | 56 | 56 | ||
195 | 57 | layer = ConfigLayer | 57 | layer = ConfigLayer |
196 | 58 | 58 | ||
197 | 59 | 59 | ||
198 | === modified file 'src/mailman/config/config.py' | |||
199 | --- src/mailman/config/config.py 2015-01-06 02:12:52 +0000 | |||
200 | +++ src/mailman/config/config.py 2015-03-12 16:35:40 +0000 | |||
201 | @@ -149,7 +149,7 @@ | |||
202 | 149 | # First, collect all variables in a substitution dictionary. $VAR_DIR | 149 | # First, collect all variables in a substitution dictionary. $VAR_DIR |
203 | 150 | # is taken from the environment or from the configuration file if the | 150 | # is taken from the environment or from the configuration file if the |
204 | 151 | # environment is not set. Because the var_dir setting in the config | 151 | # environment is not set. Because the var_dir setting in the config |
206 | 152 | # file could be a relative path, and because 'bin/mailman start' | 152 | # file could be a relative path, and because 'mailman start' |
207 | 153 | # chdirs to $VAR_DIR, without this subprocesses bin/master and | 153 | # chdirs to $VAR_DIR, without this subprocesses bin/master and |
208 | 154 | # bin/runner will create $VAR_DIR hierarchies under $VAR_DIR when that | 154 | # bin/runner will create $VAR_DIR hierarchies under $VAR_DIR when that |
209 | 155 | # path is relative. | 155 | # path is relative. |
210 | 156 | 156 | ||
211 | === modified file 'src/mailman/config/schema.cfg' | |||
212 | --- src/mailman/config/schema.cfg 2015-01-05 01:22:39 +0000 | |||
213 | +++ src/mailman/config/schema.cfg 2015-03-12 16:35:40 +0000 | |||
214 | @@ -66,7 +66,7 @@ | |||
215 | 66 | 66 | ||
216 | 67 | 67 | ||
217 | 68 | [shell] | 68 | [shell] |
219 | 69 | # `bin/mailman shell` (also `withlist`) gives you an interactive prompt that | 69 | # `mailman shell` (also `withlist`) gives you an interactive prompt that |
220 | 70 | # you can use to interact with an initialized and configured Mailman system. | 70 | # you can use to interact with an initialized and configured Mailman system. |
221 | 71 | # Use --help for more information. This section allows you to configure | 71 | # Use --help for more information. This section allows you to configure |
222 | 72 | # certain aspects of this interactive shell. | 72 | # certain aspects of this interactive shell. |
223 | @@ -100,7 +100,7 @@ | |||
224 | 100 | queue_dir: $var_dir/queue | 100 | queue_dir: $var_dir/queue |
225 | 101 | # This is the directory containing the Mailman 'runner' and 'master' commands | 101 | # This is the directory containing the Mailman 'runner' and 'master' commands |
226 | 102 | # if set to the string '$argv', it will be taken as the directory containing | 102 | # if set to the string '$argv', it will be taken as the directory containing |
228 | 103 | # the 'bin/mailman' command. | 103 | # the 'mailman' command. |
229 | 104 | bin_dir: $argv | 104 | bin_dir: $argv |
230 | 105 | # All list-specific data. | 105 | # All list-specific data. |
231 | 106 | list_data_dir: $var_dir/lists | 106 | list_data_dir: $var_dir/lists |
232 | 107 | 107 | ||
233 | === modified file 'src/mailman/core/logging.py' | |||
234 | --- src/mailman/core/logging.py 2015-01-05 01:22:39 +0000 | |||
235 | +++ src/mailman/core/logging.py 2015-03-12 16:35:40 +0000 | |||
236 | @@ -104,7 +104,7 @@ | |||
237 | 104 | log_format = logger_config.format | 104 | log_format = logger_config.format |
238 | 105 | log_datefmt = logger_config.datefmt | 105 | log_datefmt = logger_config.datefmt |
239 | 106 | # Propagation to the root logger is how we handle logging to stderr | 106 | # Propagation to the root logger is how we handle logging to stderr |
241 | 107 | # when the runners are not run as a subprocess of 'bin/mailman start'. | 107 | # when the runners are not run as a subprocess of 'mailman start'. |
242 | 108 | log.propagate = (as_boolean(logger_config.propagate) | 108 | log.propagate = (as_boolean(logger_config.propagate) |
243 | 109 | if propagate is None else propagate) | 109 | if propagate is None else propagate) |
244 | 110 | # Set the logger's level. | 110 | # Set the logger's level. |
245 | 111 | 111 | ||
246 | === modified file 'src/mailman/docs/8-miles-high.rst' | |||
247 | --- src/mailman/docs/8-miles-high.rst 2013-05-14 04:45:26 +0000 | |||
248 | +++ src/mailman/docs/8-miles-high.rst 2015-03-12 16:35:40 +0000 | |||
249 | @@ -162,7 +162,7 @@ | |||
250 | 162 | Shell Commands | 162 | Shell Commands |
251 | 163 | ============== | 163 | ============== |
252 | 164 | 164 | ||
254 | 165 | `bin/mailman`: This is an ubercommand, with subcommands for all the various | 165 | `mailman`: This is an ubercommand, with subcommands for all the various |
255 | 166 | things admins might want to do, similar to Mailman 2's mailmanctl, but with | 166 | things admins might want to do, similar to Mailman 2's mailmanctl, but with |
256 | 167 | more functionality. | 167 | more functionality. |
257 | 168 | 168 | ||
258 | 169 | 169 | ||
259 | === modified file 'src/mailman/docs/DEVELOP.rst' | |||
260 | --- src/mailman/docs/DEVELOP.rst 2014-12-22 21:19:01 +0000 | |||
261 | +++ src/mailman/docs/DEVELOP.rst 2015-03-12 16:35:40 +0000 | |||
262 | @@ -72,10 +72,10 @@ | |||
263 | 72 | include the LMTP server, and the HTTP server for processing REST commands. | 72 | include the LMTP server, and the HTTP server for processing REST commands. |
264 | 73 | 73 | ||
265 | 74 | All of the runners are managed by a *master watcher* process. When you type | 74 | All of the runners are managed by a *master watcher* process. When you type |
267 | 75 | ``bin/mailman start`` you are actually starting the master. Based on | 75 | ``mailman start`` you are actually starting the master. Based on |
268 | 76 | configuration options, the master will start the appropriate runners as | 76 | configuration options, the master will start the appropriate runners as |
269 | 77 | subprocesses, and it will watch for the clean exiting of these subprocesses | 77 | subprocesses, and it will watch for the clean exiting of these subprocesses |
271 | 78 | when ``bin/mailman stop`` is called. | 78 | when ``mailman stop`` is called. |
272 | 79 | 79 | ||
273 | 80 | 80 | ||
274 | 81 | Rules and chains | 81 | Rules and chains |
275 | 82 | 82 | ||
276 | === modified file 'src/mailman/docs/MTA.rst' | |||
277 | --- src/mailman/docs/MTA.rst 2014-04-15 14:34:04 +0000 | |||
278 | +++ src/mailman/docs/MTA.rst 2015-03-12 16:35:40 +0000 | |||
279 | @@ -143,7 +143,7 @@ | |||
280 | 143 | 143 | ||
281 | 144 | By default, Mailman works well with Postfix transport maps as a way to deliver | 144 | By default, Mailman works well with Postfix transport maps as a way to deliver |
282 | 145 | incoming messages to Mailman's LMTP server. Mailman will automatically write | 145 | incoming messages to Mailman's LMTP server. Mailman will automatically write |
284 | 146 | the correct transport map when its ``bin/mailman aliases`` command is run, or | 146 | the correct transport map when its ``mailman aliases`` command is run, or |
285 | 147 | whenever a mailing list is created or removed via other commands. To connect | 147 | whenever a mailing list is created or removed via other commands. To connect |
286 | 148 | Postfix to Mailman's LMTP server, add the following to Postfix's ``main.cf`` | 148 | Postfix to Mailman's LMTP server, add the following to Postfix's ``main.cf`` |
287 | 149 | file:: | 149 | file:: |
288 | 150 | 150 | ||
289 | === modified file 'src/mailman/docs/NEWS.rst' | |||
290 | --- src/mailman/docs/NEWS.rst 2015-02-14 01:35:35 +0000 | |||
291 | +++ src/mailman/docs/NEWS.rst 2015-03-12 16:35:40 +0000 | |||
292 | @@ -173,7 +173,7 @@ | |||
293 | 173 | ------------- | 173 | ------------- |
294 | 174 | * Add support for the Exim 4 MTA. [Stephen Turnbull] | 174 | * Add support for the Exim 4 MTA. [Stephen Turnbull] |
295 | 175 | * When creating the initial file system layout in ``var``, e.g. via | 175 | * When creating the initial file system layout in ``var``, e.g. via |
297 | 176 | ``bin/mailman info``, add an ``var/etc/mailman.cfg`` file if one does not | 176 | ``mailman info``, add an ``var/etc/mailman.cfg`` file if one does not |
298 | 177 | already exist. Also, when initializing the system, look for that file as | 177 | already exist. Also, when initializing the system, look for that file as |
299 | 178 | the configuration file, just after ``./mailman.cfg`` and before | 178 | the configuration file, just after ``./mailman.cfg`` and before |
300 | 179 | ``~/.mailman.cfg``. (LP: #1157861) | 179 | ``~/.mailman.cfg``. (LP: #1157861) |
301 | @@ -291,10 +291,10 @@ | |||
302 | 291 | 291 | ||
303 | 292 | Commands | 292 | Commands |
304 | 293 | -------- | 293 | -------- |
306 | 294 | * `bin/mailman aliases` loses the `--output`, `--format`, and `--simple` | 294 | * `mailman aliases` loses the `--output`, `--format`, and `--simple` |
307 | 295 | arguments, and adds a `--directory` argument. This is necessary to support | 295 | arguments, and adds a `--directory` argument. This is necessary to support |
308 | 296 | the Postfix `relay_domains` support. | 296 | the Postfix `relay_domains` support. |
310 | 297 | * `bin/mailman start` was passing the wrong relative path to its runner | 297 | * `mailman start` was passing the wrong relative path to its runner |
311 | 298 | subprocesses when -C was given. (LP: #982551) | 298 | subprocesses when -C was given. (LP: #982551) |
312 | 299 | * `bin/runner` command has been simplified and its command line options | 299 | * `bin/runner` command has been simplified and its command line options |
313 | 300 | reduced. Now, only one `-r/--runner` option may be provided and the | 300 | reduced. Now, only one `-r/--runner` option may be provided and the |
314 | @@ -437,7 +437,7 @@ | |||
315 | 437 | (LP: #953497) | 437 | (LP: #953497) |
316 | 438 | * List-Post should be NO when posting is not allowed. (LP: #987563) | 438 | * List-Post should be NO when posting is not allowed. (LP: #987563) |
317 | 439 | * Non-unicode values in msgdata broke pending requests. (LP: #1031391) | 439 | * Non-unicode values in msgdata broke pending requests. (LP: #1031391) |
319 | 440 | * Show devmode in `bin/mailman info` output. (LP: #1035028) | 440 | * Show devmode in `mailman info` output. (LP: #1035028) |
320 | 441 | * Fix residual references to the old `IMailingList` archive variables. | 441 | * Fix residual references to the old `IMailingList` archive variables. |
321 | 442 | (LP: #1031393) | 442 | (LP: #1031393) |
322 | 443 | 443 | ||
323 | @@ -546,11 +546,11 @@ | |||
324 | 546 | 546 | ||
325 | 547 | Commands | 547 | Commands |
326 | 548 | -------- | 548 | -------- |
328 | 549 | * IPython support in `bin/mailman shell` contributed by Andrea Crotti. | 549 | * IPython support in `mailman shell` contributed by Andrea Crotti. |
329 | 550 | (LP: #949926). | 550 | (LP: #949926). |
330 | 551 | * The `mailman.cfg` configuration file will now automatically be detected if | 551 | * The `mailman.cfg` configuration file will now automatically be detected if |
331 | 552 | it exists in an `etc` directory which is a sibling of argv0. | 552 | it exists in an `etc` directory which is a sibling of argv0. |
333 | 553 | * `bin/mailman shell` is an alias for `withlist`. | 553 | * `mailman shell` is an alias for `withlist`. |
334 | 554 | * The `confirm` email command now properly handles `Re:`-like prefixes, even | 554 | * The `confirm` email command now properly handles `Re:`-like prefixes, even |
335 | 555 | if they contain non-ASCII characters. (LP: #685261) | 555 | if they contain non-ASCII characters. (LP: #685261) |
336 | 556 | * The `join` email command no longer accepts an `address=` argument. Its | 556 | * The `join` email command no longer accepts an `address=` argument. Its |
337 | @@ -638,10 +638,10 @@ | |||
338 | 638 | Commands | 638 | Commands |
339 | 639 | -------- | 639 | -------- |
340 | 640 | * `bin/qrunner` is renamed to `bin/runner`. | 640 | * `bin/qrunner` is renamed to `bin/runner`. |
343 | 641 | * `bin/mailman aliases` gains `-f` and `-s` options. | 641 | * `mailman aliases` gains `-f` and `-s` options. |
344 | 642 | * `bin/mailman create` no longer allows a list to be created with bogus owner | 642 | * `mailman create` no longer allows a list to be created with bogus owner |
345 | 643 | addresses. (LP: #778687) | 643 | addresses. (LP: #778687) |
347 | 644 | * `bin/mailman start --force` option is fixed. (LP: #869317) | 644 | * `mailman start --force` option is fixed. (LP: #869317) |
348 | 645 | 645 | ||
349 | 646 | Documentation | 646 | Documentation |
350 | 647 | ------------- | 647 | ------------- |
351 | @@ -715,11 +715,11 @@ | |||
352 | 715 | 715 | ||
353 | 716 | Commands | 716 | Commands |
354 | 717 | -------- | 717 | -------- |
356 | 718 | * 'bin/mailman start' does a better job of producing an error when Mailman is | 718 | * 'mailman start' does a better job of producing an error when Mailman is |
357 | 719 | already running. | 719 | already running. |
359 | 720 | * 'bin/mailman status' added for providing command line status on the master | 720 | * 'mailman status' added for providing command line status on the master |
360 | 721 | queue runner watcher process. | 721 | queue runner watcher process. |
362 | 722 | * 'bin/mailman info' now prints the REST root url and credentials. | 722 | * 'mailman info' now prints the REST root url and credentials. |
363 | 723 | * mmsitepass removed; there is no more site password. | 723 | * mmsitepass removed; there is no more site password. |
364 | 724 | 724 | ||
365 | 725 | REST | 725 | REST |
366 | @@ -763,8 +763,8 @@ | |||
367 | 763 | Commands | 763 | Commands |
368 | 764 | -------- | 764 | -------- |
369 | 765 | * The functionality of 'bin/list_members' has been moved to | 765 | * The functionality of 'bin/list_members' has been moved to |
372 | 766 | 'bin/mailman members'. | 766 | 'mailman members'. |
373 | 767 | * 'bin/mailman info' -v/--verbose output displays the file system | 767 | * 'mailman info' -v/--verbose output displays the file system |
374 | 768 | layout paths Mailman is currently configured to use. | 768 | layout paths Mailman is currently configured to use. |
375 | 769 | 769 | ||
376 | 770 | Configuration | 770 | Configuration |
377 | @@ -825,8 +825,8 @@ | |||
378 | 825 | 825 | ||
379 | 826 | Commands | 826 | Commands |
380 | 827 | -------- | 827 | -------- |
383 | 828 | * 'bin/dumpdb' is now 'bin/mailman qfile' | 828 | * 'bin/dumpdb' is now 'mailman qfile' |
384 | 829 | * 'bin/unshunt' is now 'bin/mailman unshunt' | 829 | * 'bin/unshunt' is now 'mailman unshunt' |
385 | 830 | * Mailman now properly handles the '-join', '-leave', and '-confirm' email | 830 | * Mailman now properly handles the '-join', '-leave', and '-confirm' email |
386 | 831 | commands and sub-addresses. '-subscribe' and '-unsubscribe' are aliases | 831 | commands and sub-addresses. '-subscribe' and '-unsubscribe' are aliases |
387 | 832 | for '-join' and '-leave' respectively. | 832 | for '-join' and '-leave' respectively. |
388 | @@ -850,16 +850,16 @@ | |||
389 | 850 | 850 | ||
390 | 851 | Commands | 851 | Commands |
391 | 852 | -------- | 852 | -------- |
396 | 853 | * 'bin/inject' is now 'bin/mailman inject', with some changes | 853 | * 'inject' is now 'mailman inject', with some changes |
397 | 854 | * 'bin/mailmanctl' is now 'bin/mailman start|stop|reopen|restart' | 854 | * 'mailmanctl' is now 'mailman start|stop|reopen|restart' |
398 | 855 | * 'bin/mailman version' is added (output same as 'bin/mailman --version') | 855 | * 'mailman version' is added (output same as 'mailman --version') |
399 | 856 | * 'bin/mailman members' command line arguments have changed. It also | 856 | * 'mailman members' command line arguments have changed. It also |
400 | 857 | now ignores blank lines and lines that start with #. It also no longer | 857 | now ignores blank lines and lines that start with #. It also no longer |
401 | 858 | quits when it sees an address that's already subscribed. | 858 | quits when it sees an address that's already subscribed. |
403 | 859 | * 'bin/withlist' is now 'bin/mailman withlist', and its command line | 859 | * 'bin/withlist' is now 'mailman withlist', and its command line |
404 | 860 | arguments have changed. | 860 | arguments have changed. |
407 | 861 | * 'bin/mailman lists' command line arguments have changed. | 861 | * 'mailman lists' command line arguments have changed. |
408 | 862 | * 'bin/genaliases' is now 'bin/mailman aliases' | 862 | * 'bin/genaliases' is now 'mailman aliases' |
409 | 863 | 863 | ||
410 | 864 | Architecture | 864 | Architecture |
411 | 865 | ------------ | 865 | ------------ |
412 | @@ -901,7 +901,7 @@ | |||
413 | 901 | 901 | ||
414 | 902 | Architecture | 902 | Architecture |
415 | 903 | ------------ | 903 | ------------ |
417 | 904 | * 'bin/mailman' is a new super-command for managing Mailman from the command | 904 | * 'mailman' is a new super-command for managing Mailman from the command |
418 | 905 | line. Some older bin scripts have been converted, with more to come. | 905 | line. Some older bin scripts have been converted, with more to come. |
419 | 906 | * Mailman now has an administrative REST interface which can be used to get | 906 | * Mailman now has an administrative REST interface which can be used to get |
420 | 907 | information from and manage Mailman remotely. | 907 | information from and manage Mailman remotely. |
421 | 908 | 908 | ||
422 | === modified file 'src/mailman/docs/START.rst' | |||
423 | --- src/mailman/docs/START.rst 2015-01-05 01:22:39 +0000 | |||
424 | +++ src/mailman/docs/START.rst 2015-03-12 16:35:40 +0000 | |||
425 | @@ -188,14 +188,14 @@ | |||
426 | 188 | * ``/etc/mailman.cfg`` | 188 | * ``/etc/mailman.cfg`` |
427 | 189 | * ``argv[0]/../../etc/mailman.cfg`` | 189 | * ``argv[0]/../../etc/mailman.cfg`` |
428 | 190 | 190 | ||
430 | 191 | Run the ``bin/mailman info`` command to see which configuration file Mailman | 191 | Run the ``mailman info`` command to see which configuration file Mailman |
431 | 192 | will use, and where it will put its database file. The first time you run | 192 | will use, and where it will put its database file. The first time you run |
432 | 193 | this, Mailman will also create any necessary run-time directories and log | 193 | this, Mailman will also create any necessary run-time directories and log |
433 | 194 | files. | 194 | files. |
434 | 195 | 195 | ||
438 | 196 | Try ``bin/mailman --help`` for more details. You can use the commands | 196 | Try ``mailman --help`` for more details. You can use the commands |
439 | 197 | ``bin/mailman start`` to start the runner subprocess daemons, and of course | 197 | ``mailman start`` to start the runner subprocess daemons, and of course |
440 | 198 | ``bin/mailman stop`` to stop them. | 198 | ``mailman stop`` to stop them. |
441 | 199 | 199 | ||
442 | 200 | Postorius, a web UI for administration and subscriber settings, is being | 200 | Postorius, a web UI for administration and subscriber settings, is being |
443 | 201 | developed as a separate, Django-based project. For now, the most flexible | 201 | developed as a separate, Django-based project. For now, the most flexible |