Add support for ignoring missing Javadoc on generated code using annotation (# 7264)#7604
Merged
reta merged 9 commits intoopensearch-project:mainfrom May 26, 2023
Merged
Conversation
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #7604 +/- ##
============================================
+ Coverage 70.72% 70.77% +0.05%
- Complexity 56146 56189 +43
============================================
Files 4682 4682
Lines 266102 266102
Branches 39070 39070
============================================
+ Hits 188193 188339 +146
+ Misses 61935 61832 -103
+ Partials 15974 15931 -43 |
dblock
approved these changes
May 22, 2023
Member
dblock
left a comment
There was a problem hiding this comment.
LGTM, is there a place you want to use this, maybe add as part of this PR? Also probably ok adding a CHANGELOG line, even if it's tools.
doc-tools/missing-doclet/src/main/java/org/opensearch/missingdoclet/MissingDoclet.java
Outdated
Show resolved
Hide resolved
dblock
approved these changes
May 22, 2023
Member
dblock
left a comment
There was a problem hiding this comment.
LGTM, is there a place you want to use this, maybe add as part of this PR? Also probably ok adding a CHANGELOG line, even if it's tools.
dea2058 to
31ab340
Compare
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Member
|
Add to CHANGELOG? We got to get gradle checks to pass on main :( |
reta
reviewed
May 23, 2023
doc-tools/missing-doclet/src/main/java/org/opensearch/missingdoclet/MissingDoclet.java
Outdated
Show resolved
Hide resolved
31ab340 to
331b690
Compare
Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
8f455b1 to
777acc0
Compare
reta
reviewed
May 26, 2023
reta
approved these changes
May 26, 2023
Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
reta
reviewed
May 26, 2023
Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
|
Thanks a lot @austintlee ! |
Contributor
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-7604-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 0921ad74d7cd986f1860ac34f156bec07ef9e9ae
# Push it to GitHub
git push --set-upstream origin backport/backport-7604-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.xThen, create a pull request where the |
reta
pushed a commit
to reta/OpenSearch
that referenced
this pull request
May 26, 2023
…tation (# 7264) (opensearch-project#7604) * Allow wild cards for missingJavadoc (# 7264) It can be tedious and error prone to have to specify individual source files of generated code that does not follow OpenSearch standards. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Allow wild cards for missingJavadoc (# 7264) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address a comment Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add support for ignoring missing Javadoc using annotation Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Fix a dependency issue for build-tool:reaper. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Undo support for wildcards for ignoring missing Javadoc. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove dependency on jboss from doc-tools by using class names. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove the missingJavadoc Gradle task that is no longer needed. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com> (cherry picked from commit 0921ad7)
reta
added a commit
that referenced
this pull request
May 26, 2023
…tation (# 7264) (#7604) (#7779) * Allow wild cards for missingJavadoc (# 7264) It can be tedious and error prone to have to specify individual source files of generated code that does not follow OpenSearch standards. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Allow wild cards for missingJavadoc (# 7264) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address a comment Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add support for ignoring missing Javadoc using annotation Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Fix a dependency issue for build-tool:reaper. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Undo support for wildcards for ignoring missing Javadoc. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove dependency on jboss from doc-tools by using class names. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove the missingJavadoc Gradle task that is no longer needed. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com> (cherry picked from commit 0921ad7) Co-authored-by: Austin Lee <austin.t.lee@gmail.com>
suranjay
pushed a commit
to suranjay/OpenSearch
that referenced
this pull request
May 29, 2023
…tation (# 7264) (opensearch-project#7604) * Allow wild cards for missingJavadoc (# 7264) It can be tedious and error prone to have to specify individual source files of generated code that does not follow OpenSearch standards. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Allow wild cards for missingJavadoc (# 7264) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address a comment Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add support for ignoring missing Javadoc using annotation Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Fix a dependency issue for build-tool:reaper. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Undo support for wildcards for ignoring missing Javadoc. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove dependency on jboss from doc-tools by using class names. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove the missingJavadoc Gradle task that is no longer needed. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
5 tasks
stephen-crawford
pushed a commit
to stephen-crawford/OpenSearch
that referenced
this pull request
May 31, 2023
…tation (# 7264) (opensearch-project#7604) * Allow wild cards for missingJavadoc (# 7264) It can be tedious and error prone to have to specify individual source files of generated code that does not follow OpenSearch standards. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Allow wild cards for missingJavadoc (# 7264) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address a comment Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add support for ignoring missing Javadoc using annotation Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Fix a dependency issue for build-tool:reaper. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Undo support for wildcards for ignoring missing Javadoc. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove dependency on jboss from doc-tools by using class names. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove the missingJavadoc Gradle task that is no longer needed. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
Merged
5 tasks
austintlee
added a commit
to austintlee/OpenSearch
that referenced
this pull request
Jun 2, 2023
…tation (# 7264) (opensearch-project#7604) * Allow wild cards for missingJavadoc (# 7264) It can be tedious and error prone to have to specify individual source files of generated code that does not follow OpenSearch standards. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Allow wild cards for missingJavadoc (# 7264) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address a comment Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add support for ignoring missing Javadoc using annotation Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Fix a dependency issue for build-tool:reaper. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Undo support for wildcards for ignoring missing Javadoc. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove dependency on jboss from doc-tools by using class names. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove the missingJavadoc Gradle task that is no longer needed. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
gaiksaya
pushed a commit
to gaiksaya/OpenSearch
that referenced
this pull request
Jun 26, 2023
…tation (# 7264) (opensearch-project#7604) (opensearch-project#7779) * Allow wild cards for missingJavadoc (# 7264) It can be tedious and error prone to have to specify individual source files of generated code that does not follow OpenSearch standards. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Allow wild cards for missingJavadoc (# 7264) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address a comment Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add support for ignoring missing Javadoc using annotation Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Fix a dependency issue for build-tool:reaper. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Undo support for wildcards for ignoring missing Javadoc. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove dependency on jboss from doc-tools by using class names. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove the missingJavadoc Gradle task that is no longer needed. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com> (cherry picked from commit 0921ad7) Co-authored-by: Austin Lee <austin.t.lee@gmail.com>
shiv0408
pushed a commit
to Gaurav614/OpenSearch
that referenced
this pull request
Apr 25, 2024
…tation (# 7264) (opensearch-project#7604) * Allow wild cards for missingJavadoc (# 7264) It can be tedious and error prone to have to specify individual source files of generated code that does not follow OpenSearch standards. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Allow wild cards for missingJavadoc (# 7264) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address a comment Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add support for ignoring missing Javadoc using annotation Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Fix a dependency issue for build-tool:reaper. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Undo support for wildcards for ignoring missing Javadoc. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove dependency on jboss from doc-tools by using class names. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Remove the missingJavadoc Gradle task that is no longer needed. Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It can be tedious and error prone to have to specify individual source files of generated code that does not follow OpenSearch standards.
Description
Allow wildcard expressions in missingJavadoc.
Related Issues
Resolves #7264
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.