-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1951 from jplag/feature/wiki-overhaul
Improve Wiki
- Loading branch information
Showing
8 changed files
with
71 additions
and
514 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
JPlag currently supports Java, C, C++, C#, Go, Kotlin, Python, R, Rust, Scala, Swift, and Scheme. Additionally, it has primitive support for text and prototypical support for EMF metamodels. A detailed list, including the supported language versions can be found in the [project readme](https://github.com/jplag/JPlag/blob/main/README.md#supported-languages). | ||
JPlag currently supports Java, C, C++, C#, Go, Kotlin, Python, R, Rust, Scala, Swift, Javascript, Typescript, LLVM IR and Scheme. Additionally, it has primitive support for text and prototypical support for EMF metamodels. A detailed list, including the supported language versions, can be found in the [project readme](https://github.com/jplag/JPlag/blob/main/README.md#supported-languages). | ||
|
||
The language modules differ in their maturity due to their age and different usage frequencies. | ||
The language modules differ in maturity due to their age and differing usage frequencies. | ||
Thus, each frontend has a state label: | ||
- `mature`: This module is tried and tested, as well as up to date with a current language version. | ||
- `beta`: This module is relatively new and up to date. However, it is not as well tested. **Feedback welcome!** | ||
- `alpha`: This module is very new and not yet finished. Use with caution! | ||
- `mature`: This module is tried and tested and is (somewhat) up to date with a current language version. | ||
- `beta`: This module is relatively new and (somewhat) up to date. However, it has not been tested as well. **Feedback welcome!** | ||
- `alpha`: This module is very new and has not yet been finished. Use with caution! | ||
- `legacy`: This module is from JPlag legacy (pre-v3.0.0) and may only support outdated language versions. It needs an update. | ||
- `unknown`: It is very much unclear in which state this module is. | ||
- `unknown`: It is very unclear which state this module is in. | ||
|
||
All language modules can be found [here](https://github.com/jplag/JPlag/tree/master/languages). |
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,27 +1,28 @@ | ||
We're happy to incorporate all improvements to JPlag into this codebase. Feel free to fork the project and send pull requests. | ||
If you are new to JPlag, maybe check the [good first issues](https://github.com/jplag/jplag/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22). | ||
|
||
Please try to make well-documented and clear structured submissions: | ||
Please try to make well-documented and clearly structured submissions: | ||
* All artifacts (code, comments...) should be in English | ||
* Please avoid abbreviations! | ||
* Make use of JavaDoc to document classes and public methods | ||
* We provide a [formatter configuration](https://github.com/jplag/JPlag/blob/master/formatter.xml), which is enforced by spotless | ||
* Eclipse/IntelliJ users can use it directly | ||
* It can always be applied via maven with `mvn spotless:apply` | ||
* Use well-explained pull requests to propose your features | ||
* When re-using code from other projects mark them accordingly and make sure their license allows the re-use | ||
* When re-using code from other projects, mark them accordingly and make sure their license allows the re-use | ||
* Your changes should always improve the code quality of the codebase, especially when working on older components | ||
* Your git messages should be concise but more importantly descriptive | ||
* Your git messages should be concise but, more importantly, descriptive | ||
* Ensure your git history is clean, or else your PR may get squashed while merging | ||
* When creating a PR, make sure to provide a detailed description of you changes and what purpose they serve | ||
|
||
## Building from sources | ||
1. Download or clone the code from this repository. | ||
2. Run `mvn clean package` from the root of the repository to compile and build all submodules. | ||
Run `mvn clean package assembly:single` instead if you need the full jar which includes all dependencies. | ||
Run `mvn clean package assembly:single` instead if you need the full jar, which includes all dependencies. | ||
5. You will find the generated JARs in the subdirectory `jplag.cli/target`. | ||
|
||
### Git hooks | ||
|
||
The repository contains a pre-commit hook, that prevents commits if fail spotless. | ||
The repository contains a pre-commit hook that prevents commits if they fail spotless. | ||
To set up the hooks, call `git config --local core.hooksPath gitHooks/hooks` once within your local repository. | ||
|
Oops, something went wrong.