Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport] [2.x] Add support for ignoring missing Javadoc on generated code using annotation (# 7264) (#7604) #7779

Merged
merged 1 commit into from
May 26, 2023

Conversation

reta
Copy link
Collaborator

@reta reta commented May 26, 2023

Backport of #7604 to 2.x

…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)
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.remotestore.RemoteStoreRefreshListenerIT.testRemoteRefreshRetryOnFailure

@codecov
Copy link

codecov bot commented May 26, 2023

Codecov Report

Merging #7779 (57898fd) into 2.x (7f06e56) will decrease coverage by 0.38%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                2.x    #7779      +/-   ##
============================================
- Coverage     70.96%   70.58%   -0.38%     
+ Complexity    56726    56431     -295     
============================================
  Files          4665     4665              
  Lines        267674   267674              
  Branches      39634    39634              
============================================
- Hits         189955   188944    -1011     
- Misses        61637    62456     +819     
- Partials      16082    16274     +192     

see 436 files with indirect coverage changes

@cwperks
Copy link
Member

cwperks commented May 30, 2023

@reta Should this be backported to 2.8?

@reta
Copy link
Collaborator Author

reta commented May 30, 2023

@reta Should this be backported to 2.8?

Personally I would not do that due to new dependency (javax-annotations), it could break other plugins at the last moment

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants