aboutsummaryrefslogtreecommitdiffstats
path: root/docbook
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-05-04 00:47:11 +0200
committerGerald Combs <gerald@wireshark.org>2015-05-05 23:47:19 +0000
commitfa04dfdd776e950467aee7f538139fb3fd8a75bb (patch)
tree0af4a8dd3533e2f7bfdb7b3e763b8e41b26d8ef0 /docbook
parent5d20b5880db6351d807ca0020ee4d369a311e27c (diff)
wsdg: clarify gerrit account requirement
A IRC user was asking about the meaning of `my.username` and noted that information is scattered over places. This patch tries to make the documentation more friendly for newcomers which are unfamiliar with Gerrit (and maybe OpenID?). The login page already recommends Launchpad, so no need to write it here. Change-Id: Ic55c9a2073d0045c6367f3efc8c842e53215f2dd Reviewed-on: https://code.wireshark.org/review/8288 Reviewed-by: Mark <launchpad@markcunningham.ie> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'docbook')
-rw-r--r--docbook/wsdg_src/WSDG_chapter_sources.asciidoc25
1 files changed, 17 insertions, 8 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_sources.asciidoc b/docbook/wsdg_src/WSDG_chapter_sources.asciidoc
index a243d47e3c..5f40854ebf 100644
--- a/docbook/wsdg_src/WSDG_chapter_sources.asciidoc
+++ b/docbook/wsdg_src/WSDG_chapter_sources.asciidoc
@@ -127,7 +127,7 @@ Recommended for development purposes.
Age: a few minutes.
You can use a Git client to download the source code from Wireshark's code
-review system. Anyone can clone from the anonymous URL:
+review system. Anyone can clone from the anonymous git URL:
* wireshark-git-anonhttp-url:[]
@@ -147,9 +147,11 @@ The following example shows how to get up and running on the command
line. See <<ChToolsGit>> for information on installing and configuring
graphical Git and Gerrit clients.
-. Sign in to wireshark-code-review-url:[] using OpenID. In the upper
-right corner of the web page, click on your account name and select
-_Settings_.
+. Sign in to wireshark-code-review-url:[] using OpenID (click Register or Sign
+In in the upper right corner of the web page). Follow the login instructions.
+
+. In the upper right corner of the web page, click on your account name and
+select _Settings_.
. Under _Profile_ set a username. This will be the username that
you use for SSH access. For the steps below we'll assume that your
@@ -578,7 +580,8 @@ the following benefits by contributing your improvements:
There's no direct way to push changes to the Git repository. Only a few people
are authorised to actually make changes to the source code (check-in changed
files). If you want to submit your changes, you should upload them to the code
-review system.
+review system at wireshark-code-review-url:[]. This requires you to set up git
+as described at <<ChSrcGit>>.
[[ChSrcDiffWhat]]
@@ -839,9 +842,12 @@ wireshark-wiki-site:[]FuzzTesting[] for details.
==== Uploading your changes
When you're satisfied with your changes (and obtained any necessary approval
-from your organization) you can upload them for review. Changes should be
-pushed to a
-http://test.code.wireshark.org/review/Documentation/user-upload.html#push_create[magical "refs/for" branch]
+from your organization) you can upload them for review at
+wireshark-code-review-url:[]. This requires a Gerrit Code Review account as
+described at <<ChSrcGitRepository>>.
+
+Changes should be pushed to a
+https://code.wireshark.org/review/Documentation/user-upload.html#push_create[magical "refs/for" branch]
in Gerrit. For example, to upload your new Snowcone Machine Protocol dissector
you could push to refs/for/master with the topic "snowcone-machine":
@@ -849,6 +855,9 @@ you could push to refs/for/master with the topic "snowcone-machine":
$ git push ssh://my.username@code.wireshark.org:29418/wireshark HEAD:refs/for/master/snowcone-machine
----
+The username `my.username` is the one which was given during registration with
+the review system.
+
If you have `git-review` installed you can upload the change with a lot less typing:
----