Inline removal of Gerrit.Nav in Gerrit 3.7

Iabb10c69ffc159baae1062e10ee55dc8fa4ae0a7 removes `getUrlForSearchQuery`
in favor of `search.ts`.
`Gerrit.Nav` is removed by If38fa09e822fe62a54b1c22f6deb70691dbc9d92

This causes the plugin to throws `TypeError: Gerrit.Nav is undefined`
when formatting links to the dependent/needed-by changes. Replace the
removed method by crafting the link directly.

Change-Id: I8044242b5e75dd0c3defef591f57b4211e2aff37
1 file changed
tree: 7e59898afa160900c5871d375f5a6eceaf48aaf2
  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.