GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [apex] Fix for #3566 - Added new configuration property reportMissingDescription to ApexDocRule by SCWells72 · Pull Request #3572 · pmd/pmd

Conversation

@SCWells72

@SCWells72 SCWells72 commented Oct 20, 2021

Copy link
Copy Markdown
Contributor

Describe the PR

Added a new configuration property to ApexDocRule, reportMissingDescription, that if set to false (default is true if unspecified) doesn't report an issue if the @description tag is missing. This is consistent with the ApexDoc dialect supported by derivatives such as SfApexDoc and also with analogous documentation tools for other languages, e.g., JavaDoc, ESDoc/JSDoc, etc.

Related issues

  • Fixes [apex] ApexDoc rule should not require "@description" #3566

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@SCWells72
Issue 3566 - Added a new configuration property, 'reportMissingDescri…
efbe149
…ption', that if set to false (default is true if unspecified) doesn't report an issue if the '@description' tag is missing. This is consistent with the dialect supported by ApexDoc derivatives such as SfApexDoc.
rsoesemann
rsoesemann reviewed Oct 21, 2021
View reviewed changes

@rsoesemann rsoesemann left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You rock @SCWells72. Thanks for adding all those pragmatic, less-effort, and backward-compatible changes to PMD Apex. I looked at all of them and can wholeheartedly approve them BUT as approving is merging and kicking of a few processes I want to wait for feedback from @oowekyala / @adangel.

  1. How should we proceed here and the other PRs by Scott?
  2. Merge and plan in for the next Minor?
  3. Should @SCWells72 add a PR to describe the changes in the Documentation repo as well?
  4. Or 7.0 as we add params to existing rules? I would hope to get all those changes out sooner than 7.0.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rsoesemann rsoesemann added this to the 6.40.0 milestone Oct 21, 2021
adangel
adangel approved these changes Oct 22, 2021
View reviewed changes

@adangel adangel left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ghost

ghost commented Oct 22, 2021

Copy link
Copy Markdown
1 Message
📖 No java rules are changed!

Generated by 🚫 Danger

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adangel adangel self-assigned this Oct 22, 2021
rsoesemann
rsoesemann requested changes Oct 22, 2021
View reviewed changes

@rsoesemann rsoesemann left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SCWells72 could you please add documentation changes to this PR as Andreas note:

There is no separate doc repo. If additional documentation is required, it should be in the same PR. When changing rules, this is mostly the rule description in the category ruleset XML files. If more doc is required, this should be added to the existing docs under folder docs/.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
adangel
adangel reviewed Oct 22, 2021
View reviewed changes
Comment thread pmd-apex/src/main/resources/category/apex/documentation.xml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@rsoesemann
rsoesemann merged commit e67f2a0 into pmd:master Oct 22, 2021
@SCWells72
SCWells72 deleted the pmd-3566 branch October 22, 2021 18:44
adangel added a commit that referenced this pull request Oct 23, 2021
@adangel
[doc] Update release notes (#3566, #3572)
8c7b0fb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adangel adangel adangel approved these changes
@rsoesemann rsoesemann rsoesemann requested changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@adangel adangel

Labels

None yet

Projects

None yet

Milestone

6.40.0

Development

Successfully merging this pull request may close these issues.

[apex] ApexDoc rule should not require "@description"

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@SCWells72 @adangel @rsoesemann
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.