The nio2 backend does not provide these data, so displaying dummy
values can confuse users.
Modify the command to only show those columns when the backend is
mina, which does support them.
Change-Id: I889339a4811e38c1b02211983bde6b6e017cd600
* stable-2.12:
show-connections: Document that start and idle time are only valid for MINA
Tidy up formatting of sshd documentation
Release notes for Gerrit 2.12.4
Change-Id: Idd9d0098312eb8cecc2b73179f2593c6149ac48c
With the new stylesheet example blocks (delimited with ====) are
rendered as rather intrusive boxes with large padding in yellow
and grey.
This patch replaces the example blocks with simple code blocks
(delimited with ----) that better match the overall style of the
documentation.
Change-Id: Id95387cdb153332c2066e2d5e378697647dbca52
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Most of the cmd-xxxx.txt pages were still using the legacy 'italics'
asciidoc [1], which caused the synopsis sections to render like this:
'ssh' -p <port> 'gerrit some-command'
Furthermore, the line breaks and indentations were not rendered.
Replaced the legacy 'italics" with _italics_ in all synopsis sections
and changed the block type to [verse]. Verse blocks preserve indents
and line breaks (like <pre> in HTML), but still allow text formatting.
Fixed also some other minor mistakes and formatting errors.
[1] http://asciidoctor.org/docs/migration/#migration-cheatsheet
Change-Id: I457c5e42e3758789f29541d38d6f6c2e25532897
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
We previous use the section title style like:
Section level 1
===============
Section level 2
---------------
Which have a problem in Asciidoctor that the number of "="s or "-"s must match
the number of characters in the header exactly, as a result it's easy to make
mistakes while changing the titles. Asciidoctor provides a better style like:
= Section level 1
== Section level 2
So we switched to this style.
Also fixed a bug in replace_macros.py, which will not cause any problem in the
old style.
Change-Id: I811dd7238735d98f662767c17086152cd69aea02
AsciiDoctor have different understanding of [verse] with asciidoc, causing some
rendering differences. To get similar result with asciidoc, we use something
else instead of [verse] now.
Screenshots:
before:
http://imgur.com/JKMdBiv
after:
http://imgur.com/yFVvVac
Change-Id: I14e84f0e998e1e87b633681e8028ad657bde07e4
This adds the --wide (-w) option to show-connections, and also makes
it so both --wide and -w are acceptable for show-queue. In addition,
the options for show-caches, show-connections, and show-queue have
all been documented accordingly (though, show-caches is a little
different in its behavior).
Change-Id: I6adee795763bda9533c3700216695945d8bb7af8
Finalizing the capabilities section with the view connections and
view queue capabilities.
Corrects a few possessive apostrophes in other sections.
Change-Id: If5703eab934cf9b5b0d29e06c0e56f4557f05e8e
Signed-off-by: Fredrik Luthander <fredrik.luthander@sonymobile.com>
The Global Capabilities section in All-Projects can now be used to
grant subcommands that are available over SSH and were previously
restricted to only Administrators.
Bug: issue 48
Bug: issue 742
Change-Id: I7d8a931b174915191817ff845f1f9a846181d709
The formatting was pretty wrong after upgrading to a newer version
of AsciiDoc, so fix up most of the formatting, correct some order
of commands in the index, and make create-project conform to the
same format used by create-account and create-group.
Change-Id: I555969655ba135e549f0b8b5b02e5f3669a0b282
Slightly clarify the UI to just say Username now, since that's
the name we use internally in the code, and in the database.
Change-Id: Ide4a10f6b2795ea8ba30d3aff22c0672bba5bd91
Signed-off-by: Shawn O. Pearce <sop@google.com>
We probably don't have enough cancellation points in our code to
really kill most tasks before they fully complete. For example,
most of the JGit upload-pack and receive-pack code path uses
NullProgressMonitor, which unfortunately does not check if the
calling thread has been interrupted.
Change-Id: I57379ba77d7aefc720421d74771fb65ab6be61fa
Signed-off-by: Shawn O. Pearce <sop@google.com>
Since Eclipse is now configured to strip trailing whitespace from a
line when saving a source file, we fix up any older source file that
still has trailing whitespace on the end of a line.
Change-Id: Ifa03d4b69f28536c6773702eb79b49fb16844ed1
Signed-off-by: Shawn O. Pearce <sop@google.com>