-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix:Plagiarism] Bump base Docker image to Ubuntu 22.04 (#104)
### What is the current behavior? Our Docker image is currently based on Ubuntu 20.04. This is problematic because the main Lichen binary is compiled on the host machine and copied into the Lichen container at runtime, which requires both operating systems to be compatible. Eventually, we should do all of the compilation at image build time instead... ### What is the new behavior? The base Docker image has been bumped to Ubuntu 22.04. Due to a handful of version incompatibilities and other miscellaneous Lichen bugs, I also bumped clang to version 14 (the C++ tokenizer was broken), bumped python to 3.9, and fixed a regression introduced in Submitty/Submitty#9630. Further Python version increases will break the Java tokenizer. I will make a separate PR to migrate away from `javac-parser`, which hasn't been updated in 5 years now, and seems to be a dead project.
- Loading branch information
1 parent
7e7d229
commit 9928151
Showing
12 changed files
with
24 additions
and
26 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
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
2 changes: 1 addition & 1 deletion
2
tests/data/test_lichen/multiple_versions/expected_output/config.json
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,5 +1,5 @@ | ||
{ | ||
"semester": "f21", | ||
"term": "f21", | ||
"course": "plagiarism", | ||
"gradeable": "multiple_versions", | ||
"config_id": 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"semester": "f21", | ||
"term": "f21", | ||
"course": "plagiarism", | ||
"gradeable": "multiple_versions", | ||
"config_id": 1, | ||
|
2 changes: 1 addition & 1 deletion
2
tests/data/test_lichen/repeated_sequences/expected_output/config.json
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