Add CLA config to gerrit.

Also add the echosign "cla" which just points devs to the wiki page.

Change-Id: I0ef37511d9f7e7495d78f2f3cd9fde47f88aa99c
This commit is contained in:
James E. Blair 2012-01-04 10:49:40 -08:00
parent f1b1a8e925
commit ebac164ee0
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<html>
<body>
<div>
<p>In order to contribute to OpenStack, you need to sign the Contributor License Agreement.</p>
<p>
Follow <a href="http://wiki.openstack.org/HowToContribute">these instructions</a> to sign the agreement. Once your membership in the openstack-cla group has been approved,
you will be able to submit changes.
</p>
<p>(This page is not the actual agreement, do not fill out the form below.)</p>
</div>
</body>
</html>

View File

@ -99,6 +99,15 @@ $commentlinks = [ { name => 'changeid',
replace => 'true', replace => 'true',
} }
file { '/home/gerrit2/review_site/static/echosign-cla.html':
owner => 'root',
group => 'root',
mode => 444,
ensure => 'present',
source => 'puppet:///modules/gerrit/echosign-cla.html',
replace => 'true',
}
} else { } else {
notice('Gerrit is not installed') notice('Gerrit is not installed')
} }

View File

@ -13,6 +13,7 @@
type = OPENID_SSO type = OPENID_SSO
openIdSsoUrl = <%= openidssourl %> openIdSsoUrl = <%= openidssourl %>
cookieSecure = true cookieSecure = true
contributorAgreements = true
[sendemail] [sendemail]
smtpServer = localhost smtpServer = localhost
[container] [container]