Make manage project commit author consistent.
Set Openstack Project Creator as the commit author for all commits in
the manage_projects.py script.
Change-Id: I994ee0a43e783415d0976143509497a71187b9ab
Reviewed-on: https://review.openstack.org/16094
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
diff --git a/manage_projects.py b/manage_projects.py
index fb50b26..9efdfb5 100755
--- a/manage_projects.py
+++ b/manage_projects.py
@@ -279,7 +279,10 @@
project=%s
""" % (GERRIT_HOST, project_git))
git_command(repo_path, "add .gitreview")
- git_command(repo_path, "commit -a -m'Added .gitreview'")
+ cmd = "commit -a -m'Added .gitreview' --author=" \
+ "'Openstack Project Creator " \
+ "<openstack-infra@lists.openstack.org>'"
+ git_command(repo_path, cmd)
gerrit.createProject(project)
if not os.path.exists(project_dir):