forked from spotbugs/spotbugs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into PermissionsSuper
- Loading branch information
Showing
95 changed files
with
862 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
gradlew linguist-generated=true | ||
gradlew.bat linguist-generated=true | ||
* text eol=lf | ||
* text=auto eol=lf | ||
|
||
*.jar binary | ||
*.png binary | ||
*.xsl binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Governance Policy | ||
|
||
This document provides the governance policy for the SpotBugs Project. | ||
|
||
## SpotBugs Core Team | ||
|
||
The SpotBugs Core Team maintains the spotbugs/spotbugs GitHub repository. | ||
|
||
The GitHub team for SpotBugs Team is `@spotbugs/core-devs`. Members of the SpotBugs Core Team have write access to the repository. | ||
|
||
## How we propose changes | ||
|
||
Both SpotBugs Core Team and SpotBugs user can propose changes to the SpotBugs project via GitHub pull requests. Refer to `.github/CONTRIBUTING.md` to know more detailed requirements for your proposal. | ||
|
||
Once a pull request gets two approvals from members of SpotBugs Core Team, pull request can be merged and shipped in the next release. | ||
|
||
If pull request cannot get enough approvals during 30 days, it can be labeled as stale pull request. Stale pull requests can be closed after another 30 days. | ||
|
||
## Issue Management Policy | ||
|
||
Both SpotBugs Core Team and SpotBugs users can create issues at GitHub Issues. Refer to `.github/CONTRIBUTING.md` to get more detailed requirements for your proposal. | ||
|
||
If issue is not updated for 30 days from when it was labeled as 'need info', SpotBugs Core Team can close it. | ||
|
||
## Nomination to the SpotBugs Core Team | ||
|
||
Members of SpotBugs Core Team can nominate new members. The nomination process is held at [GitHub Team Discussions](https://docs.github.com/en/organizations/collaborating-with-your-team/about-team-discussions). | ||
|
||
We set no clear condition for nomination, but usually nominate from active contributors. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
gradlePluginPortal() | ||
} | ||
dependencies { | ||
implementation("com.diffplug.gradle:goomph:3.34.1") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
plugins { | ||
`java-library` | ||
} | ||
|
||
dependencies { | ||
constraints { | ||
implementation("org.apache.logging.log4j:log4j-core") { | ||
version { | ||
strictly("[2.17.1, 3[") | ||
prefer("2.17.1") | ||
} | ||
because("CVE-2021-44228, CVE-2021-45046, CVE-2021-45105, CVE-2021-44832: Log4j vulnerable to remote code execution and other critical security vulnerabilities") | ||
} | ||
implementation("ch.qos.logback:logback-core") { | ||
version { | ||
strictly("[1.2.9, 2[") | ||
prefer("1.2.10") | ||
} | ||
because("CVE-2021-42550: Logback vulnerable to remote code execution vulnerabilities") | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
plugins { | ||
id ("com.diffplug.eclipse.mavencentral") | ||
} | ||
|
||
val pdeTool by configurations.creating { | ||
setTransitive(false) | ||
} | ||
|
||
eclipseMavenCentral { | ||
release("4.12.0") { | ||
compileOnly("org.eclipse.ant.core") | ||
compileOnly("org.eclipse.core.resources") | ||
compileOnly("org.eclipse.core.runtime") | ||
compileOnly("org.eclipse.jdt.core") | ||
compileOnly("org.eclipse.jdt.ui") | ||
compileOnly("org.eclipse.jface") | ||
compileOnly("org.eclipse.pde") | ||
compileOnly("org.eclipse.ui.workbench") | ||
testImplementation("org.eclipse.core.runtime") | ||
|
||
dep("pdeTool", "org.eclipse.pde.build") | ||
|
||
// TODO these packages are not listed in the manifest | ||
compileOnly("org.eclipse.pde.ui") | ||
compileOnly("org.eclipse.swt") | ||
|
||
// necessary to build with the org.eclipse.swt module | ||
useNativesForRunningPlatform() | ||
|
||
constrainTransitivesToThisRelease() | ||
} | ||
} | ||
|
||
/** | ||
* Unzip "org.eclipse.pde.build" package into the outputDir. | ||
*/ | ||
val unzipPdeTool = tasks.register<Copy>("unzipPdeTool") { | ||
from(zipTree(pdeTool.singleFile)) | ||
into("$buildDir/pdeTool") | ||
} | ||
|
||
dependencies { | ||
compileOnly(files("$buildDir/pdeTool/pdebuild.jar"){ | ||
builtBy(unzipPdeTool) | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.