system-config/modules/openstack_project/files/gerrit
Sean Dague f160dcf90c refactor of hideci for readability and modularity
This is a refactors the hideci code into much smaller functions,
making the whole thing a bit more readable for fixing this going
forward. This was done in order to add a couple of new features. The
smaller functions should also make this code much easier to review.

After the refactor we now do a top down parsing of all comments in a
review, classifying them as 'is_ci' and 'is_trusted_ci' so that we can
more easily compute the results we want going forward.

In the process a few additional features were added.

1) CI results are only shown for the latest patch set, even if no CI
system has reported on it. This is accomplished via
ci_latest_patchset.

2) If CI system is in merge conflict, that's displayed in the results
box.

3) Test results records are lifted in total to the test results
display panel, and each set of test results includes the date that we
got it from. This means that for patches that get 'rechecked' a lot,
you'll see the whole history of test results on current patch. You
will also be able to quickly realize that the current test results are
older than the last recheck comment.

The UX for part 3 is different, and may need tweaking going forward,
however the merge of results from different runs was creating a lot of
confusion to reviewers, so this errors on the side of more clarity.

Because of the largely inconvenient workflow for development (the fact
that you basically need to copy / paste function definitions into
chrome dev console) this isn't broken up as smaller patches. This
should, hopefully, make future patches much easier on this code
though.

Change-Id: I3f128a449756fd6988f3810863cd1d49c476b0dd
2014-09-30 20:11:54 -04:00
..
change-abandoned Add change-abandoned hook for gerrit in puppet 2014-05-15 18:32:53 +00:00
change-merged Add project configuration. 2014-01-31 19:39:12 +00:00
cla.html Remove inapplicable sentences from ICLA preamble. 2013-03-05 03:05:16 +00:00
echosign-cla.html Move OpenStack branding and launchpad integration. 2012-07-23 14:46:55 -05:00
GerritSite.css Add CI results table to Gerrit 2014-08-13 09:34:41 -07:00
GerritSiteHeader.html Add button that shows/hides CI comments in Gerrit 2014-07-10 22:02:28 +03:00
hideci.js refactor of hideci for readability and modularity 2014-09-30 20:11:54 -04:00
launchpad_sync_logging.conf Correct logger config section name. 2012-08-21 04:29:43 +00:00
robots.txt Add robots.txt to gerrit. 2013-06-10 20:21:16 +00:00
system-cla.html Add stub text for USG and system CLAs in Gerrit. 2013-03-03 18:54:40 +00:00
usg-cla.html Add stub text for USG and system CLAs in Gerrit. 2013-03-03 18:54:40 +00:00