From a6c20f7de5ebaf27f00c042618e19fd9a631b445 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Mon, 19 May 2014 10:13:32 -0700 Subject: [PATCH] Add a doc8 stackforge project The doc8 project allows for automated validation checking of rst documentation (commonly used in openstack and elsewhere) and having it reviewable by others in the community would be great. Change-Id: I364338f63383a1f61284f8682985d15de3b22643 --- .../files/gerrit/acls/stackforge/doc8.config | 13 +++++++++++++ .../openstack_project/files/review.projects.yaml | 3 +++ modules/openstack_project/files/zuul/layout.yaml | 6 ++++++ 3 files changed, 22 insertions(+) create mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/doc8.config diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/doc8.config b/modules/openstack_project/files/gerrit/acls/stackforge/doc8.config new file mode 100644 index 0000000000..eef2601ced --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/stackforge/doc8.config @@ -0,0 +1,13 @@ +[access "refs/heads/*"] + label-Code-Review = -2..+2 group doc8-core + label-Workflow = -1..+1 group doc8-core + abandon = group doc8-core +[access "refs/tags/*"] + pushSignedTag = group doc8-ptl +[project] + state = active +[receive] + requireChangeId = true + requireContributorAgreement = false +[submit] + mergeContent = true diff --git a/modules/openstack_project/files/review.projects.yaml b/modules/openstack_project/files/review.projects.yaml index 3b58aa7a47..5d5feaa2a0 100644 --- a/modules/openstack_project/files/review.projects.yaml +++ b/modules/openstack_project/files/review.projects.yaml @@ -608,6 +608,9 @@ - direct-release - project: stackforge/designate - project: stackforge/designate-specs +- project: stackforge/doc8 + description: Style checker for sphinx (or other) rst documentation. + upstream: git://github.com/harlowja/doc8.git - project: stackforge/driverlog description: Vendor drivers for OpenStack upstream: git://github.com/Mirantis/oscp.git diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index dc6f5ebb3c..9a1e338d6c 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -4956,3 +4956,9 @@ projects: - noop gate: - noop + + - name: stackforge/doc8 + check: + - noop + gate: + - noop