Skip to content

Latest commit

 

History

History
90 lines (55 loc) · 2.89 KB

CONTRIBUTING.md

File metadata and controls

90 lines (55 loc) · 2.89 KB

How to contribute to Spring Data DynamoDB

Checking out and building

To check out the project and build it from source, do the following:

git clone https://github.com/awspring/spring-data-dynamodb.git
cd spring-data-dynamodb
./mvnw package

To build and install jars into your local Maven cache:

./mvnw install

For faster builds, we recommend using Maven Daemon and using following commands:

Build:

make build

Clean:

make clean

Format code:

make format

Building documentation

Documentation can be built by activating the docs-classic profile in the Maven build.

make docs

It generates:

  • reference documentation at docs/target/generated-docs/reference/html/reference.html
  • API docs at target/site/apidocs/index.html

The documentation build runs Spotless verification but does not apply formatting changes.

Did you find a bug?

  • Do not open up a GitHub issue if the bug is a security vulnerability in Spring Data DynamoDB, and instead to refer to our security policy.

  • Ensure the bug was not already reported by searching on GitHub under Issues.

  • If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, ideally with a code sample or an executable test case demonstrating the expected behavior that is not occurring.

Did you write a patch that fixes a bug?

  • Open a new GitHub pull request with the patch.

  • Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.

Do you intend to add a new feature or change an existing one?

  • Suggest your change in the Issues.

  • Start writing code once the issue got approved by project maintainers.

  • In addition to actual implemented feature, remember to:

    • update reference docs
    • each public class should have a Javadoc
    • code has to have tests
    • each package has to have package-info.java file definining nullability rules
    • each nullable field, method parameter, method return value, if can be null, has to be annotated with org.jspecify.annotations.Nullable.

Using Gitpod

To avoid setting up your local development environment, you can use Gitpod and develop directly in browser based Visual Studio Code, or JetBrains Client via JetBrains Gateway.

Open in Gitpod

Thanks!