Commit Graph

56 Commits

Author SHA1 Message Date
Zuul e099120fe0 Merge "examples: match 'commit <hash>'" 2021-08-24 16:47:00 +00:00
Jeremy Stanley ae7b136646 Suggest basic auth in minimal example
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
2021-08-24 13:57:25 +00:00
Dmitry Tantsur c1202c7c63 examples: match 'commit <hash>'
Change-Id: I833e37a60b93b23124f127b5639ab210fd12fa63
2021-07-29 14:40:43 +02:00
Dmitry Tantsur cd60a82f6a examples: matching storyboard stories
Change-Id: I5c3d42adb9f6654c1d0b1cacfa48eb8c5146e2c7
2021-07-05 18:21:33 +02:00
Zuul bd818d1913 Merge "Fix auth-type in opendev example config" 2020-12-18 16:47:00 +00:00
James E. Blair 444c8e1285 Document removal of /p from default git-url
Change-Id: I5d88dabbc7944f2ad67112a1ead14c11836fcfdb
2020-12-18 08:45:12 -08:00
Jay Faulkner 3b19344e02 Fix auth-type in opendev example config
This change is required as part of the opendev gerrit upgrade.

Change-Id: Ibbe63232f6852202c2176e6ea156ec1f70d8d94e
2020-11-24 15:34:40 +00:00
James E. Blair 5e6f398cf3 Update googlesource example
The username may not be present for newer accounts on googlesource.

Change-Id: Id76416f323a6d08ba83ab9a175f066a995b10941
2019-08-28 15:17:38 +02:00
James E. Blair dfbe737cb9 Change some OpenStack to OpenDev or ttygroup
Change-Id: I1992146163b4a2ad9e70751c4ebd6b6a6663e441
2019-04-23 19:21:05 -07:00
Nate Johnston ea67716536 Change the default location for gertty config file
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
2019-04-23 19:18:46 -07:00
Doug Wiegley 7892a19cb9
Enable review keys in diffs, and close change on review
- 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
2019-03-06 11:08:23 -07:00
Zuul 058250d951 Merge "[DOCS] Document MacOS keymap more prominently" 2018-09-14 18:25:24 +00:00
Zuul 8a7364ffb9 Merge "Add rdoproject gerrit example" 2018-04-26 06:28:14 +00:00
Zuul 67fa1edf41 Merge "Hide Zuul comments" 2018-03-02 11:03:35 +00:00
James E. Blair 57626e4f3b Document size-column setting
And change the value from splitGraph to split-graph for consistency.

Change-Id: Ia98aac367702933b205b4d8cea5b5579ebd9a062
2018-03-02 10:58:01 +00:00
Masayuki Igawa a34fdef1ed Make size column configurable graph
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
2018-03-02 10:57:31 +00:00
Major Hayden 22f15cbffd Hide Zuul comments
This patch adds Zuul to the `hide-comments` configuration option so
that Zuul v3 comments are handled just like Jenkins comments.

Change-Id: Id2a6008b59522291f9c60e32bc47c5fb076d1362
2018-01-31 15:17:57 +00:00
Emilien Macchi cbe4d9322f reviewkeys: add 'message' parameter
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
2017-12-22 10:10:18 -08:00
Logan V 1a277f8db6 [DOCS] Document MacOS keymap more prominently
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
2017-09-22 12:36:58 -05:00
Matthias Runge 449fe4605b Add rdoproject gerrit example
Change-Id: I41288260b5faee27397cc55d1df4fc7e0f704ad7
2017-07-14 09:37:53 +02:00
Doug Wiegley 0691f307a1 Add new lock-file setting to the config doc and reference config
Change-Id: If3af9429d708bb5d877f31cbc34dec34bd21a544
2016-07-21 17:43:12 -06:00
James E. Blair e5f37b6796 Add form authentication info to docs
Validate the value of the auth-type parameter and remove the
'unexpected value' fallback.

Change-Id: Idbc70251e27ea760c03df585df3ca6b469c4e163
2016-05-02 11:01:43 -05:00
Christoph Gysin ccc5baaf9e Add support for auth-type=form
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
2016-05-02 11:01:43 -05:00
James E. Blair 2efa0606f7 Add an option to disable the breadcrumb footer
Change-Id: I4092cd05fca8c808165f27b73e9a5f501bc97405
2016-05-02 10:59:22 -05:00
Martin André a6689f9e15 Add matchers for external references on launchpad
This commit adds matchers for bugs and blueprints on launchpad, and
replicates the behavior of gerrit UI.

Change-Id: Ic721a90df029d5b82d30c7d7193170488c5c0406
2016-05-02 10:59:22 -05:00
James E. Blair 7d648c0e68 Add configuration information to docs
This is basically the reference config file translated to rst.

This also makes some minor updates to the reference config file.

Change-Id: I6aa3f9a7410a219ad00cee827ac4c273cf54bff5
2016-05-02 10:59:22 -05:00
Christoph Gysin 5479310d75 Add config option for git clone URL
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
2016-03-09 13:11:59 -08:00
James E. Blair 7c0220d4e3 Add support for customized dashboard sorting
And suggest 'reversed last seen' as a sort order for the Recently
Seen dashboard.

Change-Id: I99a72b58f4135649167f1230f3847809ad807786
2016-02-10 07:57:02 -08:00
James E. Blair 4a18f6a6f8 Add support for last_seen
Change-Id: I01f2735b9d72d41b99427a39dbb1e31246a1c531
2016-02-10 07:57:01 -08:00
James E. Blair fbb9969033 Fix typo in expire-age setting
Change-Id: I3ddf3d6d4dac953ab9471346feb76928211d61e4
2016-02-05 15:54:35 -08:00
Jenkins 20b4a537dc Merge "Add option to disable mouse support" 2016-01-15 17:19:31 +00:00
Jenkins d17ca93b84 Merge "Add support for external commands" 2016-01-15 17:19:26 +00:00
James E. Blair 9ae126da1e Add option to disable mouse support
Change-Id: Icb075699441774989810671e48106a9de3926b92
2016-01-15 09:12:04 -08:00
James E. Blair 1222a7f927 Add support for external commands
If you run "gertty --open <URL>" it will instruct a running
Gertty to open the change at that URL.

Change-Id: Ie82aa53f497717e7355646d6d6fd12473ececad0
2016-01-15 09:12:01 -08:00
James E. Blair 2203c7329c Add notes to see reference-gertty.yaml for more info
Change-Id: Id023c912065a3ffa98744ea61b3b9b77b34c63d1
2015-12-22 13:00:03 -08:00
James E. Blair 540c8dd7cc Support multiple key input
Change-Id: I0cd0884e0e1f4f0fa82f93e5f7438ff00c5a992a
2015-12-04 13:08:05 -08:00
Sirushti Murugesan a7f2b02c11 Specify color for unstable test job
Change-Id: Ifb9757c2e7f8244a9ec37680cc7d9fb458a169f0
2015-06-30 13:41:05 +05:30
James E. Blair 3c9124969b Add database pruning
By default, remove changes (and associated git refs) that have been
closed for more than 2 months.

Change-Id: I5d1176b13a7c0fdaf12e346537fd7e1251868461
2015-05-27 08:34:53 -07:00
Jenkins 7576f47d02 Merge "Expand sample keymaps to ameliorate OSX features" 2015-03-27 23:33:57 +00:00
Miguel Grinberg 497fd3f358 Add change list options to configuration
This change adds default sorting options for the change list to the
configuration file.

Change-Id: I5a20b1be359535e91b015a40bdedc1fc30e8ac0d
2015-03-24 10:10:27 +11:00
James E. Blair 9d99e078f1 Display times in local tz
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>
2015-03-11 09:42:03 -07:00
James Polley 4ace0c20fe Expand sample keymaps to ameliorate OSX features
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
2015-03-07 09:12:30 +11:00
Jenkins 14d7aee065 Merge "Add detailed examples and dashboards a la gerrit" 2015-02-24 22:07:08 +00:00
James Polley 119011081e Add detailed examples and dashboards a la gerrit
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
2015-02-20 15:03:17 -08:00
James E. Blair b6f20ee70b Thread changes
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
2015-01-21 17:06:42 -08:00
Andrew Ruthven 8801fd9768 dburi needs to have sqlite:/// in front.
But if you specify sqlite:/// then os.path.expanduser doesn't work..

Change-Id: Ia5c650a9f512fddc15d6b9db40ff08ff4db65dc5
2015-01-07 15:00:06 -08:00
Jan Kundrát 9e83aeb315 Allow specifying the path to CA certificate bundle
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
2014-11-10 19:28:06 +01:00
David Pursehouse 28e83f7069 Rename gerrit-gertty.yaml to googlesource-gertty.yaml
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
2014-09-24 16:17:56 +09:00
Khai Do 4186c3fddd gerrit-review.googlesource.com uses basic authentication
Change-Id: Icfe16004afd21af4c598439c6f4b5402723101a3
2014-09-20 08:03:15 -07:00
James E. Blair e47cc2f607 Add submit functionality
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
2014-09-18 17:37:13 -07:00