Hacker News new | ask | show | jobs
by mdaniel 1387 days ago
I played with Upsource back when it was their "static-analysis in the cloud," and it actually was cool, but holy hell it was a beast to get up and running, and (just like Qodana that they're trying now) the static analysis was(is?) indescribably hard to configure correctly to get meaningful results

I've heard great things about Gerrit, but it also seems like one of those "strongly opinionated, mailing-list based" review systems, and trying to lobby for such a thing in the GitHub/GitLab web based world is practically a non-starter in my experience

1 comments

Gerrit is pretty strongly opinionated, but it is not mailing-list based. Review notifications are sent via email, but otherwise everything needs to be done via the web UI (or other tool using the API).
Kind of.

If configured you can send your review by emails https://gerrit-review.googlesource.com/Documentation/intro-u...

If you get the an email you can read it from your mail client, retrieve the change from Gerrit over git (git fetch gerrit.example.org refs/changes/45/12345,8 && git checkout FETCH_HEAD), address the review and send back to Gerrit (git push gerrit.example.org HEAD:refs/for/main). Though to mark the review comments you would have to reply to the email or indeed head to the Web UI to mark them resolved.

One can send a review vote and message over ssh which is quite convenient to a point I locally have aliases +1 / +2 to do it directly from the command line instead of heading to the web browser.

The API is quite powerful (the Gerrit web UI entirely relies on the REST API). James E. Blair wrote a ncurses client for Gerrit there is a quick demo at https://ttygroup.org/gertty/index.html (Pypi page https://pypi.org/project/gertty/ ).