adjust the emotions in the template

Not all of the adjectives we had in the emotion list are appropriate,
and some produce awkward phrasing when used in the structure "are $word
to". Adjust the emotion list to remove the items that fit poorly and
adjust the template and remaining items to use "We $emotion announce" as
the structure, allowing more variation in the form of emotion being
plugged in.

Change-Id: I976fc6cd4305edc8ea04629bd3e4d4e68ad6bbc7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-01-05 10:31:15 -05:00
parent 2bdce02cc2
commit c99f81423d
1 changed files with 25 additions and 29 deletions

View File

@ -32,34 +32,30 @@ from releasetools import rst2txt
EMOTIONS = [
'amped',
'chuffed',
'content',
'delighted',
'eager',
'ecstatic',
'enthusiastic',
'excited',
'exuberant',
'frolicsome',
'glad',
'gleeful',
'glowing',
'grateful',
'happy',
'high-spirited',
'jazzed',
'joyful',
'jubilant',
'mirthful',
'overjoyed',
'pleased',
'psyched',
'pumped',
'satisfied',
'stoked',
'thrilled',
'tickled pink',
'are amped to',
'are chuffed to',
'contentedly',
'are delighted to',
'eagerly',
'are ecstatic to',
'enthusiastically',
'are excited to',
'exuberantly',
'are glad to',
'are gleeful to',
'are happy to',
'high-spiritedly',
'are jazzed to',
'joyfully',
'jubilantly',
'are overjoyed to',
'are pleased to',
'are psyched to',
'are pumped to',
'are satisfied to',
'are stoked to',
'are thrilled to',
'are tickled pink to',
]
# The email headers for generating a message to go right into sendmail
@ -79,7 +75,7 @@ PYPI_URL_TPL = 'https://pypi.python.org/pypi/%s'
# to correctly wrap at paragraph boundaries...
HEADER_RELEASE_TPL = """
We are {{ emotion }} to announce the release of:
We {{ emotion }} announce the release of:
{% if description %}
{{ project }} {{ end_rev }}: {{ description }}