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
This commit is contained in:
Clark Boylan
2012-11-14 08:53:37 -08:00
committed by Jenkins
parent 16390e23d2
commit 33c46d411d

View File

@@ -279,7 +279,10 @@ port=29418
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):