Expose ChangeInfos instead of Change-Ids

As not all dependencies need to be available on the server, we need to
split dependencies into available and missing ones. For the available
ones, we offer ChangeInfos, while for the missing ones we can still
only offer Change-Ids.

With this change, the UI shows project, branch and subject of the
changes and thereby better blends in with the other list of changes.

Change-Id: I7cfdba5c2942341b6bbb3292f91b35abf5a1603f
11 files changed
tree: 0c8f469ba41ad8a9dbfcb6bbf5523f74e18c32c3
  1. gr-zuul/
  2. src/
  3. .eslintignore
  4. .eslintrc.json
  5. .gitignore
  6. BUILD
  8. README.md

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.