Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Validate javadoc as part of CI build #9267

Closed

Description

@tobrun

With every release we need create additional PRs to fixup javadoc. Take for example #9266, there we had to resolve 50 errors/ 100 warnings before being able to ship. I'm suggesting adding javadoc validation as part of our CI build. Such validation will probably require to inspect output from make android-checkstyle (afaik we can't rely on the exit code as it 's always succesfull even with errors).

cc @mapbox/android

Activity

  1. added
    Android
    on Jun 14, 2017
  2. zugaldia commented on Jun 14, 2017

    @zugaldia
    Member

    @tobrun 👍 x 100.

  3. cammace commented on Jun 14, 2017

    @cammace
    Contributor

    You can uncomment these lines in the checkstyle file which sets a rule that requires all public methods to have javadoc.

  4. tobrun commented on Jun 20, 2017

    @tobrun
    MemberAuthor

    I tried running with suggestion above but it requires to also fix the javadoc on testapp. @cammace is their a more fine grain control over what a specific checkstyle module validates?

  5. Guardiola31337 commented on Jun 20, 2017

    @Guardiola31337
    Contributor

    @tobrun we could use a SuppressionFilter.

    Suppressions are specified in a new xml file (e.g. checkstyle-suppressions.xml) and the filter has to be added under Checker in checkstyle.xml:

    <module name="SuppressionFilter">
            <property name="file" value="checkstyle-suppressions.xml" />
    </module>
  6. added
    archived
    on Nov 5, 2018
  7. stale commented on Nov 30, 2018

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

  8. reopened this on Dec 2, 2018
  9. removed
    archived
    on Dec 2, 2018
  10. added
    archived
    on May 31, 2019
  11. stale commented on May 31, 2019

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

  12. tobrun commented on Jun 3, 2019

    @tobrun
    MemberAuthor

    this is happening as part of #14792

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidarchivedbuilddocumentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions