14 Commits

Author SHA1 Message Date
Jeremy Stanley
9341118edd Use foundation member IDs in invitations list
Since the foundation sometimes needs to deduplicate subsequent
invitations for the same foundation member against invitations sent
by another system, use the member ID as the first field of the
invite instead of using the Gerrit username now that we have that
information available. Use a default member ID of 0 to indicate
non-member invitees who may require additional manual deduplication
or vetting. Also log the member ID in the output of the invite mass
mailer script.

Change-Id: I86d879a5f06144a0889eb852f2cf3d555a12a7aa
2017-08-03 20:20:30 +00:00
Jeremy Stanley
327f444818 Add human name to sample of invites from address
Add a human name in the invites sample configuration's from address
value, since this will cause messages to appear with a friendlier
from name than just a raw E-mail address.

Change-Id: Idf16904bcd56692f3a82e41cb52201ed2223fdfd
2017-03-06 21:01:47 +00:00
Jeremy Stanley
182ef2d2e0 Eat the extra leading newline in invites
In the sample settings file, backslash-continue the string literal
opening to avoid introducing an extra leading newline in the
resulting message body.

Change-Id: Ief61f69acb5299ba324af8a897ea4f96fa47711d
2017-03-06 21:00:04 +00:00
Jeremy Stanley
6bfb87071e Use PYTHONIOENCODING=utf-8 for invites invocation
Since the send.py script for invites uses print to emit progress
including the names of contacts to which messages are sent,
redirecting stdout of the script to a local file can result in
encoding errors if some of the names include non-ASCII codepoints
(but not when stdout is your interactive terminal). Setting
PYTHONIOENCODING=utf-8 in the calling environment works around this
nicely.

Change-Id: I52b70c64f8b3a20da5143b31c5090192b0c75c99
2017-03-06 20:57:26 +00:00
Jeremy Stanley
97b50088dd Remove extra sample ATCs file
There only needs to be one sample ATCs file for the invites
mass-mailer, so remove the redundant one which isn't referenced in
the README file. This should help prevent people editing the wrong
sample and then performing a dry-run with the unmodified one.

Change-Id: I61e90ad085e89c466053858518db09a414a07792
2017-03-06 20:18:21 +00:00
Adrien Cunin
a62a7ec2ae Handle non-ASCII characters in body and subject
Change-Id: I522482c9d8cca1493206988694c8d497bc9d32d5
2016-08-02 16:12:32 +02:00
Jeremy Stanley
192414e957 Add Date and Message-ID to summit invites
The mail merger for summit invites includes Date and Message-ID
headers, because Crocker said so in 1977 that's why.

Change-Id: I2105fe4cd04b7b2042c9e32888cb1f094697d7bf
2016-01-14 00:07:47 +00:00
Jeremy Stanley
e6ef4cb6dd Note to escape literal $ in invite2summit template
Literal $ characters in the template which are not part of a
substitution variable should be doubled to to avoid raising a
ValueError exception.

Change-Id: I14fd33571d63d50fc65e8c87fb10577e691b6c8e
2015-07-10 13:04:57 +00:00
Jeremy Stanley
62a81967e9 Rename invite2summit README to README.rst
This is done as a separate step from the content formatting change
for ease of review.

Change-Id: I50111f5bedba2ce4e3793d5071d10567fa71e3b6
2015-07-10 13:02:50 +00:00
Jeremy Stanley
1b76f693b4 Make invite2summit README into reStructuredText
Basic formatting changes for better reStructuredText rendering.

Change-Id: If6cc02dedacf8a74cab8772776c3c39ddf971fd8
2015-07-10 13:02:28 +00:00
Jenkins
48ed1f98d5 Merge "Fix pep8 errors in modules dir" 2013-12-02 16:55:12 +00:00
Jeremy Stanley
2f8a91ef22 Stop running stable/folsom jobs
The OpenStack Havana release heralds end of support for Folsom, so
stop testing it.

* modules/jenkins/files/slave_scripts/docbook-properties.sh: Remove
folsom-specific settings.

* .../openstack_project/files/gerrit/acls/openstack/ceilometer.config:
Get rid of the stable/folsom ACL override.

* .../jenkins_job_builder/config/devstack-gate.yaml
* .../manuals.yaml
* .../projects.yaml
* .../python-bitrot-jobs.yaml
* modules/openstack_project/files/zuul/layout-dev.yaml
* .../layout.yaml: Remove all folsom-only jobs and clean up
configuration and comments associated with them.

* tools/invite2summit/settings.py.sample: Adjust usage comment to no
longer refer to Folsom.

Change-Id: Ieb38a74e6945abe2e40cd3e1cd23b52fbd826933
2013-11-13 20:35:34 +00:00
Monty Taylor
38f8d43ffc Fix pep8 errors in modules dir
There weren't that many of them - just fix them.

Change-Id: I6aa6d056746c4a6804146b89c12e6313f9d22d9a
2013-11-12 11:30:34 -05:00
Stefano Maffulli
80875944b7 Adds the script used to send summit invitations to ATC
Change-Id: If67bdf6099067e96dc168027db6e8f5ee7e4b4cb
Closes-Bug: #1243930
2013-10-23 15:57:48 -07:00