Move docker container to seperate repo
This commit is contained in:
parent
963c444952
commit
6271d3455f
3 changed files with 0 additions and 245 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,12 +0,0 @@
|
|||
FROM alpine:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ADD tubs_checks.xml .
|
||||
ADD requirements.txt .
|
||||
|
||||
ENV JPLAG_VERSION=2.11.9-SNAPSHOT
|
||||
|
||||
RUN apk add --no-cache openjdk8 python3 curl git openssh-client
|
||||
RUN curl -sL https://github.com/jplag/jplag/releases/download/v${JPLAG_VERSION}/jplag-${JPLAG_VERSION}-jar-with-dependencies.jar -o jplag.jar
|
||||
RUN pip3 install -r requirements.txt
|
|
@ -1,28 +0,0 @@
|
|||
certifi==2018.1.18
|
||||
chardet==3.0.4
|
||||
click==6.7
|
||||
docopt==0.6.2
|
||||
flake8==3.5.0
|
||||
Flask==0.12.2
|
||||
grip==4.5.2
|
||||
idna==2.6
|
||||
itsdangerous==0.24
|
||||
jedi==0.11.1
|
||||
Jinja2==2.10
|
||||
json-rpc==1.10.8
|
||||
Markdown==2.6.11
|
||||
MarkupSafe==1.0
|
||||
mccabe==0.6.1
|
||||
parso==0.1.1
|
||||
path-and-address==2.0.1
|
||||
pycodestyle==2.3.1
|
||||
pyflakes==1.6.0
|
||||
Pygments==2.2.0
|
||||
python-gitlab==1.3.0
|
||||
PyYAML==3.12
|
||||
requests==2.18.4
|
||||
service-factory==0.1.5
|
||||
six==1.11.0
|
||||
urllib3==1.22
|
||||
Werkzeug==0.14.1
|
||||
yq==2.3.4
|
205
tubs_checks.xml
205
tubs_checks.xml
|
@ -1,205 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE module PUBLIC
|
||||
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
|
||||
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
|
||||
|
||||
<!--
|
||||
Checkstyle configuration that checks the sun coding conventions from:
|
||||
|
||||
- the Java Language Specification at
|
||||
http://java.sun.com/docs/books/jls/second_edition/html/index.html
|
||||
|
||||
- the Sun Code Conventions at http://java.sun.com/docs/codeconv/
|
||||
|
||||
- the Javadoc guidelines at
|
||||
http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
|
||||
|
||||
- the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
|
||||
- some best practices
|
||||
Checkstyle is very configurable. Be sure to read the documentation at
|
||||
http://checkstyle.sf.net (or in your downloaded distribution).
|
||||
Most Checks are configurable, be sure to consult the documentation.
|
||||
To completely disable a check, just comment it out or delete it from the file.
|
||||
Finally, it is worth reading the documentation.
|
||||
-->
|
||||
|
||||
<module name="Checker">
|
||||
<!-- Checks that a package.html file exists for each package. -->
|
||||
<!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
|
||||
<!-- <module name="PackageHtml"/> -->
|
||||
<!-- Checks whether files end with a new line. -->
|
||||
<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
|
||||
|
||||
<!--module name="NewlineAtEndOfFile">
|
||||
<property name="fileExtensions" value="java"/>
|
||||
</module-->
|
||||
|
||||
<!-- Checks that property files contain the same keys. -->
|
||||
<!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
|
||||
<!--module name="Translation"/-->
|
||||
|
||||
<module name="FileLength"/>
|
||||
<!-- keine tabs erlauben -->
|
||||
<!--module name="FileTabCharacter">
|
||||
<property name="eachLine" value="true"/>
|
||||
</module-->
|
||||
|
||||
<!-- <module name="JavadocPackage"/> -->
|
||||
|
||||
<module name="TreeWalker">
|
||||
<property name="tabWidth" value="4"/>
|
||||
|
||||
<!-- Strings werden nicht mit == oder != verglichen -->
|
||||
<module name="StringLiteralEquality"/>
|
||||
|
||||
|
||||
|
||||
<!-- Checks for Javadoc comments. -->
|
||||
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
|
||||
|
||||
<module name="JavadocStyle">
|
||||
<property name="scope" value="private"/>
|
||||
<property name="excludeScope" value="package"/>
|
||||
<property name="checkFirstSentence" value="false"/>
|
||||
<property name="checkEmptyJavadoc" value="true"/>
|
||||
</module>
|
||||
|
||||
<module name="JavadocMethod">
|
||||
<property name="allowMissingPropertyJavadoc" value="true"/>
|
||||
<property name="scope" value="package"/>
|
||||
<property name="ignoreMethodNamesRegex" value="^main$"/>
|
||||
</module>
|
||||
|
||||
<module name="JavadocType">
|
||||
<property name="authorFormat" value="^.+ [0-9]{7}\s+(Gruppe|[gG]roup)\s+[1-9][0-9]?[a-zA-Z]?" />
|
||||
</module>
|
||||
|
||||
<module name="JavadocVariable">
|
||||
<property name="scope" value="public"/>
|
||||
<property name="tokens" value="VARIABLE_DEF"/>
|
||||
</module>
|
||||
|
||||
<!-- Checks for Naming Conventions. -->
|
||||
<!-- See http://checkstyle.sf.net/config_naming.html -->
|
||||
<module name="ConstantName"/>
|
||||
<!-- <module name="LocalFinalVariableName"/> -->
|
||||
<module name="LocalVariableName"/>
|
||||
<module name="MemberName"/>
|
||||
<module name="MethodName"/>
|
||||
<module name="ParameterName"/>
|
||||
<module name="StaticVariableName"/>
|
||||
<module name="TypeName"/>
|
||||
|
||||
<!-- Checks for Headers -->
|
||||
<!-- See http://checkstyle.sf.net/config_header.html -->
|
||||
<!-- <module name="Header"> -->
|
||||
<!-- The follow property value demonstrates the ability -->
|
||||
<!-- to have access to ANT properties. In this case it uses -->
|
||||
<!-- the ${basedir} property to allow Checkstyle to be run -->
|
||||
<!-- from any directory within a project. See property -->
|
||||
<!-- expansion, -->
|
||||
<!-- http://checkstyle.sf.net/config.html#properties -->
|
||||
<!-- <property -->
|
||||
<!-- name="headerFile" -->
|
||||
<!-- value="${basedir}/java.header"/> -->
|
||||
<!-- </module> -->
|
||||
|
||||
<!-- Checks for imports -->
|
||||
<!-- See http://checkstyle.sf.net/config_import.html -->
|
||||
<!-- <module name="AvoidStarImport"/> -->
|
||||
<module name="IllegalImport"/> <!-- defaults to sun.* packages -->
|
||||
<module name="RedundantImport"/>
|
||||
<module name="UnusedImports"/>
|
||||
|
||||
<!-- Checks for Size Violations. -->
|
||||
<!-- See http://checkstyle.sf.net/config_sizes.html -->
|
||||
|
||||
<!-- module name="MethodLength"/ -->
|
||||
|
||||
<!-- Checks for whitespace -->
|
||||
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
|
||||
<!-- module name="EmptyForInitializerPad">
|
||||
<property name="option" value="space"/>
|
||||
</module -->
|
||||
|
||||
<!-- module name="EmptyForIteratorPad">
|
||||
<property name="option" value="space"/>
|
||||
</module -->
|
||||
|
||||
<module name="MethodParamPad"/>
|
||||
<module name="NoWhitespaceAfter"/>
|
||||
<module name="NoWhitespaceBefore"/>
|
||||
<module name="OperatorWrap"/>
|
||||
<module name="TypecastParenPad"/>
|
||||
|
||||
<module name="WhitespaceAfter"/>
|
||||
<module name="WhitespaceAround"/>
|
||||
|
||||
<!-- Modifier Checks -->
|
||||
<!-- See http://checkstyle.sf.net/config_modifiers.html -->
|
||||
<!-- module name="ModifierOrder"/ -->
|
||||
|
||||
<!-- Checks for blocks. You know, those {}'s -->
|
||||
<!-- See http://checkstyle.sf.net/config_blocks.html -->
|
||||
<!-- module name="AvoidNestedBlocks"/ -->
|
||||
<module name="EmptyBlock"/>
|
||||
<module name="LeftCurly"/>
|
||||
<module name="NeedBraces"/>
|
||||
<module name="RightCurly"/>
|
||||
|
||||
<!-- Checks for common coding problems -->
|
||||
<!-- See http://checkstyle.sf.net/config_coding.html -->
|
||||
<!-- <module name="AvoidInlineConditionals"/> -->
|
||||
<module name="EmptyStatement"/>
|
||||
<!-- <module name="EqualsHashCode"/> -->
|
||||
<module name="IllegalInstantiation"/>
|
||||
<module name="InnerAssignment"/>
|
||||
<!-- module name="MissingSwitchDefault"/-->
|
||||
<!-- module name="FallThrough"/-->
|
||||
<module name="DefaultComesLast"/>
|
||||
|
||||
<module name="OneStatementPerLine"/>
|
||||
<!-- <module name="StringLiteralEquality"/> -->
|
||||
|
||||
<!-- Checks for class design -->
|
||||
<!-- See http://checkstyle.sf.net/config_design.html -->
|
||||
<!-- <module name="DesignForExtension"/> -->
|
||||
<module name="FinalClass"/>
|
||||
<!-- <module name="FinalLocalVariable"/> -->
|
||||
<!-- <module name="HideUtilityClassConstructor"/> -->
|
||||
|
||||
<module name="LineLength">
|
||||
<property name="max" value="150"/>
|
||||
</module>
|
||||
|
||||
<module name="VisibilityModifier"/>
|
||||
<!-- module name="DeclarationOrder"/ -->
|
||||
<!-- <module name="RequireThis"/> -->
|
||||
|
||||
<!-- module name="RequireThis">
|
||||
<property name="checkFields" value="false"/>
|
||||
<property name="checkMethods" value="false"/>
|
||||
</module -->
|
||||
|
||||
<!-- Miscellaneous other checks. -->
|
||||
<!-- See http://checkstyle.sf.net/config_misc.html -->
|
||||
<module name="ArrayTypeStyle"/>
|
||||
<module name="GenericWhitespace"/>
|
||||
|
||||
<module name="TodoComment"/>
|
||||
<module name="UpperEll"/>
|
||||
|
||||
<module name="Indentation"> <!-- einrueckung von 4 leerzeichen -->
|
||||
<property name="basicOffset" value="4"/>
|
||||
<property name="caseIndent" value="4"/>
|
||||
</module>
|
||||
|
||||
<!-- <module name="CyclomaticComplexity"> -->
|
||||
<!-- <property name="max" value="7"/> -->
|
||||
<!-- </module> -->
|
||||
|
||||
<module name="IllegalCatch"/>
|
||||
<module name="IllegalThrows"/>
|
||||
|
||||
</module>
|
||||
</module>
|
Loading…
Add table
Add a link
Reference in a new issue