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:
parent
4695622b68
commit
9e4702a3b4
@ -279,7 +279,10 @@ port=29418
|
|||||||
project=%s
|
project=%s
|
||||||
""" % (GERRIT_HOST, project_git))
|
""" % (GERRIT_HOST, project_git))
|
||||||
git_command(repo_path, "add .gitreview")
|
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)
|
gerrit.createProject(project)
|
||||||
|
|
||||||
if not os.path.exists(project_dir):
|
if not os.path.exists(project_dir):
|
||||||
|
@ -11,5 +11,6 @@
|
|||||||
- project: gtest-org/gtest
|
- project: gtest-org/gtest
|
||||||
- project: gtest-org/test
|
- project: gtest-org/test
|
||||||
- project: gtest-org/test2
|
- project: gtest-org/test2
|
||||||
|
- project: gtest-org/test3
|
||||||
- project: gtest-org/test-manage-project
|
- project: gtest-org/test-manage-project
|
||||||
acl_config: /home/gerrit2/acls/test-manage-project.config
|
acl_config: /home/gerrit2/acls/test-manage-project.config
|
||||||
|
Loading…
Reference in New Issue
Block a user