From ea646d94c1b3e677932aa3703b28bf5e8f403bac Mon Sep 17 00:00:00 2001 From: Radomir Dopieralski Date: Tue, 27 May 2014 12:36:48 +0200 Subject: [PATCH] Add XStatic-* projects with packaged static files for Horizon Horizon will no longer bundle all the static JavaScript and style files in its repository. It will instead depend on XStatic packages with those files included in them. Every library is a separate XStatic package, so that it can be tracked and versioned separately and possibly shared with other projects that also use XStatic. The projects will be managed by a new group, xstatic-core. This has been discussed on a design session on the summit: https://etherpad.openstack.org/p/juno-summit-horizon-static-files Change-Id: Ie087c173b531faab4ae6a55f4a05e7ac3bd990c9 Implements: https://blueprints.launchpad.net/horizon/+spec/remove-javascript-bundling --- .../gerrit/acls/stackforge/xstatic.config | 11 ++ .../jenkins_job_builder/config/projects.yaml | 160 ++++++++++++++++++ .../files/review.projects.yaml | 64 +++++++ .../openstack_project/files/zuul/layout.yaml | 96 +++++++++++ 4 files changed, 331 insertions(+) create mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/xstatic.config diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/xstatic.config b/modules/openstack_project/files/gerrit/acls/stackforge/xstatic.config new file mode 100644 index 0000000000..ee47553b25 --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/stackforge/xstatic.config @@ -0,0 +1,11 @@ +[access "refs/heads/*"] + label-Code-Review = -2..+2 group xstatic-core + label-Workflow = -1..+1 group xstatic-core + abandon = group xstatic-core +[access "refs/tags/*"] + pushSignedTag = group xstatic-ptl +[receive] + requireChangeId = true + requireContributorAgreement = true +[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 467424e6f4..320389d885 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -2856,3 +2856,163 @@ jobs: - gate-{name}-python27 - gate-{name}-docs + +- project: + name: xstatic-angular + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-angular-cookies + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-angular-mock + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-bootstrap-datepicker + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-bootstrap-scss + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-d3 + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-hogan + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-jasmine + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-jquery-migrate + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-jquery.bootstrap.wizard + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-jquery.quicksearch + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-jquery.tablesorter + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-jsencrypt + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-qunit + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-spin + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + +- project: + name: xstatic-rickshaw + github-org: stackforge + node: bare-precise + tarball-site: tarballs.openstack.org + + jobs: + - python-jobs + - pypi-jobs diff --git a/modules/openstack_project/files/review.projects.yaml b/modules/openstack_project/files/review.projects.yaml index 0ad4a2c0da..c63fd66aca 100644 --- a/modules/openstack_project/files/review.projects.yaml +++ b/modules/openstack_project/files/review.projects.yaml @@ -1071,3 +1071,67 @@ - project: stackforge/xenapi-os-testing description: Scripts to enable running of tempest tests in a nested Xen instance upstream: git://github.com/citrix-openstack/xenapi-os-testing.git +- project: stackforge/xstatic-angular + description: Angular JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-angular.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-angular-cookies + description: Angular-Cookies JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-angular-cookies.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-angular-mock + description: Angular-Mock JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-angular-mock.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-bootstrap-datepicker + description: Bootstrap-Datepicker JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-bootstrap-datepicker.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-bootstrap-scss + description: Bootstrap SCSS library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-bootstrap-scss.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-d3 + description: D3 JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-d3.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-hogan + description: Hogan JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-hogan.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-jasmine + description: Jasmine JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-jasmine.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-jquery-migrate + description: Migrate jQuery plugin packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-jquery-migrate.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-jquery.bootstrap.wizard + description: Bootstrap.Wizard jQuery plugin packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-jquery.bootstrap.wizard.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-jquery.quicksearch + description: Quicksearch jQuery plugin packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-jquery.quicksearch.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-jquery.tablesorter + description: Tablesorter jQuery plugin packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-jquery.tablesorter.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-jsencrypt + description: JSEncrypt JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-jsencrypt.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-qunit + description: QUnit JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-qunit.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-rickshaw + description: Rickshaw JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-rickshaw.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config +- project: stackforge/xstatic-spin + description: Spin JavaScript library packaged as XStatic. + upstream: https://bitbucket.org/thesheep/xstatic-spin.git + acl-config: /home/gerrit2/acls/stackforge/xstatic.config diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index add12cc2a7..1253aa0c38 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -4768,3 +4768,99 @@ projects: - gate-octavia-python26 - gate-octavia-python27 - gate-octavia-python33 + + - name: stackforge/xstatic-angular + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-angular-cookies + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-angular-mock + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-bootstrap-datepicker + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-bootstrap-scss + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-d3 + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-hogan + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-jasmine + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-jquery-migrate + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-jquery.bootstrap.wizard + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-jquery.quicksearch + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-jquery.tablesorter + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-jsencrypt + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-qunit + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-rickshaw + check: + - noop + gate: + - noop + + - name: stackforge/xstatic-spin + check: + - noop + gate: + - noop