Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# The owners of every path: GitHub asks them to review each pull request that touches it. Their review is required
# only where a ruleset says so, which the rulesets of 21.X.X and 17.X.X do not yet.
* @abashev
11 changes: 11 additions & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Maintainers

| Name | GitHub | Areas |
|---|---|---|
| Alex Abashev | [@abashev](https://github.com/abashev) | All of it: the formatter, the build and IDE plugins, the release lines, the releases |

The maintainers review and merge the pull requests, release both lines, 21.X.X and 17.X.X, and look after the
other repositories of the [openjavaformat](https://github.com/openjavaformat) organization: fmt-maven-plugin, docs,
homebrew-tap, scoop-bucket and apt.

A vulnerability goes to them privately, as [SECURITY.md](SECURITY.md) says. Anything else goes into an issue.
27 changes: 27 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Security policy

## Supported versions

| Line | Supported |
|---|---|
| 21.x, the newest release | Yes |
| 17.x, the newest release of the line for JDK 17 to 20 | Yes |
| Anything older, 2.98.0.x included | No |

A fix comes as a new build of the newest minor version of each line, as [Versions](README.md#versions) describes:
the 21 line first, and the 17 line as a backport.

## Reporting a vulnerability

Report it privately through GitHub: on the **Security** tab of the repository, **Report a vulnerability**, or
[this form](https://github.com/openjavaformat/open-java-format/security/advisories/new). Do not open a public issue
or pull request for it.

The report reaches the [maintainers](MAINTAINERS.md) alone. Say which version you use and how it runs, through
Gradle, Maven, Spotless, the command line, the native binary or an IDE, and give the input or the steps that show the
problem. Once a fix is out, the advisory is published with the reporter's name, unless the reporter asks otherwise.

This covers what this repository builds: the formatter and its jars, the native binary and its packages, the Gradle,
IntelliJ IDEA and Eclipse plugins, and the WebAssembly module. The Maven plugin and the documentation site have their
own repositories, [fmt-maven-plugin](https://github.com/openjavaformat/fmt-maven-plugin) and
[docs](https://github.com/openjavaformat/docs), and the same maintainers.
11 changes: 11 additions & 0 deletions SUPPORTERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Supporting open-java-format

open-java-format is built and released in the open by its [maintainers](MAINTAINERS.md). What helps it most:

- **Use it, and say so.** A star on GitHub, a line in your project's README, a mention in a talk or a post: every
build that formats with it tells the next one that the project is alive.
- **Tell us what it gets wrong.** An issue with the input, the output and the output you expected is how a formatting
bug gets fixed. The Java version and the route, Gradle, Maven, Spotless, the command line or an IDE, help too.
- **Send a fix.** [CONTRIBUTING.md](CONTRIBUTING.md) says how to build and test a change.
- **Answer a question.** Issues and discussions where you know the answer, from your own build, save someone a day.
- **Report a vulnerability privately**, as [SECURITY.md](SECURITY.md) says, rather than in public.
Loading