Skip to content

Commit 269f2af

Browse files
authored
Merge pull request #304 from openjavaformat/abashev/project-files
Say who maintains the project, how to report a vulnerability and how to support it
2 parents 88d40aa + d6cef0c commit 269f2af

4 files changed

Lines changed: 52 additions & 0 deletions

File tree

‎.github/CODEOWNERS‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# The owners of every path: GitHub asks them to review each pull request that touches it. Their review is required
2+
# only where a ruleset says so, which the rulesets of 21.X.X and 17.X.X do not yet.
3+
* @abashev

‎MAINTAINERS.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Maintainers
2+
3+
| Name | GitHub | Areas |
4+
|---|---|---|
5+
| Alex Abashev | [@abashev](https://github.com/abashev) | All of it: the formatter, the build and IDE plugins, the release lines, the releases |
6+
7+
The maintainers review and merge the pull requests, release both lines, 21.X.X and 17.X.X, and look after the
8+
other repositories of the [openjavaformat](https://github.com/openjavaformat) organization: fmt-maven-plugin, docs,
9+
homebrew-tap, scoop-bucket and apt.
10+
11+
A vulnerability goes to them privately, as [SECURITY.md](SECURITY.md) says. Anything else goes into an issue.

‎SECURITY.md‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Security policy
2+
3+
## Supported versions
4+
5+
| Line | Supported |
6+
|---|---|
7+
| 21.x, the newest release | Yes |
8+
| 17.x, the newest release of the line for JDK 17 to 20 | Yes |
9+
| Anything older, 2.98.0.x included | No |
10+
11+
A fix comes as a new build of the newest minor version of each line, as [Versions](README.md#versions) describes:
12+
the 21 line first, and the 17 line as a backport.
13+
14+
## Reporting a vulnerability
15+
16+
Report it privately through GitHub: on the **Security** tab of the repository, **Report a vulnerability**, or
17+
[this form](https://github.com/openjavaformat/open-java-format/security/advisories/new). Do not open a public issue
18+
or pull request for it.
19+
20+
The report reaches the [maintainers](MAINTAINERS.md) alone. Say which version you use and how it runs, through
21+
Gradle, Maven, Spotless, the command line, the native binary or an IDE, and give the input or the steps that show the
22+
problem. Once a fix is out, the advisory is published with the reporter's name, unless the reporter asks otherwise.
23+
24+
This covers what this repository builds: the formatter and its jars, the native binary and its packages, the Gradle,
25+
IntelliJ IDEA and Eclipse plugins, and the WebAssembly module. The Maven plugin and the documentation site have their
26+
own repositories, [fmt-maven-plugin](https://github.com/openjavaformat/fmt-maven-plugin) and
27+
[docs](https://github.com/openjavaformat/docs), and the same maintainers.

‎SUPPORTERS.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Supporting open-java-format
2+
3+
open-java-format is built and released in the open by its [maintainers](MAINTAINERS.md). What helps it most:
4+
5+
- **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
6+
build that formats with it tells the next one that the project is alive.
7+
- **Tell us what it gets wrong.** An issue with the input, the output and the output you expected is how a formatting
8+
bug gets fixed. The Java version and the route, Gradle, Maven, Spotless, the command line or an IDE, help too.
9+
- **Send a fix.** [CONTRIBUTING.md](CONTRIBUTING.md) says how to build and test a change.
10+
- **Answer a question.** Issues and discussions where you know the answer, from your own build, save someone a day.
11+
- **Report a vulnerability privately**, as [SECURITY.md](SECURITY.md) says, rather than in public.

0 commit comments

Comments
 (0)