1414<section id =" getting_sources" name =" Getting Sources" >
1515
1616<para >
17- <link url =" https://www.mercurial-scm.org " >Mercurial </link > is used
17+ <link url =" https://github.com " >GitHub </link > is used
1818to store source code.
19- The <link url =" http ://hg. nginx.org /nginx" >repository</link > can be cloned
19+ The <link url =" https ://github.com/ nginx/nginx" >repository</link > can be cloned
2020with the following command:
2121<programlisting >
22- hg clone http ://hg. nginx.org /nginx
22+ git clone https ://github.com/ nginx/nginx.git
2323</programlisting >
2424</para >
2525
@@ -39,34 +39,34 @@ code.
3939</para >
4040
4141<para >
42- Commit the changes to create a Mercurial
43- < link url = " https://www.mercurial-scm.org/wiki/ChangeSet " >changeset</ link > .
42+ < link url = " https://docs.github.com/en/pull-requests/committing- changes-to-your-project/creating-and-editing-commits/about-commits " >Commit</ link >
43+ the changes in your nginx GitHub fork .
4444Please ensure that the specified
45- <link url =" https://www.mercurial-scm.org/wiki/QuickStart#Setting_a_username " >e-mail</link >
46- address and real name of the change’s author are correct.
45+ <link url =" https://docs.github.com/en/get-started/getting-started-with-git/setting-your-username-in-git " >e-mail</link >
46+ address and real name of the author are correct.
4747</para >
4848
4949<para >
5050The commit message should have a single-line synopsis followed by verbose
5151description after an empty line.
52- It is desirable that the first line is no longer than 67 symbols.
53- The resulting changeset as a patch can be obtained using the
54- <literal >hg export</literal > command:
52+ It is desirable that the first line is no longer than 67 symbols,
53+ and the remaining lines are no longer than 76 symbols.
54+ The resulting commit can be obtained using the
55+ <literal >git show</literal > command:
5556<programlisting >
56- # HG changeset patch
57- # User Filipe Da Silva
< [email protected] >
58- # Date 1368089668 -7200
59- # Thu May 09 10:54:28 2013 +0200
60- # Node ID 2220de0521ca2c0b664a8ea1e201ce1cb90fd7a2
61- # Parent 822b82191940ef309cd1e6502f94d50d811252a1
62- Mail: removed surplus ngx_close_connection() call.
57+ commit 8597218f386351d6c6cdced24af6716e19a18fc3
58+ Author: Filipe Da Silva
< [email protected] > 59+ Date: Thu May 9 10:54:28 2013 +0200
6360
64- It is already called for a peer connection a few lines above .
61+ Mail: removed surplus ngx_close_connection() call .
6562
66- diff -r 822b82191940 -r 2220de0521ca src/mail/ngx_mail_auth_http_module.c
67- --- a/src/mail/ngx_mail_auth_http_module.c Wed May 15 15:04:49 2013 +0400
68- +++ b/src/mail/ngx_mail_auth_http_module.c Thu May 09 10:54:28 2013 +0200
69- @@ -699,7 +699,6 @@ ngx_mail_auth_http_process_headers(ngx_m
63+ It is already called for a peer connection a few lines above.
64+
65+ diff --git a/src/mail/ngx_mail_auth_http_module.c b/src/mail/ngx_mail_auth_http_module.c
66+ index 2e9b9f24d..8094bbc5c 100644
67+ --- a/src/mail/ngx_mail_auth_http_module.c
68+ +++ b/src/mail/ngx_mail_auth_http_module.c
69+ @@ -699,7 +699,6 @@ ngx_mail_auth_http_process_headers(ngx_mail_session_t *s,
7070
7171 p = ngx_pnalloc(s->connection->pool, ctx->err.len);
7272 if (p == NULL) {
@@ -100,10 +100,10 @@ case, if possible.
100100<listitem >
101101Passing your changes through the test suite is a good way to ensure
102102that they do not cause a regression.
103- The <link url =" http ://hg. nginx.org /nginx-tests" >repository</link > with
103+ The <link url =" https ://github.com/ nginx/nginx-tests" >repository</link > with
104104tests can be cloned with the following command:
105105<programlisting >
106- hg clone http ://hg. nginx.org /nginx-tests
106+ git clone https ://github.com/ nginx/nginx-tests.git
107107</programlisting >
108108</listitem >
109109
@@ -116,13 +116,10 @@ hg clone http://hg.nginx.org/nginx-tests
116116<section id =" submitting_changes" name =" Submitting Changes" >
117117
118118<para >
119- The proposed changes should be sent to the
120- <link doc =" ../support.xml" id =" nginx_devel" >nginx development</link >
121- mailing list.
122- The preferred and convenient method of submitting changesets
123- is with the
124- <link url =" https://www.mercurial-scm.org/wiki/PatchbombExtension" >patchbomb</link >
125- extension.
119+ The proposed changes should be submitted from your fork to
120+ <link url =" https://github.com/nginx/nginx" >nginx repository</link >
121+ as a
122+ <link url =" https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork" >pull request</link >.
126123</para >
127124
128125</section >
@@ -131,9 +128,14 @@ extension.
131128<section id =" website" name =" Website" >
132129
133130<para >
134- <link url =" https://www.github.com/nginx/nginx.org" >GitHub</link > is used
135- to store the sources for this website. Documentation changes should be
136- submitted as a pull request.
131+ GitHub is used to store the sources for this website.
132+ The <link url =" https://www.github.com/nginx/nginx.org" >repository</link >
133+ can be cloned with the following command:
134+ <programlisting >
135+ git clone https://github.com/nginx/nginx.org.git
136+ </programlisting >
137+ Documentation changes should be submitted from your fork
138+ as a pull request.
137139</para >
138140
139141</section >
0 commit comments