Append change status, if applicable

The needed code got brought over from gr-related-changes-list.js.
Not all code paths are reachable, as we only have shallow ChangeInfo
objects. We leave the code as untouched as possible to allow for
easier updating from gr-related-changes-list.js.

Change-Id: Ia32a4bab4282770acfd4896ce3c16f4457d3e5ea
2 files changed
tree: e1e387aacdb973e060cd8377c5146b9c332c8c9b
  1. gr-zuul/
  2. src/
  3. .eslintignore
  4. .eslintrc.json
  5. .gitignore
  6. BUILD

Gerrit Zuul Plugin

Openstack uses Zuul for project gating and one of the features of Zuul is cross repository dependencies (CRD). Zuul will detect CRDs in git commit messages to allow it to arrange patchsets (in order) before scheduling them for build and test.

The problems with having only a ‘depends-on’ reference:

  • It can become very difficult, downright confusing really, to determine the dependency relationships.
  • The use of CRD can produce dependency cycles which can be difficult to detect.

To help alleviate these issues this plugin adds the following:

  • A reverse lookup for the ‘depends-on’ reference.
  • A REST endpoint to allow other clients to retrieve CRD info.

Detailed information about this plugin can be found in the documentation.