Skip to content

Latest commit

 

History

History
59 lines (34 loc) · 2.53 KB

CONTRIBUTING.md

File metadata and controls

59 lines (34 loc) · 2.53 KB

Contributing Guide

This Contributing Guide is intended for those that would like to contribute to this repository.

If you would like to use any of the published modules in your project, you can instead include the artifacts from the Maven Central repository using your build tool of choice or the published container images.

Code of Conduct

See our Contributor Code of Conduct.

Contributions

Contributions come in various forms and are not limited to code changes. The community benefits from contributions in all forms.

For example, those with knowledge and experience can contribute by:

The remainder of this document will focus on guidance for contributing code changes. It will help contributors to build, modify, or test the source code.

Include a Signed Off By Trailer

All commits must include a Signed-off-by trailer at the end of each commit message to indicate that the contributor agrees to the Developer Certificate of Origin. For additional details, please refer to the blog post Hello DCO, Goodbye CLA: Simplifying Contributions to Spring.

Getting the source

The source code is hosted on GitHub at https://github.com/micrometer-metrics/prometheus-rsocket-proxy. You can use a Git client to clone the source code to your local machine.

Building

This project targets Java 17.

The Gradle wrapper is provided and should be used for building with a consistent version of Gradle.

The wrapper can be used with a command, for example, ./gradlew check to build the project and check conventions.

Importing into an IDE

This repository should be imported as a Gradle project into your IDE of choice.

Testing changes locally

Specific modules or a test class can be run from your IDE for convenience.

The Gradle check task depends on the test task, and so tests will be run as part of a build as described previously.

Publishing local snapshots

Run ./gradlew pTML to publish a Maven-style snapshot to your Maven local repo. The build automatically calculates the "next" version for you when publishing snapshots.

These local snapshots can be used in another project to test the changes.