Add in prompt (and generation of) project team

This seems to be a new required field so prompt
for it when creating a new file (and default it
to the same value as the launchpad project name).

Change-Id: Ie822bc10cf207317ad52759b7676c7156dd348fc
This commit is contained in:
Joshua Harlow 2016-07-13 08:43:49 -07:00
parent b41d728582
commit 57d30a7667

View File

@ -188,6 +188,9 @@ def maybe_create_release(release_repo_path, deliverable_info,
"Announcement email address: ",
validator=NoEmptyValidator(),
default=ANNOUNCE_EMAIL)
team = prompt("Project team: ",
validator=NoEmptyValidator(),
default=launchpad_project)
include_pypi_link = yes_no_prompt("Include pypi link? ")
newest_release = collections.OrderedDict([
('launchpad', launchpad_project),
@ -195,6 +198,7 @@ def maybe_create_release(release_repo_path, deliverable_info,
('include-pypi-link', include_pypi_link),
('release-notes', notes_link),
('releases', []),
('team', team),
])
possible_hashes = []
for sha, _descr in change_lines: