-
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.
Added Defects4j and BugsInPy Programs (#7)
* Streamlined project * Added latest versions of programs included in Defects4j and BugsInPy
- Loading branch information
1 parent
8bb3d91
commit 90840b7
Showing
23 changed files
with
335 additions
and
278 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
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: '0' | ||
fetch-depth: '1' | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
|
@@ -44,7 +44,9 @@ jobs: | |
mv workspace/ichnaea.zip ichnaea.zip | ||
mv workspace/securibench-micro-JAVA.zip securibench-micro-JAVA.zip | ||
mv workspace/securibench-micro-JAVASRC.zip securibench-micro-JAVASRC.zip | ||
mv workspace/THORAT.zip THORAT.zip | ||
mv workspace/thorat.zip thorat.zip | ||
mv workspace/defects4j.zip defects4j.zip | ||
mv workspace/bugs_in_py.zip bugs_in_py.zip | ||
- name: Set next release version | ||
id: taggerFinal | ||
uses: anothrNick/[email protected] | ||
|
@@ -59,4 +61,4 @@ jobs: | |
ichnaea.zip | ||
securibench-micro-JAVA.zip | ||
securibench-micro-JAVASRC.zip | ||
THORAT.zip | ||
thorat.zip |
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 was deleted.
Oops, something went wrong.
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 +1 @@ | ||
target/universal/stage/bin/main | ||
target/universal/stage/bin/joern-benchmarks-datasets |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,28 +1,9 @@ | ||
object Versions { | ||
val cpg = parseVersion("cpgVersion") | ||
val joern = parseVersion("joernVersion") | ||
val overflowdb = parseVersion("overflowdbVersion") | ||
|
||
val betterFiles = "3.9.2" | ||
val log4j = "2.20.0" | ||
val requests = "0.8.0" | ||
val scopt = "4.1.0" | ||
val upickle = "3.3.0" | ||
|
||
val jsAstGen = "3.14.0" | ||
|
||
private def parseVersion(key: String): String = { | ||
val versionRegexp = s""".*val $key[ ]+=[ ]?"(.*?)"""".r | ||
val versions: List[String] = scala.io.Source | ||
.fromFile("build.sbt") | ||
.getLines | ||
.filter(_.contains(s"val $key")) | ||
.collect { case versionRegexp(version) => version } | ||
.toList | ||
assert( | ||
versions.size == 1, | ||
s"""unable to extract $key from build.sbt, expected exactly one line like `val $key= "0.0.0-SNAPSHOT"`.""" | ||
) | ||
versions.head | ||
} | ||
val commonsCompress = "1.27.1" | ||
val log4j = "2.20.0" | ||
val requests = "0.8.0" | ||
val scopt = "4.1.0" | ||
val upickle = "3.3.0" | ||
val semver ="0.0.6" | ||
} |
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.