From c1e811d63f1666bec29836e06a32dff7bb9e2c74 Mon Sep 17 00:00:00 2001
From: Ryan Petrello <ryan.petrello@dreamhost.com>
Date: Mon, 12 Aug 2013 17:52:29 -0400
Subject: [PATCH] Add pecan project.

Change-Id: I9574e5de6a98a210bafec8204ced21634370ca00
---
 .../files/gerrit/acls/stackforge/pecan.config | 14 ++++++++++++
 .../jenkins_job_builder/config/projects.yaml  | 10 +++++++++
 .../openstack_project/files/zuul/layout.yaml  | 22 +++++++++++++++++++
 .../templates/review.projects.yaml.erb        |  3 +++
 4 files changed, 49 insertions(+)
 create mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/pecan.config

diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/pecan.config b/modules/openstack_project/files/gerrit/acls/stackforge/pecan.config
new file mode 100644
index 0000000000..c851dc76bc
--- /dev/null
+++ b/modules/openstack_project/files/gerrit/acls/stackforge/pecan.config
@@ -0,0 +1,14 @@
+[access "refs/heads/*"]
+        label-Code-Review = -2..+2 group pecan-core
+        label-Approved = +0..+1 group pecan-core
+        workInProgress = group pecan-core
+[access "refs/tags/*"]
+        create = group pecan-ptl
+        pushTag = group pecan-ptl
+[project]
+        state = active
+[receive]
+        requireChangeId = true
+        requireContributorAgreement = false
+[submit]
+        mergeContent = true
diff --git a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml
index aa9504d541..8b18f6aab3 100644
--- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml
+++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml
@@ -1275,3 +1275,13 @@
     jobs:
       - python-jobs
       - pypi-jobs
+
+- project:
+    name: pecan
+    github-org: stackforge
+    node: precise
+    tarball-site: tarballs.openstack.org
+
+    jobs:
+      - python-jobs
+      - pypi-jobs
diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml
index 07f8807832..233f387852 100644
--- a/modules/openstack_project/files/zuul/layout.yaml
+++ b/modules/openstack_project/files/zuul/layout.yaml
@@ -2713,3 +2713,25 @@ projects:
       - gate-noop
     gate:
       - gate-noop
+
+  - name: stackforge/pecan
+    check:
+      - gate-pecan-pep8
+      - gate-pecan-python26
+      - gate-pecan-python27
+      - gate-pecan-python33
+    gate:
+      - gate-pecan-pep8
+      - gate-pecan-python26
+      - gate-pecan-python27
+      - gate-pecan-python33
+    post:
+      - pecan-branch-tarball
+    pre-release:
+      - pecan-tarball
+    release:
+      - pecan-tarball:
+        - pecan-pypi-upload:
+          - post-mirror-python26
+          - post-mirror-python27
+          - post-mirror-python33
diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb
index f7aefc7d28..3015387ba8 100644
--- a/modules/openstack_project/templates/review.projects.yaml.erb
+++ b/modules/openstack_project/templates/review.projects.yaml.erb
@@ -366,3 +366,6 @@
 - project: stackforge/tuskar-ui
   description: "The UI component for Tuskar"
   upstream: git://github.com/tuskar/tuskar-ui.git
+- project: stackforge/pecan
+  description: "A WSGI object-dispatching web framework, designed to be lean and fast with few dependencies."
+  upstream: git://github.com/dreamhost/pecan.git