Split out utils package for helper classes

In upcoming commits, we will split out a class of GetCrd that handles
the Depends-On part, and a class that handles the Needed-By part. This
would crowd the main namespace. So we prepare a `utils` package for
CommitMessageFetcher and these upcoming helper classes.

Change-Id: I44d1cc9fef55573e8563a7e28eb76d4cf81e8bf3
4 files changed
tree: fba61f40e502987064e497747459bac4eda76d36
  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.