[llvm] 4702a94 - Slightly reword dev policy for clarity; NFC
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 15 09:05:51 PDT 2023
Author: Aaron Ballman
Date: 2023-08-15T12:05:41-04:00
New Revision: 4702a94b8e3dcfb3fb09be530c639591e6493523
URL: https://github.com/llvm/llvm-project/commit/4702a94b8e3dcfb3fb09be530c639591e6493523
DIFF: https://github.com/llvm/llvm-project/commit/4702a94b8e3dcfb3fb09be530c639591e6493523.diff
LOG: Slightly reword dev policy for clarity; NFC
This addresses further post-review feedback
(https://reviews.llvm.org/D155081) with commit
677326999f270395ecaec026178fe7ed148a0068 by rearranging some of the
text into separate bullets and adding a clarifying statement.
Added:
Modified:
llvm/docs/DeveloperPolicy.rst
Removed:
################################################################################
diff --git a/llvm/docs/DeveloperPolicy.rst b/llvm/docs/DeveloperPolicy.rst
index bc307f6b675b02..b51502f138a6bb 100644
--- a/llvm/docs/DeveloperPolicy.rst
+++ b/llvm/docs/DeveloperPolicy.rst
@@ -354,16 +354,18 @@ Below are some guidelines about the format of the message itself:
related commit. This could be as simple as "Revert commit NNNN because it
caused PR#".
-* It is acceptable to add metadata to the commit message to automate processes,
- including for downstream consumers. If the patch has been reviewed, add a
- link to its review page, as shown
- `here <https://www.llvm.org/docs/Phabricator.html#committing-a-change>`__. If
- the patch fixes a bug in GitHub Issues, we encourage adding a reference to
+* If the patch has been reviewed, add a link to its review page, as shown
+ `here <https://www.llvm.org/docs/Phabricator.html#committing-a-change>`__.
+ If the patch fixes a bug in GitHub Issues, we encourage adding a reference to
the issue being closed, as described
`here <https://llvm.org/docs/BugLifeCycle.html#resolving-closing-bugs>`__.
- Other kinds of metadata are also acceptable, including links to resources
- that are not available to the entire community. However, such links should
- not be used in place of making the commit message self-explanatory.
+
+* It is also acceptable to add other metadata to the commit message to automate
+ processes, including for downstream consumers. This metadata can include
+ links to resources that are not available to the entire community. However,
+ such links and/or metadata should not be used in place of making the commit
+ message self-explanatory. Note that such non-public links should not be
+ included in the submitted code.
For minor violations of these recommendations, the community normally favors
reminding the contributor of this policy over reverting. Minor corrections and
More information about the llvm-commits
mailing list