From: "flichtenheld (Code Review)" Date: Mon, 13 Oct 2025 14:02:11 +0000 References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <463bfdec5ae0da83bf25dac15e68af28daebabf0-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="/np7mxlIFG8="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: CONTRIBUTING: Update outdated/obsolete information List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --/np7mxlIFG8= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello plaisthos, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/1271?usp=3Demail to review the following change. Change subject: CONTRIBUTING: Update outdated/obsolete information ...................................................................... CONTRIBUTING: Update outdated/obsolete information - uncrustify -> clang-format - add Gerrit - update Wiki links Change-Id: I77a59b9b74a13793782fbfbff6bd2ec581f86be0 Signed-off-by: Frank Lichtenheld --- M CONTRIBUTING.rst 1 file changed, 13 insertions(+), 8 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/71/1271/1 diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index a848f89..bd76f7a 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -4,27 +4,32 @@ Patches should be written against the Git "master" branch. Some patches ma= y get backported to a release branch. -The preferred procedure to send patches to the "openvpn-devel" mailing lis= t: +The preferred procedure is to send patches to the "openvpn-devel" mailing = list: - https://lists.sourceforge.net/lists/listinfo/openvpn-devel +Instead of directly sending patches to the list you can also create an acc= ount +in our instance of the Gerrit review tool: https://gerrit.openvpn.net/ +See https://community.openvpn.net/Development/GerritBestPractices. + While we do not merge GitHub pull requests as-is, we do allow their use fo= r code review purposes. After the patch has been ACKed (reviewed and accepted), i= t must be sent to the mailing list. This last step does not necessarily need to b= e done by the patch author, although that is definitely recommended. When sending patches to "openvpn-devel" the subject line should be prefixe= d with -[PATCH]. To avoid merging issues the patches should be generated with +``[PATCH]``. To avoid merging issues the patches should be generated with git-format-patch or sent using git-send-email. Try to split large patches = into small, atomic pieces to make reviews easier. Please make sure that the source code formatting follows the guidelines at -https://community.openvpn.net/openvpn/wiki/CodeStyle. Automated checking c= an be -done with uncrustify (http://uncrustify.sourceforge.net/) and the configur= ation -file which can be found in the git repository at dev-tools/uncrustify.conf. -There is also a git pre-commit hook script, which runs uncrustify automati= cally +https://community.openvpn.net/Development/CodeStyle. Automated checking ca= n be +done with clang-format (https://community.openvpn.net/Development/CodeStyl= e) +and the configuration file which can be found in the git repository at ``.= clang-format``. + +There is also a git pre-commit hook script, which runs clang-format automa= tically each time you commit and lets you format your code conveniently, if needed. -To install the hook simply run: dev-tools/git-pre-commit-uncrustify.sh ins= tall +To install the hook simply run: ``dev-tools/git-pre-commit-format.sh insta= ll`` If you want quick feedback on a patch before sending it to openvpn-devel m= ailing list, you can visit the #openvpn-devel channel on irc.libera.chat. Note th= at @@ -34,7 +39,7 @@ More detailed contribution instructions are available here: -- https://community.openvpn.net/openvpn/wiki/DeveloperDocumentation +- https://community.openvpn.net/Development/DeveloperDocumentation Note that the process for contributing to other OpenVPN projects such as openvpn-build, openvpn-gui, tap-windows6 and easy-rsa may differ from what= was -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1271?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newchange Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I77a59b9b74a13793782fbfbff6bd2ec581f86be0 Gerrit-Change-Number: 1271 Gerrit-PatchSet: 1 Gerrit-Owner: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos --/np7mxlIFG8= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos.

flichtenheld would like plaisthos to review this change.

V= iew Change

CONTRIBUTING: Update outdated/obsolete info=
rmation

- uncrustify -> clang-format
- add Gerrit
- update = Wiki links

Change-Id: I77a59b9b74a13793782fbfbff6bd2ec581f86be0
S= igned-off-by: Frank Lichtenheld <frank@...2641...>
---
M CONTRI= BUTING.rst
1 file changed, 13 insertions(+), 8 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes=
/71/1271/1
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst<=
br>index a848f89..bd76f7a 100644
--- a/CONTRIBUTING.r= st
+++ b/CONTRIBUTING.rst
@@ -4,27 +4,32 @@=
Patches should be written against the Git "master&qu= ot; branch. Some patches may get
backported to a release b= ranch.

+The p= referred procedure is to send patches to the "openvpn-devel" mail= ing list:

- https://lists.sourceforge.ne= t/lists/listinfo/openvpn-devel

+Instead of directly sending patches to the lis= t you can also create an account
+in our instance of the Gerrit review tool: https://gerrit.open= vpn.net/
+See https:/= /community.openvpn.net/Development/GerritBestPractices.
+
While we do not merge= GitHub pull requests as-is, we do allow their use for code
review purposes. After the patch has been ACKed (reviewed and accepted), = it must
be sent to the mailing list. This last step does n= ot necessarily need to be done
by the patch author, althou= gh that is definitely recommended.

When = sending patches to "openvpn-devel" the subject line should be pre= fixed with
-[PATCH]. To= avoid merging issues the patches should be generated with
+``[PATCH]``. To avoid merging issues= the patches should be generated with
git-format-patch or = sent using git-send-email. Try to split large patches into
= small, atomic pieces to make reviews easier.

<= span> Please make sure that the source code formatting follows the guidelin= es at
-https://communit= y.openvpn.net/openvpn/wiki/CodeStyle. Automated checking can be
<= span style=3D"color: hsl(0, 100%, 40%);">-done with uncrustify (http://uncr= ustify.sourceforge.net/) and the configuration
-file which can be found in the git repository at d= ev-tools/uncrustify.conf.
-There is also a git pre-commit hook script, which runs uncrustify autom= atically
+https://com= munity.openvpn.net/Development/CodeStyle. Automated checking can be<= br>+done with clang-format (htt= ps://community.openvpn.net/Development/CodeStyle)
+and the configuration file which can be found= in the git repository at ``.clang-format``.
+
+There is also a git pre-commit hook script, which runs clang-format a= utomatically
each time you commit and lets you format your= code conveniently, if needed.
-To install the hook simply run: dev-tools/git-pre-commit-uncrustif= y.sh install
+To inst= all the hook simply run: ``dev-tools/git-pre-commit-format.sh install``

If you want quick feedback on a patch befor= e sending it to openvpn-devel mailing
list, you can visit = the #openvpn-devel channel on irc.libera.chat. Note that
@@= -34,7 +39,7 @@

More detailed contributi= on instructions are available here:

-- https://community.openvpn.net/openvpn/wik= i/DeveloperDocumentation
+- https://community.openvpn.net/Development/DeveloperDocumentation

Note that the process for contributing to o= ther OpenVPN projects such as
openvpn-build, openvpn-gui, = tap-windows6 and easy-rsa may differ from what was
<= br>

To view, visit change 1271. To unsubscribe, or for help writing mai= l filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I77a59b9b74a13793782fbfbff6b= d2ec581f86be0
Gerrit-Change-Number: 1271
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <frank@...2723...= .>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
= --/np7mxlIFG8=--