diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..1df72bb7 --- /dev/null +++ b/.github/CODEOWNERS @@ -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 diff --git a/MAINTAINERS.md b/MAINTAINERS.md new file mode 100644 index 00000000..4293c88a --- /dev/null +++ b/MAINTAINERS.md @@ -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. diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 00000000..2533521a --- /dev/null +++ b/SECURITY.md @@ -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. diff --git a/SUPPORTERS.md b/SUPPORTERS.md new file mode 100644 index 00000000..77d0da6e --- /dev/null +++ b/SUPPORTERS.md @@ -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.