9 Commits

Author SHA1 Message Date
Bob Badour
c48da97cfd Add project scope feature to contributor-agreement enforcement.
Two new lists are added to the contributor-agreement config section:

1. matchProjects will apply the enforcement only to matching projects.
   When omitted, enforcement applies to all projects.
2. excludeProjects will cause the enforcement to skip matches.
   When omitted, enforcement applies to all projects per matchProjects.

Change-Id: Ide2d8c4718ffcfb3cf1701465fe08bea58e9d7c6
2018-10-17 17:41:53 +00:00
David Pursehouse
05d502fbc4 config-cla: Improve documentation of adding groups config
Change-Id: If46c6229848e99bc21b0b486c5d624bd522ff917
2016-08-22 17:46:31 +09:00
Michael Ochmann
b99feabd88 Fix formatting of example blocks
With the new stylesheet example blocks (delimited with ====) are
rendered as rather intrusive boxes with large padding in yellow
and grey.

This patch replaces the example blocks with simple code blocks
(delimited with ----) that better match the overall style of the
documentation.

Change-Id: Id95387cdb153332c2066e2d5e378697647dbca52
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
2016-07-07 14:06:31 +02:00
Dave Borowitz
b84c227162 Remove contact store functionality
Class loading of PGP functionality has never worked out of the box,
from which we can conclude that this feature is unused in the wild.

PGP functionality has never been located in bcprov-*.jar, at least as
long as the original library download configuration has existed.
3bccd773 points to bcprov-jdk16-144.jar, which does not contain PGP
classes:

  $ curl -sOL http://www.bouncycastle.org/download/bcprov-jdk16-144.jar && jar tf bcprov-jdk16-144.jar | grep -i pgp
  org/bouncycastle/crypto/modes/OpenPGPCFBBlockCipher.class
  org/bouncycastle/crypto/modes/PGPCFBBlockCipher.class

Even before that commit, in 44671f5c, we were checking for the
presence of PGPPublicKey.class in the havePGP() helper method.

This functionality at one point was used by Google to implement CLA
checking, but that used a different build system and so did not see
the breakage caused by incorrect library download configuration. These
days, Google does not even use the same contact store mechanism for
googlesource.com; CLAs are managed using a different system.

Also delete UI associated with storing contact information. Although
it was possible to configure a CLA to prompt the user for contact
information, looking at the logic in AccountSecurityImpl, this info
was dropped on the floor unless a ContactStore was configured. As we
know, this was never the case, so claiming to store encrypted contact
information in the UI was basically a lie.

Similarly, the contactFiledOn field in Account was only set in the
same ContactStore-enabled codepath, so we can kill that as well.

Change-Id: I497cd374566c7d56262dafeeb96e4612fee54e8f
2015-08-28 14:08:58 -04:00
Yuxuan 'fishy' Wang
61698b14e0 Use the new section title style in Asciidoctor.
We previous use the section title style like:

Section level 1
===============

Section level 2
---------------

Which have a problem in Asciidoctor that the number of "="s or "-"s must match
the number of characters in the header exactly, as a result it's easy to make
mistakes while changing the titles. Asciidoctor provides a better style like:

= Section level 1

== Section level 2

So we switched to this style.

Also fixed a bug in replace_macros.py, which will not cause any problem in the
old style.

Change-Id: I811dd7238735d98f662767c17086152cd69aea02
2013-12-20 12:55:51 -08:00
Yuxuan 'fishy' Wang
99cb68dec4 Added searchbox to documentation.
This provides the entry point of the documentation search feature.

Change-Id: Iea2b707995c0e042829db509927384dcec7aaf43
2013-11-05 12:49:43 -08:00
David Pursehouse
452ea4c7d8 Minor documentation tidy-up
Fix a couple of minor grammatical and formatting issues.

Change-Id: Ifb16d30a49d14e5c78fefc6c18469a593c279d9f
2013-01-07 17:30:55 +09:00
Marc Petit-Huguenin
09d2e6007e Misspelled word in CLA configuration
- Fixed aggreement -> agreement in title.

Change-Id: I38d9990a752e955a503dcc88b5b45352b4825a86
2012-12-15 08:13:53 -08:00
Marc Petit-Huguenin
bbb8549dd5 Documentation for Contributor Agreements
- New config-cla.txt file.
- Fix config-gerrit.txt:
  - auth.contributorAgreements now talks about project.config instead of
    database table.
  - Added reference to config-cla.txt.
- Added link to config-cla.txt in index.txt.

Change-Id: I89b26434267c58479425577891d4823c483c7c75
2012-12-05 09:54:37 +09:00