Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop into main #1781

Merged
merged 278 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
278 commits
Select commit Hold shift + click to select a range
1e0f8b1
Fix sonar link of the coverage badge.
tsaglam Feb 27, 2024
81887af
Merge pull request #1615 from jplag/fix/readme-coverage-link
tsaglam Feb 27, 2024
025e4c7
Dependency(deps-dev): Bump @playwright/test from 1.41.2 to 1.42.0 in …
dependabot[bot] Feb 28, 2024
273e227
Dependency(deps): Bump vue-router from 4.2.5 to 4.3.0 in /report-view…
dependabot[bot] Feb 28, 2024
20f5c92
Dependency(deps-dev): Bump eslint from 8.56.0 to 8.57.0 in /report-vi…
dependabot[bot] Feb 28, 2024
db73798
Dependency(deps-dev): Bump eslint-plugin-vue from 9.21.1 to 9.22.0 in…
dependabot[bot] Feb 28, 2024
b890f01
Dependency(deps-dev): Bump @types/node from 18.19.17 to 18.19.19 in /…
dependabot[bot] Feb 28, 2024
fd0aa7b
Dependency(deps): Bump org.codehaus.mojo:exec-maven-plugin
dependabot[bot] Feb 28, 2024
a7e60f2
Dependency(deps): Bump org.scala-lang:scala-library
dependabot[bot] Feb 28, 2024
2f4e070
Dependency(deps): Bump org.eclipse.emf:org.eclipse.emf.common
dependabot[bot] Feb 28, 2024
4dc6b2b
Dependency(deps): Bump org.eclipse.emf:org.eclipse.emf.ecore
dependabot[bot] Feb 28, 2024
7273710
Dependency(deps): Bump org.eclipse.emf:org.eclipse.emf.ecore.xmi
dependabot[bot] Feb 28, 2024
b23646f
Merge pull request #1614 from jplag/feature/go-null-pointer
tsaglam Feb 28, 2024
204ef05
check for multiple text/html variants
Kr0nox Feb 29, 2024
61bbbcc
first layout of workflow file
Kr0nox Feb 29, 2024
985a68d
adapt e2e tests to progpedia dataset
Kr0nox Feb 29, 2024
5588493
Set version.json version to dev
Kr0nox Feb 29, 2024
257ab61
fix workflow file
Kr0nox Feb 29, 2024
4db9429
Merge pull request #1630 from jplag/report-viewer/fix-dev-version
tsaglam Mar 1, 2024
e2e0346
fix comparison test
Kr0nox Mar 1, 2024
ac21a87
fix other tests
Kr0nox Mar 1, 2024
abeccf4
test different input formats
Kr0nox Mar 1, 2024
9c05119
fix typo in workflow
Kr0nox Mar 1, 2024
70ba899
fix sys dependent regex
Kr0nox Mar 1, 2024
385b151
disable multi root with file submissions
Kr0nox Mar 1, 2024
6df05cb
remove temporary push
Kr0nox Mar 1, 2024
f8bb719
Removed suppress warnings.
TwoOfTwelve Mar 3, 2024
5c234a6
Improved code style for FilePathUtil
TwoOfTwelve Mar 3, 2024
a537074
fix unhiding through searchbar
Kr0nox Mar 4, 2024
eb71247
Merge pull request #1628 from jplag/bug-fix/local-files-button
sebinside Mar 5, 2024
3831e73
mixed multi root
Kr0nox Mar 5, 2024
0064cbe
add zip file
Kr0nox Mar 5, 2024
1b0c11d
Merge pull request #1631 from jplag/feature/complete-e2e
sebinside Mar 6, 2024
f663f78
Merge pull request #1632 from jplag/report-viewer/fix-search-space
sebinside Mar 6, 2024
c17fd5d
reenable hiding test
Kr0nox Mar 6, 2024
d33408f
Dependency(deps): Bump chart.js from 4.4.1 to 4.4.2 in /report-viewer…
dependabot[bot] Mar 6, 2024
a0322d0
Dependency(deps-dev): Bump @types/node from 18.19.19 to 18.19.21 in /…
dependabot[bot] Mar 6, 2024
7830a31
Dependency(deps-dev): Bump @playwright/test from 1.42.0 to 1.42.1 in …
dependabot[bot] Mar 6, 2024
c52e977
Dependency(deps-dev): Bump autoprefixer from 10.4.17 to 10.4.18 in /r…
dependabot[bot] Mar 6, 2024
9190b2e
Dependency(deps-dev): Bump vue-tsc from 1.8.27 to 2.0.5 in /report-vi…
dependabot[bot] Mar 6, 2024
404e8f8
Fix ParsingException in cases of null file parameter
jepst Mar 6, 2024
b466e2f
Dependency(deps): Bump org.scalameta:scalameta_2.13 from 4.9.0 to 4.9.1
dependabot[bot] Mar 6, 2024
06011a9
Dependency(deps-dev): Bump org.mockito:mockito-core
dependabot[bot] Mar 6, 2024
ec5c8dd
remove view warnings
Kr0nox Mar 10, 2024
8fb4e95
remove console log
Kr0nox Mar 10, 2024
93a0420
Merge pull request #1643 from jepst/master
tsaglam Mar 11, 2024
20aa1aa
Merge pull request #1609 from jplag/feature/join-zip-path-segments
tsaglam Mar 11, 2024
ca9c1bf
Fixed wrong paths in results.zip with multiple root directories.
TwoOfTwelve Feb 25, 2024
a4470ad
show hover text all the time
Kr0nox Mar 12, 2024
a0962c5
fix text growing off screen
Kr0nox Mar 12, 2024
6373131
reenable e2e test
Kr0nox Mar 12, 2024
c862afe
add unknown language option
Kr0nox Mar 12, 2024
667faa5
Merge pull request #1640 from jplag/report-viewer/reenable-tests
tsaglam Mar 13, 2024
53ef1b5
Merge pull request #1645 from jplag/bug/zipPathStructure
tsaglam Mar 13, 2024
5178584
Merge pull request #1646 from jplag/report-viewer/fix-cluster-text
tsaglam Mar 13, 2024
ffcd7eb
Merge pull request #1648 from jplag/report-viewer/unknown-language
tsaglam Mar 13, 2024
85a5bcd
Dependency(deps): Bump softprops/action-gh-release from 1 to 2
dependabot[bot] Mar 13, 2024
b62be62
Dependency(deps): Bump org.apache.maven.plugins:maven-gpg-plugin
dependabot[bot] Mar 13, 2024
b06c487
Dependency(deps): Bump org.scalameta:scalameta_2.13 from 4.9.1 to 4.9.2
dependabot[bot] Mar 13, 2024
1c9f086
Dependency(deps): Bump org.apache.maven.plugins:maven-assembly-plugin
dependabot[bot] Mar 13, 2024
baa1b0c
Dependency(deps): Bump com.fasterxml.jackson.core:jackson-databind
dependabot[bot] Mar 13, 2024
0470eb4
Dependency(deps-dev): Bump @types/node from 18.19.21 to 18.19.23 in /…
dependabot[bot] Mar 13, 2024
7c3d908
Dependency(deps-dev): Bump vite from 5.1.4 to 5.1.6 in /report-viewer…
dependabot[bot] Mar 13, 2024
a79fd9a
Dependency(deps-dev): Bump prettier-plugin-tailwindcss from 0.5.11 to…
dependabot[bot] Mar 13, 2024
3434c23
Dependency(deps-dev): Bump @vue/eslint-config-typescript from 12.0.0 …
dependabot[bot] Mar 14, 2024
1524be3
Dependency(deps-dev): Bump typescript from 5.3.3 to 5.4.2 in /report-…
dependabot[bot] Mar 14, 2024
16feb2d
Merge remote-tracking branch 'origin/develop' into report-viewer/clea…
Kr0nox Mar 15, 2024
53a99ab
Merge pull request #1647 from jplag/report-viewer/clean-console
tsaglam Mar 15, 2024
783a2a2
export match columns
Kr0nox Mar 18, 2024
d8cb26e
extract match columns from report
Kr0nox Mar 18, 2024
202d636
display matches character precise
Kr0nox Mar 18, 2024
89a3301
clean up code
Kr0nox Mar 18, 2024
73809b6
fix scrolling
Kr0nox Mar 18, 2024
f256285
Dependency(deps): Bump org.apache.maven.plugins:maven-gpg-plugin
dependabot[bot] Mar 20, 2024
42179a7
Dependency(deps-dev): Bump @types/node from 18.19.23 to 18.19.26 in /…
dependabot[bot] Mar 21, 2024
0b8193b
Dependency(deps-dev): Bump @vue/test-utils from 2.4.4 to 2.4.5 in /re…
dependabot[bot] Mar 21, 2024
40088fb
Dependency(deps-dev): Bump vue-tsc from 2.0.5 to 2.0.6 in /report-vie…
dependabot[bot] Mar 21, 2024
56f4457
Dependency(deps-dev): Bump @rushstack/eslint-patch from 1.7.2 to 1.8.…
dependabot[bot] Mar 21, 2024
8290863
Merge pull request #1660 from jplag/dependabot/maven/develop/org.apac…
tsaglam Mar 21, 2024
0257a90
Dependency(deps): Bump org.apache.maven.plugins:maven-assembly-plugin
dependabot[bot] Mar 20, 2024
d0a2232
Dependency(deps): Bump chartjs-chart-graph from 4.2.8 to 4.3.0 in /re…
dependabot[bot] Mar 24, 2024
c343ec2
fix tab indent
Kr0nox Mar 26, 2024
a37d92a
Dependency(deps): Bump me.tongfei:progressbar from 0.10.0 to 0.10.1
dependabot[bot] Mar 27, 2024
23e017e
Dependency(deps): Bump org.apache.maven.plugins:maven-gpg-plugin
dependabot[bot] Mar 27, 2024
e5e73e2
Dependency(deps-dev): Bump typescript from 5.4.2 to 5.4.3 in /report-…
dependabot[bot] Mar 28, 2024
283f367
Dependency(deps-dev): Bump eslint-plugin-vue from 9.22.0 to 9.24.0 in…
dependabot[bot] Mar 28, 2024
560a067
clean up match writing
Kr0nox Mar 29, 2024
6e1f53c
added tabbed container
Kr0nox Apr 1, 2024
b60db6a
add close comparisons table
Kr0nox Apr 1, 2024
a9e6ef5
Removed superfluous interfaces
TwoOfTwelve Apr 2, 2024
e78d680
Spotless
TwoOfTwelve Apr 2, 2024
ad5a10c
Dependency(deps): Bump vue from 3.4.15 to 3.4.21 in /report-viewer (#…
dependabot[bot] Apr 2, 2024
665e7f1
Dependency(deps-dev): Bump vite from 5.1.6 to 5.2.6 in /report-viewer…
dependabot[bot] Apr 2, 2024
1b668e2
change chart/radar section to tabbed container
Kr0nox Apr 2, 2024
4882d83
Added idle bars
TwoOfTwelve Apr 2, 2024
fa9abe7
Dependency(deps): Bump org.scalameta:scalameta_2.13 from 4.9.2 to 4.9.3
dependabot[bot] Apr 3, 2024
3042219
Dependency(deps): Bump org.jacoco:jacoco-maven-plugin
dependabot[bot] Apr 3, 2024
09cfbe8
Dependency(deps-dev): Bump vitest from 1.3.1 to 1.4.0 in /report-view…
dependabot[bot] Apr 4, 2024
7943843
change first bottom displayed
Kr0nox Apr 4, 2024
8cc9ed7
bump fontawesome to 6.5.2
Kr0nox Apr 4, 2024
cae9b00
Dependency(deps-dev): Bump autoprefixer from 10.4.18 to 10.4.19 in /r…
dependabot[bot] Apr 4, 2024
b00687c
Dependency(deps-dev): Bump tailwindcss from 3.4.1 to 3.4.3 in /report…
dependabot[bot] Apr 4, 2024
824e18a
Merge pull request #1689 from jplag/report-viewer/bump-fontawesome
Kr0nox Apr 4, 2024
7338ebb
Adjusted idle bar animation.
TwoOfTwelve Apr 9, 2024
3e79571
Added progress bars for Match Merging and Token String Normalization.…
TwoOfTwelve Apr 9, 2024
d12c11d
replace close
Kr0nox Apr 9, 2024
0a8cd81
Added a test for idle bars.
TwoOfTwelve Apr 9, 2024
1339bfc
spotless
TwoOfTwelve Apr 9, 2024
9af1a8b
Added generic catch clause in the c language module, so that error me…
TwoOfTwelve Apr 9, 2024
18eade0
Migrated the go language module to the new antlr framework.
TwoOfTwelve Apr 9, 2024
c019c96
Fixed errors in the new go listener and migrated the test to the new …
TwoOfTwelve Apr 9, 2024
23ece9c
Update the location of sortAlgo resources
emmanuel-ferdman Apr 9, 2024
e6faa8b
Added some basic tests to the go module
TwoOfTwelve Apr 9, 2024
a88ab4b
Added some basic tests to the go module
TwoOfTwelve Apr 9, 2024
fd53dab
correct line displaying
Kr0nox Apr 9, 2024
8a337dd
Removed magic strings.
TwoOfTwelve Apr 9, 2024
11b0347
Merge pull request #1693 from emmanuel-ferdman/wip
tsaglam Apr 9, 2024
98b4c67
Spotless.
TwoOfTwelve Apr 9, 2024
2657be3
Improved code style for IdleBar.java
TwoOfTwelve Apr 9, 2024
0f3fb76
replace loop
Kr0nox Apr 9, 2024
8861ede
Merge remote-tracking branch 'origin/develop' into update-dev
Kr0nox Apr 9, 2024
34753ad
fix jar upload
Kr0nox Apr 9, 2024
6cbdfa6
Merge pull request #1697 from jplag/bugfix/build-action
tsaglam Apr 10, 2024
54ab27d
Merge pull request #1696 from jplag/update-dev
tsaglam Apr 10, 2024
4437703
Dependency(deps-dev): Bump @types/node from 18.19.26 to 18.19.31 in /…
dependabot[bot] Apr 10, 2024
776bbb4
Dependency(deps-dev): Bump eslint-plugin-vue from 9.24.0 to 9.24.1 in…
dependabot[bot] Apr 10, 2024
b68c5fb
Dependency(deps): Bump org.apache.maven.plugins:maven-source-plugin
dependabot[bot] Apr 10, 2024
d4b2dc3
Merge pull request #1607 from jplag/feature/cli-module-refactoring
tsaglam Apr 10, 2024
6e74165
Dependency(deps-dev): Bump @playwright/test from 1.42.1 to 1.43.0 in …
dependabot[bot] Apr 10, 2024
ba46308
Dependency(deps-dev): Bump typescript from 5.4.3 to 5.4.4 in /report-…
dependabot[bot] Apr 10, 2024
2f1d6a7
Dependency(deps): Bump vue-chartjs from 5.3.0 to 5.3.1 in /report-vie…
dependabot[bot] Apr 10, 2024
9c43b92
Fixed sonarcloud issues for the go module
TwoOfTwelve Apr 16, 2024
d1ce85d
Merge pull request #1690 from jplag/feature/additionalProgressBars
tsaglam Apr 16, 2024
da0c5b9
Merge pull request #1692 from jplag/report-viewer/close-submissions-c…
tsaglam Apr 16, 2024
e4d4f33
Fixed issues with idle bars
TwoOfTwelve Apr 17, 2024
b811025
Merge branch 'refs/heads/develop' into feature/idleBars
TwoOfTwelve Apr 17, 2024
bef8c0c
Cli shows completion candidates in help text of enums and allows lowe…
TwoOfTwelve Apr 17, 2024
807cbed
Dependency(deps): Bump slf4j.version from 2.0.12 to 2.0.13
dependabot[bot] Apr 17, 2024
65a7666
Dependency(deps): Bump org.apache.maven.plugins:maven-jar-plugin
dependabot[bot] Apr 17, 2024
2934e81
Dependency(deps): Bump com.ibm.icu:icu4j-charset from 74.2 to 75.1
dependabot[bot] Apr 17, 2024
ada8b12
Dependency(deps-dev): Bump com.tngtech.archunit:archunit-junit5
dependabot[bot] Apr 17, 2024
2868662
Merge pull request #1705 from jplag/feature/cliEnums
tsaglam Apr 17, 2024
a8c7268
Dependency(deps-dev): Bump @playwright/test from 1.43.0 to 1.43.1 in …
dependabot[bot] Apr 17, 2024
cee49c7
Dependency(deps-dev): Bump prettier-plugin-tailwindcss from 0.5.12 to…
dependabot[bot] Apr 17, 2024
96273f2
Dependency(deps-dev): Bump vitest from 1.4.0 to 1.5.0 in /report-view…
dependabot[bot] Apr 17, 2024
1f4101c
Dependency(deps): Bump vue-router from 4.3.0 to 4.3.1 in /report-view…
dependabot[bot] Apr 17, 2024
26b5494
Dependency(deps-dev): Bump vite from 5.2.6 to 5.2.9 in /report-viewer…
dependabot[bot] Apr 17, 2024
bbc74b3
Avoided overwriting of files
TwoOfTwelve Apr 18, 2024
73011a9
rework tooltip component
Kr0nox Apr 18, 2024
09aa5df
add basic breadcrump tooltip
Kr0nox Apr 18, 2024
0726728
token range bread crump
Kr0nox Apr 18, 2024
c6ed62d
fix click on match
Kr0nox Apr 18, 2024
bf639d1
fix e2e tests
Kr0nox Apr 18, 2024
89a7662
fix more e2e tests
Kr0nox Apr 18, 2024
876cfaa
deactivate pointer events on outer div
Kr0nox Apr 18, 2024
8f0daec
Merge pull request #1695 from jplag/report-viewer/match-in-line
tsaglam Apr 19, 2024
51acad8
Dependency(deps): Bump org.apache.maven.plugins:maven-gpg-plugin
dependabot[bot] Apr 17, 2024
0d7efae
add cpp python and c# e2e tests
Kr0nox Apr 20, 2024
f8bb0d0
Merge remote-tracking branch 'origin/develop' into report-viewer/brea…
Kr0nox Apr 22, 2024
d4bf752
Merge branch 'report-viewer/breadcrump-tooltips' of https://github.co…
Kr0nox Apr 22, 2024
29bee59
update workflow file
Kr0nox Apr 22, 2024
3c2547c
add slash to path
Kr0nox Apr 22, 2024
a14d2e1
fix order of submissions
Kr0nox Apr 22, 2024
dc601c7
Fixed idle bars not showing.
TwoOfTwelve Apr 23, 2024
1903952
Removed system dependant line separator
TwoOfTwelve Apr 23, 2024
f89a931
Added javadoc
TwoOfTwelve Apr 23, 2024
f0d963c
Merge remote-tracking branch 'origin/feature/migrateGoLanguageModule'…
TwoOfTwelve Apr 23, 2024
973fa9e
Added missing line separator
TwoOfTwelve Apr 23, 2024
95663ed
Merge pull request #1691 from jplag/feature/c-language-catch-exceptions
tsaglam Apr 24, 2024
636608a
Merge pull request #1722 from jplag/feature/cli-MissingLineSeparator
tsaglam Apr 24, 2024
0525326
Dependency(deps-dev): Bump @rushstack/eslint-patch from 1.8.0 to 1.10…
dependabot[bot] Apr 24, 2024
710f13b
Dependency(deps-dev): Bump typescript from 5.4.4 to 5.4.5 in /report-…
dependabot[bot] Apr 24, 2024
213b362
Dependency(deps-dev): Bump vue-tsc from 2.0.6 to 2.0.14 in /report-vi…
dependabot[bot] Apr 24, 2024
fb5fb4e
Dependency(deps-dev): Bump vite from 5.2.9 to 5.2.10 in /report-viewe…
dependabot[bot] Apr 24, 2024
d44028f
Merge pull request #1694 from jplag/feature/migrateGoLanguageModule
tsaglam Apr 25, 2024
d543b79
Dependency(deps): Bump edu.stanford.nlp:stanford-corenlp
dependabot[bot] Apr 24, 2024
562ead1
Dependency(deps): Bump org.apache.maven.plugins:maven-jar-plugin
dependabot[bot] Apr 24, 2024
5dfc073
Dependency(deps): Bump net.alchim31.maven:scala-maven-plugin
dependabot[bot] Apr 24, 2024
ac5c94a
Dependency(deps): Bump org.apache.maven.plugins:maven-gpg-plugin
dependabot[bot] Apr 24, 2024
29e1a08
fix screen scrollable bug
Kr0nox Apr 25, 2024
6539913
fix tooltip in scrollable container
Kr0nox Apr 28, 2024
02afba5
change wording in tooltip
Kr0nox Apr 28, 2024
5af56d1
fix superlinear regex
Kr0nox Apr 29, 2024
ea3b5c4
remove console log
Kr0nox Apr 29, 2024
94dee21
fix macosx string
Kr0nox Apr 29, 2024
b1c98bc
Dependency(deps): Bump vue from 3.4.21 to 3.4.25 in /report-viewer (#…
dependabot[bot] Apr 29, 2024
92d2405
Dependency(deps): Bump org.apache.maven.plugins:maven-deploy-plugin
dependabot[bot] May 1, 2024
b6d2d4c
Dependency(deps): Bump org.scala-lang:scala-library
dependabot[bot] May 1, 2024
e985959
Dependency(deps-dev): Bump eslint-plugin-vue from 9.24.1 to 9.25.0 in…
dependabot[bot] May 2, 2024
ca8cd42
Dependency(deps-dev): Bump vue-tsc from 2.0.14 to 2.0.16 in /report-v…
dependabot[bot] May 2, 2024
758b485
Dependency(deps): Bump vue-router from 4.3.1 to 4.3.2 in /report-view…
dependabot[bot] May 2, 2024
b2265da
Dependency(deps-dev): Bump vitest from 1.5.0 to 1.5.3 in /report-view…
dependabot[bot] May 2, 2024
2efba00
Moved logging for clusters to trace.
TwoOfTwelve May 2, 2024
5edbad1
Improved readability
TwoOfTwelve May 2, 2024
9dd7971
Fixed writable file condition
TwoOfTwelve May 2, 2024
66b2abc
Added simple test for checking if the result file is writable.
TwoOfTwelve May 2, 2024
059026e
add workflow for closing issues on develop merge
Kr0nox May 2, 2024
7edcd56
better error message when files are not found
Kr0nox May 2, 2024
347804d
Change workflow name
Kr0nox May 2, 2024
23bc135
remove left over comment
Kr0nox May 2, 2024
5583bf9
give repo name and owner as argument
Kr0nox May 2, 2024
1c79762
Merge branch 'dev-issue-close-workflow' of https://github.com/jplag/J…
Kr0nox May 2, 2024
f5cea2d
add closing comment
Kr0nox May 2, 2024
29a2b5a
Dependency(deps): Bump JamesIves/github-pages-deploy-action
dependabot[bot] Apr 24, 2024
8335d97
Fix closed issue text
Kr0nox May 3, 2024
5953189
Dependency(deps): Bump vue from 3.4.25 to 3.4.26 in /report-viewer (#…
dependabot[bot] May 3, 2024
8afd33f
Merge pull request #1745 from jplag/dev-issue-close-workflow
tsaglam May 3, 2024
2be252d
Wrong JUnit imports fixed
TwoOfTwelve May 3, 2024
80d0815
fix substrings of issue numbers are found
Kr0nox May 3, 2024
2312b70
Merge pull request #1748 from jplag/fix-dev-close-workflow
tsaglam May 3, 2024
649a595
Merge pull request #1680 from jplag/feature/idleBars
tsaglam May 3, 2024
d091182
Merge pull request #1717 from jplag/report-viewer/breadcrump-tooltips
tsaglam May 3, 2024
408e524
Added new antlr grammar
TwoOfTwelve May 3, 2024
487df7e
change option generation
Kr0nox May 3, 2024
e8bb6fb
Migrated python language module to new syntax
TwoOfTwelve May 3, 2024
c77b372
Migrated python language module to new syntax
TwoOfTwelve May 3, 2024
0a67ccc
Added tokens for ASYNC and AWAIT from python 3.7
TwoOfTwelve May 3, 2024
6d8d66e
Spotless
TwoOfTwelve May 3, 2024
c559a35
Added async and await to the tests
TwoOfTwelve May 3, 2024
ed910f1
Improved constant name
TwoOfTwelve May 4, 2024
e0ed4cc
Fixed wrong constant name.
TwoOfTwelve May 8, 2024
b0e10d6
Dependency(deps-dev): Bump @vue/test-utils from 2.4.5 to 2.4.6 in /re…
dependabot[bot] May 9, 2024
6da6946
Dependency(deps-dev): Bump @playwright/test from 1.43.1 to 1.44.0 in …
dependabot[bot] May 9, 2024
40bb0c7
Dependency(deps-dev): Bump vitest from 1.5.3 to 1.6.0 in /report-view…
dependabot[bot] May 9, 2024
d91481d
Dependency(deps-dev): Bump @types/node from 18.19.31 to 18.19.33 in /…
dependabot[bot] May 9, 2024
cff3850
Dependency(deps): Bump com.fasterxml.jackson.core:jackson-databind
dependabot[bot] May 8, 2024
4bf1588
Dependency(deps-dev): Bump vite from 5.2.10 to 5.2.11 in /report-view…
dependabot[bot] May 12, 2024
38143d9
Dependency(deps): Bump info.picocli:picocli from 4.7.5 to 4.7.6
dependabot[bot] May 8, 2024
7b229b9
Merge pull request #1721 from jplag/tests/languages
tsaglam May 14, 2024
742b46e
Merge pull request #1736 from jplag/report-viwer/fix-superlinear-regex
tsaglam May 14, 2024
e91e4bc
Merge pull request #1747 from jplag/report-viewer/better-warning
tsaglam May 14, 2024
3e440fd
Merge pull request #1749 from jplag/e2e/better-image-comparison
tsaglam May 14, 2024
4d2b6f6
Dependency(deps-dev): Bump vue-tsc from 2.0.16 to 2.0.17 in /report-v…
dependabot[bot] May 15, 2024
bf2f285
Dependency(deps-dev): Bump eslint-plugin-vue from 9.25.0 to 9.26.0 in…
dependabot[bot] May 15, 2024
f6e6fe1
Dependency(deps-dev): Bump org.mockito:mockito-core
dependabot[bot] May 15, 2024
62934f8
Dependency(deps): Bump vue from 3.4.26 to 3.4.27 in /report-viewer (#…
dependabot[bot] May 15, 2024
aa1c45b
Dependency(deps): Bump net.alchim31.maven:scala-maven-plugin
dependabot[bot] May 15, 2024
68c5261
Removed redundant "public" for tests.
TwoOfTwelve May 16, 2024
334c285
Dependency(deps): Bump org.scalameta:scalameta_2.13 from 4.9.3 to 4.9.4
dependabot[bot] May 15, 2024
fbe78a7
Designated the python module as beta
TwoOfTwelve May 16, 2024
1a7c35d
Merge pull request #1750 from jplag/feature/pythonLanguageModule
tsaglam May 16, 2024
ae64101
Merge pull request #1716 from jplag/feature/checkIfResultFileCanBeWri…
tsaglam May 17, 2024
1c0c22f
catch all exceptions in java parsing
Kr0nox May 17, 2024
38fb673
Merge pull request #1768 from jplag/bug-fix/java-exception
tsaglam May 22, 2024
a6fae72
---
dependabot[bot] May 22, 2024
6e818da
---
dependabot[bot] May 22, 2024
e7e1cc0
---
dependabot[bot] May 22, 2024
4f7c494
---
dependabot[bot] May 22, 2024
6036919
Increment JPlag revision to v5.1.0
tsaglam May 23, 2024
a8e6f99
Merge pull request #1782 from jplag/version-510
tsaglam May 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/closeDevIssues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Close linked issue on PR merge

on:
pull_request:
types:
- closed

jobs:
close_issues:
if: github.event.pull_request.merged == true && github.base_ref == 'develop'
runs-on: ubuntu-latest

steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Run script
working-directory: .github/workflows/scripts
run: |
pip install requests
python closeDevIssues.py ${{ secrets.GITHUB_TOKEN }} jplag JPlag ${{ github.event.pull_request.number }}
160 changes: 160 additions & 0 deletions .github/workflows/complete-e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
# Builds JPlag and then runs Datasets and Report Viewer e2e tests on multiple OS
name: Complete e2e Test

on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened]
paths:
- ".github/workflows/complete-e2e.yml"
- "report-viewer/**"
- "**/pom.xml"
- "**.java"
- "**.g4"

jobs:
pre_job:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
concurrent_skipping: 'same_content_newer'
skip_after_successful_duplicate: 'true'

build_jar:
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'

- uses: actions/setup-node@v4
with:
node-version: "18"

- name: Build Assembly
run: mvn -Pwith-report-viewer -DskipTests clean package assembly:single

- name: Rename Jar
run: mv cli/target/jplag-*-jar-with-dependencies.jar cli/target/jplag.jar

- name: Upload Assembly
uses: actions/upload-artifact@v4
with:
name: "JPlag"
path: "cli/target/jplag.jar"
retention-days: 30

run_jplag:
needs: build_jar
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
dataset: [
{zip: "progpedia.zip", name: "progpedia", folder: "ACCEPTED", language: "java", cliArgs: "-bc base"},
{zip: "fileSingleRoot.zip", name: "fileSingleRoot", folder: "fileSingleRoot", language: "java", cliArgs: ""},
{zip: "folderSingleRoot.zip", name: "folderSingleRoot", folder: "folderSingleRoot", language: "java", cliArgs: ""},
{zip: "fileMultiRoot.zip", name: "fileMultiRoot", folder: "f0", language: "java", cliArgs: "--new f1"},
{zip: "folderMultiRoot.zip", name: "folderMultiRoot", folder: "f0", language: "java", cliArgs: "--new f1"},
{zip: "mixedMultiRoot.zip", name: "mixedBaseFile", folder: "f0", language: "java", cliArgs: "--new f1"},
{zip: "mixedMultiRoot.zip", name: "mixedBaseFolder", folder: "f1", language: "java", cliArgs: "--new f0"},
{zip: "cpp.zip", name: "cpp", folder: "./cpp", language: "cpp", cliArgs: ""},
{zip: "csharp.zip", name: "csharp", folder: "./csharp", language: "csharp", cliArgs: ""},
{zip: "python.zip", name: "python", folder: "./python", language: "python3", cliArgs: ""}
]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'

- name: Get JAR
uses: actions/download-artifact@v4
with:
name: JPlag

- name: Copy and unzip dataset windows
if: ${{ matrix.os == 'windows-latest' }}
run: |
Expand-Archive -LiteralPath .github/workflows/files/${{ matrix.dataset.zip }} -DestinationPath ./

- name: Copy and unzip dataset macos and ubuntu
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'}}
run: |
unzip .github/workflows/files/${{ matrix.dataset.zip }}

- name: Run JPlag
run: |
java -jar jplag.jar ${{ matrix.dataset.folder }} -l ${{ matrix.dataset.language }} -r ${{ matrix.dataset.name }}-report ${{ matrix.dataset.cliArgs }}

- name: Upload result
uses: actions/upload-artifact@v4
with:
name: "${{ matrix.dataset.name }}-${{ matrix.os }}"
path: "${{ matrix.dataset.name }}-report.zip"
retention-days: 30

e2e_test:
needs: run_jplag
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "18"

- name: Install and Build
working-directory: report-viewer
run: |
npm install
npm run build

- name: Install playwright
working-directory: report-viewer
run: npx playwright install --with-deps

- name: Download JPlag Reports
uses: actions/download-artifact@v4
with:
pattern: "*-${{ matrix.os }}"
path: "report-viewer/tests/e2e/assets"
merge-multiple: true

- name: Run tests
working-directory: report-viewer
run: |
npm run test:e2e

- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: "test-results-${{ matrix.os }}"
path: |
report-viewer/test-results
report-viewer/playwright-report
retention-days: 30
Binary file added .github/workflows/files/cpp.zip
Binary file not shown.
Binary file added .github/workflows/files/csharp.zip
Binary file not shown.
Binary file added .github/workflows/files/fileMultiRoot.zip
Binary file not shown.
Binary file added .github/workflows/files/fileSingleRoot.zip
Binary file not shown.
Binary file added .github/workflows/files/folderMultiRoot.zip
Binary file not shown.
Binary file added .github/workflows/files/folderSingleRoot.zip
Binary file not shown.
Binary file added .github/workflows/files/mixedMultiRoot.zip
Binary file not shown.
Binary file added .github/workflows/files/python.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Upload Assembly
uses: actions/upload-artifact@v4
with:
name: "JPlag"
path: "jplag.cli/target/jplag-*-jar-with-dependencies.jar"
name: "JPlag Jar"
path: "cli/target/jplag-*-jar-with-dependencies.jar"


4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to Maven Central & GitHub
on:
workflow_dispatch:
release:
types: [created]
types: [created, published]
jobs:
publish-maven-central:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
run: mvn -Pwith-report-viewer -U -B clean package assembly:single

- name: Attach CLI to Release on GitHub
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: cli/target/jplag-*-jar-with-dependencies.jar
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/report-viewer-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
npm run build-demo

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.5.0
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
branch: gh-pages
folder: report-viewer/dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/report-viewer-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
npm run build-dev

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.5.0
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
branch: gh-pages
folder: report-viewer/dist
Expand Down
58 changes: 0 additions & 58 deletions .github/workflows/report-viewer-e2e.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/report-viewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
npm run build-prod

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.5.0
uses: JamesIves/github-pages-deploy-action@v4.6.1
with:
branch: gh-pages
folder: report-viewer/dist
76 changes: 76 additions & 0 deletions .github/workflows/scripts/closeDevIssues.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
import requests
import re
import sys

headers = {"Authorization": f"Bearer {sys.argv[1]}"}

owner = sys.argv[2]
repo = sys.argv[3]
pr_number = int(sys.argv[4])

query = f"""
{{
repository(owner: "{owner}", name: "{repo}") {{
pullRequest(number: {pr_number}) {{
merged
baseRefName
body
closingIssuesReferences (first: 50) {{
nodes {{
number
}}
}}
}}
}}
}}
"""

def run_query(query):
request = requests.post('https://api.github.com/graphql', json={'query': query}, headers=headers)
if request.status_code == 200:
return request.json()
else:
raise Exception("Query failed to run by returning code of {}. {}".format(request.status_code, query))


closing_keywords = [
'closes', 'close', 'closed', 'fix', 'fixes', 'fixed', 'resolves', 'resolve', 'resolved'
]

# checks all subsequeces of the pr body for closing keywords and extracts the coresponidng issue numbers
def subsequences_matching_regex(input_string, regex):
matches = []
for i in range(len(input_string)):
for j in range(i+1, len(input_string)+1):
subsequence = input_string[i:j]
match = re.fullmatch(regex, subsequence)
if match:
matches.append(int(match.group(1)))
return matches

# gets all issues linked to pr either via the closing keywords or the sidebar
def get_linked_issues(result):
issue_body = result['body'].lower() + "." # we append a dot to the end of the body to make sure the last word is checked with the regex
closing_issues = []
for keyword in closing_keywords:
closing_issues.extend(subsequences_matching_regex(issue_body, f'{keyword} #([0-9]+)[^0-9]'))
for k in result['closingIssuesReferences']['nodes']:
closing_issues.append(k['number'])
return list(set(closing_issues))

result = run_query(query)['data']['repository']['pullRequest']
issues = get_linked_issues(result)

def close_issue(issue_number):
requests.post(f"https://api.github.com/repos/{owner}/{repo}/issues/{issue_number}/comments", json={"body": f"Closed by #{pr_number}."}, headers=headers)
requests.patch(f"https://api.github.com/repos/{owner}/{repo}/issues/{issue_number}", json={"state": "closed"}, headers=headers)

if result['baseRefName'] != "develop":
print("PR not merged to develop, not closing issues")
elif result['merged']:
print(f"Closing issues: {issues}")
for issue in issues:
close_issue(issue)
print(f"Closed issue {issue}")
else:
print("PR not merged, not closing issues")
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/de.jplag/jplag/badge.svg)](https://maven-badges.herokuapp.com/maven-central/de.jplag/jplag)
[![License](https://img.shields.io/github/license/jplag/jplag.svg)](https://github.com/jplag/jplag/blob/main/LICENSE)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/jplag/JPlag)](https://github.com/jplag/JPlag/pulse)
[![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=jplag_JPlag&metric=coverage)](https://sonarcloud.io/component_measures/metric/coverage/list?id=jplag_JPlag)
[![SonarCloud Coverage](https://sonarcloud.io/api/project_badges/measure?project=jplag_JPlag&metric=coverage)](https://sonarcloud.io/component_measures?metric=Coverage&view=list&id=jplag_JPlag)
[![Report Viewer](https://img.shields.io/badge/report%20viewer-online-b80025)](https://jplag.github.io/JPlag/)
[![Java Version](https://img.shields.io/badge/java-SE%2021-yellowgreen)](#download-and-installation)

Expand All @@ -32,7 +32,7 @@ All supported languages and their supported versions are listed below.
| [C](https://isocpp.org) | 11 | c | legacy | JavaCC |
| [C++](https://isocpp.org) | 14 | cpp | beta | ANTLR 4 |
| [C#](https://docs.microsoft.com/en-us/dotnet/csharp/) | 6 | csharp | mature | ANTLR 4 |
| [Python](https://www.python.org) | 3.6 | python3 | legacy | ANTLR 4 |
| [Python](https://www.python.org) | 3.6 | python3 | beta | ANTLR 4 |
| [JavaScript](https://www.javascript.com/) | ES6 | javascript | beta | ANTLR 4 |
| [TypeScript](https://www.typescriptlang.org/) | [~5](https://github.com/antlr/grammars-v4/tree/master/javascript/typescript/README.md) | typescript | beta | ANTLR 4 |
| [Go](https://go.dev) | 1.17 | golang | beta | ANTLR 4 |
Expand Down
Loading