You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by mi...@apache.org on 2023/02/02 15:43:04 UTC

[jmeter] branch update-docs-v5.5-release created (now dac91de2cd)

This is an automated email from the ASF dual-hosted git repository.

milamber pushed a change to branch update-docs-v5.5-release
in repository https://gitbox.apache.org/repos/asf/jmeter.git


      at dac91de2cd docs: add security page to the website

This branch includes the following new commits:

     new 22cb111bd7 Update Bugzilla -> GitHub issues in the contribution documentation
     new dac91de2cd docs: add security page to the website

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



Update manually JMeter web site Was:[jmeter] branch update-docs-v5.5-release created (now dac91de2cd)

Posted by Milamber <mi...@apache.org>.
Hi JMeter team,

I've push this new branch on git rep, as main branch for update the 
documentation (website) since the v5.5 release tag. So if need to update 
the website, before the next release, please use this branch.

How to :

1/ commit the doc's changes on master branch like a normal improvement
2/ checkout the update-docs-v5.5-release branch
3/ cherry-pick the commit in the update-docs branch
4/ build the website (./gradlew :src:dist:previewSite)
5/ copy ./src/dist/build/* /path/to/jmeter-website-repo/ (from 
https://gitbox.apache.org/repos/asf/jmeter-site.git)
6/ on jmeter-website-repo add files added or modified in main branch 
(asf-site)
7/ commit for publish.

Milamber


-------- Forwarded Message --------
Subject: 	[jmeter] branch update-docs-v5.5-release created (now dac91de2cd)
Date: 	Thu, 02 Feb 2023 15:43:04 +0000
From: 	milamber@apache.org
Reply-To: 	dev@jmeter.apache.org
To: 	commits@jmeter.apache.org <co...@jmeter.apache.org>



This is an automated email from the ASF dual-hosted git repository.

milamber pushed a change to branch update-docs-v5.5-release
in repository https://gitbox.apache.org/repos/asf/jmeter.git


at dac91de2cd docs: add security page to the website

This branch includes the following new commits:

new 22cb111bd7 Update Bugzilla -> GitHub issues in the contribution 
documentation
new dac91de2cd docs: add security page to the website

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




[jmeter] 01/02: Update Bugzilla -> GitHub issues in the contribution documentation

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

milamber pushed a commit to branch update-docs-v5.5-release
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 22cb111bd7fc271461dba1b25ef68ea459815e3e
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Sun Sep 25 11:43:41 2022 +0300

    Update Bugzilla -> GitHub issues in the contribution documentation
---
 .editorconfig                        |   3 +
 CONTRIBUTING.md                      |  15 +--
 xdocs/building.xml                   |  28 +++---
 xdocs/issues.xml                     | 177 +++++++++++++++++++++--------------
 xdocs/mail2.xml                      |   2 +-
 xdocs/stylesheets/site_printable.vsl |  11 +++
 6 files changed, 143 insertions(+), 93 deletions(-)

diff --git a/.editorconfig b/.editorconfig
index 5f65cc4c81..c22898ea68 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -28,3 +28,6 @@ ij_kotlin_continuation_indent_size = 4
 #"static ", "java.", "javax", "org", "net", "com", ""
 ij_java_imports_layout = $*,|,java.**,|,javax.**,|,org.**,|,net.**,|,com.**,|,*
 ij_java_use_single_class_imports = true
+
+[*.xml]
+indent_size = 2
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 14a1c8ce40..c22f9b37d9 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -4,16 +4,17 @@ Want to show Apache JMeter some love? Help out by contributing!
 
 ## :beetle: Found a bug
 
-Log it in our bugzilla:
+Log it in GitHub issues:
+
+* https://github.com/apache/jmeter/issues
+* or send a note to the [user mailing list](https://jmeter.apache.org/mail2.html#JMeterUser).
 
-* *<https://jmeter.apache.org/issues.html>*
-* or send a note to the *user mailing list*.
 Be sure to include all relevant information, like the versions of JMeter you’re using as long as Java version.
 A Test plan  that caused the issue as well as any error messages are also very helpful.
 
 ## :question: Need help
 
-Simply contact:
+Contact:
 
 * [Our users mailing list](https://jmeter.apache.org/mail2.html#JMeterUser)
 * or ask question on [stackoverflow](https://stackoverflow.com/questions/tagged/jmeter).
@@ -22,8 +23,8 @@ Simply contact:
 
 See:
 
-* [Open bug entries for JMeter](https://bz.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=NEEDINFO&bug_severity=Blocker&bug_severity=Critical&bug_severity=Major&bug_severity=Normal&bug_severity=Regression&bug_severity=Minor&bug_severity=Trivial&product=JMeter&order=Bug%20Number&list_id=164231)
-* [Enhancement requests for JMeter](https://bz.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=NEEDINFO&bug_severity=Enhancement&product=JMeter&order=Bug%20Number&list_id=164232)
+* [Open issues for JMeter](https://github.com/apache/jmeter/issues)
+* [Enhancement requests for JMeter](https://github.com/apache/jmeter/issues?q=is%3Aopen+label%3Aenhancement)
 
 ## Development setup
 
@@ -66,7 +67,7 @@ The best way to make sure your issue or feature is addressed is to submit a patc
 We accept patches through:
 
 * pull requests
-* patch attached to bugzilla.
+* patch attached to [JMeter developers mailing list](https://jmeter.apache.org/mail2.html#JMeterDev).
 
 However, before sending a patch, please make sure that the following applies:
 
diff --git a/xdocs/building.xml b/xdocs/building.xml
index e0b94f1cc1..a42ee2af9d 100644
--- a/xdocs/building.xml
+++ b/xdocs/building.xml
@@ -109,22 +109,20 @@ Check that patch does not break JUnit tests by running:
 </p>
 <source>./gradlew test</source>
 
-<h3>Create a PR using GIT</h3>
+<h3>Create a pull request using Git</h3>
 <ul>
-    <li>Open a bugzilla issue, see <a target="_blank" href="issues.html">Issues page</a></li>
-    <li>Fork <a href="https://www.github.com/apache/jmeter" >Apache JMeter mirror</a></li>
-    <li>Clone your forked repository locally : <source>git clone https://github.com/yourid/jmeter/</source></li>
-    <li>Create a branch using for example bugzilla id: <source>git branch BUGID</source></li>
-    <li>Checkout the new branch : <source>git checkout BUGID</source></li>
-    <li>commit your fix there : <source>git commit -m 'Fix to BUGID' list of files</source></li>
+    <li>Fork <a href="https://www.github.com/apache/jmeter">Apache JMeter mirror</a></li>
+    <li>Clone your forked repository locally: <source>git clone https://github.com/yourid/jmeter.git</source></li>
+    <li>Create a branch using for example issue id: <source>git branch gh123-thread-group-typo</source>
+      (please refrain from using <source>master</source> and <source>main</source> branches for pull request)</li>
+    <li>Checkout the new branch: <source>git checkout gh123-thread-group-typo</source></li>
+    <li>Commit your fix there: <source>git commit -m 'Fix to BUGID' list of files</source></li>
     <li>Please avoid creating merge commits in the PR. We embrace small changes, and merge commits are harder to review</li>
-    <li>Add JMeter repository as upstream : <source>git remote add upstream http://www.github.com/apache/jmeter</source></li>
-    <li>push it : <source>git push origin BUGID</source></li>
-    <li>Create a PR and link it in the bugzilla issue</li>
-    <li>Or create a diff and add as attachment to bugzilla issue <source>git diff &gt; BUGID.patch</source></li>
+    <li>Push it: <source>git push origin gh123-thread-group-typo</source></li>
+    <li>Create a <a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request">pull request</a></li>
 </ul>
 
-<note>Different operation systems have different defaults for end-of-line markers.
+<note>Different operating systems have different defaults for end-of-line markers.
   Typical configuration is CRLF for Windows and LF for macOS and GNU/Linux.<br/>
   It is recommended to follow that configuration by appropriate settings of <code>core.autocrlf</code>.
   For Windows <source>git config --global core.autocrlf true</source>, and for macOS and GNU/Linux set <source>git config --global core.autocrlf input</source>
@@ -134,9 +132,9 @@ Check that patch does not break JUnit tests by running:
   no matter the configuration of the developer workstation.
 </note>
 
-<h3>Create a PR using Patch</h3>
+<h3>Proposing a change with a patch</h3>
+<p>If you cannot to create a pull request at GitHub, you might submit your changes as a unified diff patch on JMeter dev mailing list.</p>
 <ul>
-    <li>Open a bugzilla issue, see <a target="_blank" href="issues.html">Issues page</a></li>
     <li>Checkout Apache JMeter source</li>
     <li>Code your fix</li>
     <li>Create your patch by Right clicking on Eclipse project and select
@@ -144,7 +142,7 @@ Check that patch does not break JUnit tests by running:
             <guimenuitem>Team</guimenuitem>
             <guimenuitem>Create Patch &hellip;</guimenuitem>
         </menuchoice></li>
-    <li>Attach your patch to the bugzilla issue</li>
+    <li>Attach your patch to email message on JMeter dev list</li>
 </ul>
 </section>
 
diff --git a/xdocs/issues.xml b/xdocs/issues.xml
index 4a75144b26..91b1638dc2 100644
--- a/xdocs/issues.xml
+++ b/xdocs/issues.xml
@@ -22,78 +22,116 @@
 </properties>
 <body>
 <section name="Issue tracker">
-<p>
-JMeter uses Bugzilla for issue tracking, i.e. for reporting bugs and requesting enhancements.
-</p>
-<p>
-Before creating a new issue, please check whether the issue has already been reported by searching Bugzilla.
-It's also worth checking first on the JMeter user mailing list; others may already have a solution.
-</p>
+  <p>
+    JMeter uses GitHub Issues for issue tracking, i.e. for reporting bugs and requesting enhancements.
+    Previously, the issues were tracked in <a href="https://bz.apache.org/bugzilla/describecomponents.cgi">Bugzilla</a>,
+    and all the issues, comments, and attachments have been migrated to GitHub on 2022-09-22.
+  </p>
 </section>
 <section name="Support Questions">
-<p>
-Please do not use Bugzilla for asking questions. It is not a support forum.
-Instead, please <a href="mail2.html">subscribe</a> to the JMeter user mailing list and ask there.
-The user mailing list has a bigger audience and you are more likely to get an answer quickly.
-</p>
+  <p>
+    Please do not use GitHub Issues for asking questions. It is not a support forum.
+    Instead, please <a href="mail2.html">subscribe</a> to the JMeter user mailing list and ask there.
+    The user mailing list has a bigger audience, and you are more likely to get an answer quickly.
+  </p>
 </section>
 <section name="Known Bugs and enhancements">
-<ul>
-<li>
-<a href="http://bz.apache.org/bugzilla/buglist.cgi?query_format=specific&amp;order=relevance+desc&amp;bug_status=__open__&amp;product=JMeter&amp;content=">
-Bugzilla - All open bugs and enhancements</a>
-</li>
-<li>
-<a href="http://bz.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;bug_status=NEEDINFO&amp;bug_severity=Blocker&amp;bug_severity=Critical&amp;bug_severity=Major&amp;bug_severity=Normal&amp;bug_severity=Regression&amp;bug_severity=Minor&amp;bug_severity=Trivial&amp;product=JMeter&amp;cmdtype=doit&amp;order=Bug+Number">
-Bugzilla - Open bugs (excluding enhancements)</a></li>
-<li>
-<a href="http://bz.apache.org/bugzilla/buglist.cgi?bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;bug_status=NEEDINFO&amp;bug_severity=Enhancement&amp;product=JMeter&amp;cmdtype=doit&amp;order=Bug+Number">
-Bugzilla - Enhancements only</a>
-</li>
-</ul>
+  <ul>
+    <li>
+      <a href="https://github.com/apache/jmeter/issues?q=is%3Aopen+sort%3Areactions-%2B1-desc">
+        Most voted issues
+      </a>
+    </li>
+    <li>
+      <a href="https://github.com/apache/jmeter/issues?q=is%3Aopen">
+        All open bugs and enhancements
+      </a>
+    </li>
+    <li>
+      <a href="https://github.com/apache/jmeter/issues?q=is%3Aissue+is%3Aopen+-label%3Aenhancement">
+        Open bugs (excluding enhancements)
+      </a>
+    </li>
+    <li>
+      <a href="https://github.com/apache/jmeter/issues?q=is%3Aopen+label%3Aenhancement">
+        Enhancements only
+      </a>
+    </li>
+  </ul>
 </section>
 <section name="Requesting an enhancement">
-<p>
-In most cases it is worth starting a discussion on the mailing list first.
-Bugzilla is good for tracking progress and supplying patches, but is unwieldy for longer discussions.
-</p>
-<p>
-If you have not already done so, you need to register an account first, using the "<code>New Account</code>" link at the top of the
-main Bugzilla page: <a href="https://bz.apache.org/bugzilla/">https://bz.apache.org/bugzilla/</a>.
-</p>
-<p>
-Make sure you read and understand the information on the account creation page before signing up.
-</p>
-<p>
-Once logged in, click "<code>File a bug</code>" and select JMeter from the list
-Please set the severity to "<code>enhancement</code>".
-</p>
-<p>
-Please make sure that you describe the enhancement in sufficient detail. If necessary provide an example use-case.
-</p>
-<p>
-If you are providing a code patch, also provide a test case, and documentation on how to use the new feature (ideally as a documentation patch).
-</p>
+  <p>
+    Please check if the same enhancement has already been requested previously.
+    If you find a very similar request in the issues list, please refrain from adding "<em>I also need this</em>" comments to the issue.
+    "<em>I also need this</em>" comments cause notifications, and the comment itself does not add much to the discussion.
+    Instead, prefer adding reactions to the first comment of an existing issue, so the issues could be sorted (see
+    <a href="https://github.com/apache/jmeter/issues?q=sort%3Areactions-%2B1-desc">Most voted issues</a>).
+  </p>
+  <p>
+    Please make sure that you describe the enhancement in sufficient detail. It might be a good idea to start with a use-case.
+  </p>
+  <p>
+    There are several options to propose an enhancement request:
+    <dl>
+      <dt>GitHub issue</dt>
+      <dd>
+        <p>
+          You could <a href="https://github.com/apache/jmeter/issues/new/choose">file an issue on GitHub</a> to start a discussion
+          and gather opinions. GitHub issues allow
+          <a href="https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax">basic formatting</a>,
+          <a href="https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting">advanced formatting</a>,
+          <a href="https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files">attaching files</a>,
+          <a href="https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code">syntax highlight</a>,
+          <a href="https://docs.github.com/en/issues/tracking-your-work-with-issues/about-task-lists">task lists</a>,
+          reactions,
+          <a href="https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/autolinked-references-and-urls#issues-and-pull-requests">references to the other
+            issues and the source code</a>.
+        </p>
+        <p>
+          When you create an issue at GitHub, it suggests one of the templates (e.g. "<em>Bug report</em>",
+          "<em>Feedback about the manual</em>", "<em>Feature Request</em>", "<em>Regression</em>"), and it guides which information is required for each case.
+          You could read more on <a href="https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-an-issue">creating issues</a> in
+          GitHub documentation.
+        </p>
+      </dd>
+      <dt>Mailing list discussion</dt>
+      <dd>
+        <p>
+          If you are not sure if something is an enhancement, or if you are unsure regarding the possible solutions,
+          it might be a good idea to start a discussion on <a href="https://jmeter.apache.org/mail2.html#JMeterDev">JMeter dev mailing list</a>
+        </p>
+      </dd>
+      <dt>GitHub pull request</dt>
+      <dd>
+        <p>
+          If you are positive regarding the solution, you could start a discussion by creating a
+          <a href="https://github.com/apache/jmeter/pulls">pull request on GitHub</a>.
+          Pull requests are not much different from issues, however, sometimes it is easier to discuss with code at hand.
+          For instance, if you fix a typo or make other small fixes, there's no need to create "<em>issue and PR</em>" for each change.
+          The following <a href="https://github.blog/2015-01-21-how-to-write-the-perfect-pull-request/">GitHub post</a> might be helpful
+          for creating your perfect pull request.
+        </p>
+        <note>
+          There's no guarantee that your contribution will be accepted, so it might be wise to discuss your suggestions
+          before you invest significant efforts on implementing the changes.
+        </note>
+        <p>
+          If you are providing a code patch, also provide a test case, and documentation on how to use the new feature (ideally as a documentation patch).
+        </p>
+      </dd>
+    </dl>
+  </p>
 </section>
 <section name="Raising an Issue">
-<p>
-First check that the issue has not already been reported.
-If reporting a bug, are you sure it really is a bug in JMeter, not just a misunderstanding of how JMeter works?
-</p>
-<p>
-If you have not already done so, you need to register an account first, using the "<code>New Account</code>" link at the top of the
-main Bugzilla page: <a href="https://bz.apache.org/bugzilla/">https://bz.apache.org/bugzilla/</a>.
-</p>
-<p>
-Make sure you read and understand the information on the account creation page before signing up.
-</p>
-<p>
-Once logged in you have 2 options:
-<ul>
-    <li>At the bottom left of the screen click '<code>File a new bug in the "JMeter" product</code>' link</li>
-    <li>At the top left of the screen, click "<code>New</code>" link and select JMeter from the list.</li>
-</ul>
-</p>
+  <p>
+    First check that the issue has not already been reported on <a href="https://github.com/apache/jmeter/issues">GitHub issues</a>
+    and <a href="https://lists.apache.org/list.html?user@jmeter.apache.org">JMeter user mailing list</a>).
+    If reporting a bug, are you sure it really is a bug in JMeter, not just a misunderstanding of how JMeter works?
+  </p>
+  <p>
+    If you face a bug or regression, please create an <a href="https://github.com/apache/jmeter/issues">issue on GitHub</a>.
+    In case you can't create an issue, you might send the bug report to <a href="https://jmeter.apache.org/mail2.html#JMeterDev">JMeter dev mailing list</a>.
+  </p>
 </section>
 <section name="Required Information for bug reporting">
 <p>
@@ -112,11 +150,10 @@ Use the checklist below to guide you.
 Does it happen every time?
 </li>
 <li>If you have error messages, that you wish to report, copy them as text into the issue, as it makes it easier to search for them and re-use the message in our research for the origin of the issue</li>
-<li>Add yourself in <code>CC</code> List to be notified when JMeter Team requires more information (in this case bug will be marked as <code>NEEDINFO</code>)</li>
-<li>When a bug is market as <code>NEEDINFO</code>, please provide as soon as possible the required information so that bug can be understood and fixed. Be aware that if
-no information is provided after team requires more information and bug is not reproducible, then bug will be closed as <code>WORKSFORME</code>. You can always reopen it later once you provide the required information.</li>
-<li>Select accurately the IMPORTANCE level, <code>ENHANCEMENT</code> means it's not a BUG while others mean it's a BUG</li>
-<li>If you are providing a patch to fix a bug, please ensure it is in unified diff format.
+<li>When a bug is market as <code>need info</code>, please provide as soon as possible the required information so that bug can be understood and fixed. Be aware that if
+no information is provided after team requires more information and bug is not reproducible, then bug will be closed as <code>invalid</code>. You can always ask to reopen it later once you provide the required information.</li>
+<li>Prefer using issue templates (e.g. "<em>Bug report</em>", "<em>Feedback about the manual</em>", "<em>Feature Request</em>", "<em>Regression</em>")</li>
+<li>If you are providing a patch file to fix a bug, please ensure it is in unified diff format.
 If using Eclipse, please set the patch root to "<code>Project</code>", not the default "<code>Workspace</code>" which is harder to apply.</li>
 <li>New source files can be provided as is; please ensure they have the standard Apache License header (as per other JMeter files).
 Please do not use <code>@author</code> tags (credit will be given in the changes file).
@@ -125,7 +162,7 @@ Please do not use <code>@author</code> tags (credit will be given in the changes
 Components are documented in <code>xdocs/usermanual/component_reference.xml</code>.</li>
 </ul>
 <p><b>See also the following <a href="https://bz.apache.org/bugwritinghelp.html">Bug writing guidelines</a>,
-also the terms and conditions noted on the <a href="https://bz.apache.org/bugzilla/createaccount.cgi">Bugzilla account creation page.</a></b></p>
+also the terms and conditions noted on the <a href="https://docs.github.com/en/site-policy/github-terms/github-terms-of-service">GitHub Terms of Service</a></b></p>
 </section>
 </body>
 </document>
diff --git a/xdocs/mail2.xml b/xdocs/mail2.xml
index 520e6d4f08..69d4e1d8e0 100644
--- a/xdocs/mail2.xml
+++ b/xdocs/mail2.xml
@@ -97,7 +97,7 @@ Prior to Nov 2011, they were sent to the Jakarta Notifications list, see below.
 </subsection>
 <subsection name="Apache JMeter Issues" anchor="JMeterIssues">
 <p>
-<a href="https://bz.apache.org/bugzilla/">Bugzilla</a> messages are sent here.
+<a href="https://github.com/apache/jmeter">GitHub</a> notifications are sent here.
 </p>
 <p>
 Prior to Nov 2011, they were sent to the Jakarta Notifications list, see below.
diff --git a/xdocs/stylesheets/site_printable.vsl b/xdocs/stylesheets/site_printable.vsl
index 5ce2f54f96..3bb8f50f86 100644
--- a/xdocs/stylesheets/site_printable.vsl
+++ b/xdocs/stylesheets/site_printable.vsl
@@ -239,6 +239,10 @@ No
 <a href="https://github.com/apache/jmeter/pull/$id.getText()">Pull request #$id.getText()</a>##
 #end
 
+#macro ( issue $id)
+<a href="https://github.com/apache/jmeter/issues/$id.getText()">Issue #$id.getText()</a>##
+#end
+
 #macro ( rfc $id)
 #if($id.getText())
 <a href="https://tools.ietf.org/html/rfc$id.getAttributeValue('link')">$id.getText()</a>##
@@ -257,6 +261,11 @@ No
 #pullrequest($id) - ##
 #end
 
+## Shorthand - automatically adds " - " before remaining text
+#macro ( issue_dash $id)
+#issue($id) - ##
+#end
+
 #macro ( contributor $id)
 Contributed by $id.getAttributeValue("name") &lt;$id.getAttributeValue("mail")&gt;
 #end
@@ -317,6 +326,8 @@ Contributed by $id.getAttributeValue("name") &lt;$id.getAttributeValue("mail")&g
 #bug ($node)
 #elseif ($node.getName().equals("pr"))
 #pr ($node)
+#elseif ($node.getName().equals("issue"))
+#issue ($node)
 #elseif ($node.getName().equals("rfc"))
 #rfc ($node)
 #elseif ($node.getName().equals("contributor"))


[jmeter] 02/02: docs: add security page to the website

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

milamber pushed a commit to branch update-docs-v5.5-release
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit dac91de2cdbcb5248e61a73b0bfd295553959dfe
Author: Arnout Engelen <ar...@bzzt.net>
AuthorDate: Wed Feb 1 11:28:18 2023 +0100

    docs: add security page to the website
    
    Tested with `./gradlew buildPreviewSite`
    
    See https://github.com/apache/jmeter/pull/5768
---
 xdocs/security.xml            | 56 +++++++++++++++++++++++++++++++++++++++++++
 xdocs/stylesheets/project.xml |  2 +-
 2 files changed, 57 insertions(+), 1 deletion(-)

diff --git a/xdocs/security.xml b/xdocs/security.xml
new file mode 100644
index 0000000000..2ccf4b296f
--- /dev/null
+++ b/xdocs/security.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to you under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~ http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<document>
+<properties>
+    <title>Security</title>
+</properties>
+<body>
+<section name="Security Model">
+  <p>
+    The purpose of JMeter is to execute the workload specified
+    in the input jmx file, which may include arbitrary code.
+  </p>
+  <p>
+    As such, the JMeter security model assumes you trust
+    jmx input files: even opening a jmx input file may in some
+    cases trigger code execution. If you want to use JMeter to
+    evaluate untrusted jmx files, it is up to you to provide the
+    required isolation.
+  </p>
+</section>
+<section name="Reporting security issues">
+  <p>
+    We strongly encourage you to report potential security vulnerabilities to our private security mailing list, <a href="mailto:security@apache.org">security@apache.org</a>, before disclosing them in a public forum.
+  </p>
+  <p>
+    Only use this list to report undisclosed security vulnerabilities in Apache projects and manage the process of fixing such vulnerabilities. We cannot accept regular bug reports or other security-related queries at these addresses. We will ignore mail sent to these addresses that does not relate to an undisclosed security problem in an Apache project.
+  </p>
+  <p>
+    An overview of the vulnerability handling process is:
+    <ul>
+    <li>The reporter reports the vulnerability privately to Apache.</li>
+    <li>The appropriate project's security team works privately with the reporter to resolve the vulnerability.</li>
+    <li>The project creates a new release of the package the vulnerabilty affects to deliver its fix.</li>
+    <li>The project publicly announces the vulnerability and describes how to apply the fix.</li>
+    </ul>
+    Committers should read a <a href="https://www.apache.org/security/committers.html">more detailed description of the process</a>. Reporters of security vulnerabilities may also find it useful.
+  </p>
+</section>
+</body>
+</document>
diff --git a/xdocs/stylesheets/project.xml b/xdocs/stylesheets/project.xml
index 7fb0834801..113277f8cc 100644
--- a/xdocs/stylesheets/project.xml
+++ b/xdocs/stylesheets/project.xml
@@ -53,7 +53,7 @@
      </menu>
      <menu name="Community">
         <item name="Issue Tracking"      href="/issues.html"/>
-        <item name="Security"            href="https://www.apache.org/security/"/>
+        <item name="Security"            href="/security.html"/>
         <item name="Mailing Lists"       href="/mail.html"/>
         <item name="Source Repositories"    href="/svnindex.html"/>
         <item name="Building and Contributing"    href="/building.html"/>