Gerrit releases since a few years require HTTP basic authentication
rather than Gertty's default of digest. Add it in the minimal config
example since it's often overlooked by users and the number of
Gerrit deployments where the default works is rapidly dwindling.
Change-Id: I3138197991ae5f50f3ac956bf905ce5e01a50e7c
This change changes the default location for the gertty configuration
file that takes precedence if none is supplied on the command line to
~/.config/gertty/gertty.yaml. If that file does not exist, the previous
location of ~/.gertty.yaml is consulted as a fallback.
Change-Id: I5ee6224219b0229c7b1ba17205c3f4cf8fb1d62b
Story: 2002119
Task: 19798
- Add a config option to enable closing a change after a review
is saved, and going back to the change list.
- Enable reviewKeys from the change page to also work on the
diff view.
Change-Id: I37d907132a012d074d38345f15ef83ec7d9f3e6c
This commit makes the size column configurable to graphs by
configuration file. And this commit adds color styles by thresholds
which are configurable.
Change-Id: Ifdc6961efbb178cc314c0fbd4d948a1ba19dcdd6
This patch adds Zuul to the `hide-comments` configuration option so
that Zuul v3 comments are handled just like Jenkins comments.
Change-Id: Id2a6008b59522291f9c60e32bc47c5fb076d1362
Add 'message' optional parameter to reviewkeys which can be use to have
a shortcut to leave recheck in reviews (example of use case).
reviewkeys:
- key: 'meta 4'
approvals: []
message: 'recheck'
It updates the doc and also the openstack-gertty.yaml since it can be
useful for all OpenStack reviewers.
Change-Id: I81f3cc8374fe1872efb71d4b2bc1c647b118d43f
It is very confusing to new Gertty users like me that it seems to
function fine except the search key is a noop on MacOS, and the
current documentation for fixing this is buried in a 250 line
configuration example.
This is just a minor documentation fix to make the possible need
for a custom key mapping on MacOS more prominent.
Change-Id: I8053de3a0a64ebeeec9d2d400766a8debe5c17fa
I'm using a gerrit installation that uses neither 'basic' nor 'digest'
authentication methods, but instead redirects users to a custom login
form which sets a cookie to provide authentication.
This commit adds a new auth-type 'form', that automates logging in
through that form.
Currently, the path to the form is hardcoded to '/login' and the names
of the username and password fields to 'username' and 'password'
respectively. If preferred, I can add configuration options for each of
those too.
Change-Id: I3fff38b1be3f17c753787c9eb62ede0ce60a3ece
This commit adds matchers for bugs and blueprints on launchpad, and
replicates the behavior of gerrit UI.
Change-Id: Ic721a90df029d5b82d30c7d7193170488c5c0406
This is basically the reference config file translated to rst.
This also makes some minor updates to the reference config file.
Change-Id: I6aa3f9a7410a219ad00cee827ac4c273cf54bff5
This commit adds a new config option 'git-url', where the
base URL can be specified to anything recognised by git-clone:
https://www.kernel.org/pub/software/scm/git/docs/git-clone.html#URLS
This is useful if the values provided by gerrit are incorrect, or if
you have access to a gerrit mirror closer to you.
Change-Id: I35ee5540aad2f27125ec15e6e933ac1ad3f3050e
If you run "gertty --open <URL>" it will instruct a running
Gertty to open the change at that URL.
Change-Id: Ie82aa53f497717e7355646d6d6fd12473ececad0
By default, remove changes (and associated git refs) that have been
closed for more than 2 months.
Change-Id: I5d1176b13a7c0fdaf12e346537fd7e1251868461
By default, display times using the local timezone. Add timezone
info to time displays where space permits. Add an option to restore
the current behavior where times are displayed in UTC.
Change-Id: I6035b6277dc49774537a762b2946c56a3b8dec17
Co-Authored-By: Bradley Jones <jones.bradley@me.com>
OS X, for reasons of its own, swallows the CTRL+O keystroke, so OS X
users are likely to end up looking at this file to figure out how to fix
their keymap. This change adds an example of the mapping they're looking
for.
The secondary reason for documenting this is that none of the examples
show a multi-word name, so it took me a while to figure out the correct
name to use here. Adding an example makes it clearer how to use
multi-word names.
Change-Id: I7b95eea720864a5b18b9b5796bc30b4aebf57248
Add some more detailed notes on creating per-project filters, as the
syntax is a little different from that used directly on Gerrit.
Add a second "Incoming reviews" dashboard, to match what Gerrit has.
Change-Id: I77377a14bc78ce2e932e3e1c2348766a84eb9911
Use the dependency information of the most recent revisions to
create a threaded view of changes.
Also, use a more efficient query to collect the children of a
change in the change view.
Change-Id: I1cbef9fe7c4f1822b8541e5b4d0e7d2fe2e180a9
The certificates are checked both by Gertty itself (for API calls) and
by the launched git processes. In theory, the server could be set up to
redirect to another HTTP server for Git calls (and in fact, the KDE's
Gerrit instance is set up to do just that). In that case, the CA bundle
file should contain PEM certificate chain of all the CAs for both Gerrit
and the webserver hosting the git repositories.
Change-Id: Id6af61c3710e4809c84b1edd054ab9b1959a60c3
The example configuration for gerrit-review.googlesource.com is also
applicable to other Gerrit instances running at googlesource.com, for
example:
android-review.googlesource.com
gwt-review.googlesource.com
Make the example generic, rather than specific to gerrit-review.
Change-Id: I761db4228aa23e92e57751f5ecbdf721c992065d
Add a schema change to store whether the user can submit a revision.
Offer the submit button on that revision, as well as on the review
dialog if applicable. Allow the submit action to be bound to
reviewkeys. Also bind it to a key command.
Change-Id: I341663ac84d2ac09f9b1ef8c9e0dff45d2658e1d