Skip to content

Issue #529: Final removal of 'launch.groovy'#556

Merged
romani merged 2 commits into
checkstyle:masterfrom
nrmancuso:issue-529-b
May 1, 2021
Merged

Issue #529: Final removal of 'launch.groovy'#556
romani merged 2 commits into
checkstyle:masterfrom
nrmancuso:issue-529-b

Conversation

@nrmancuso

@nrmancuso nrmancuso commented Apr 26, 2021

Copy link
Copy Markdown
Contributor

closes #529

Found:

patch-diff-report-tool/README.md:6) execute `groovy launch.groovy --listOfProjects projects-to-test-on.properties
.travis.yml:        - DESC="checkstyle-tester (launch.groovy) on linux"
.travis.yml:        - CMD="./.ci/travis.sh checkstyle-tester-launch-groovy"
.ci/travis.sh:checkstyle-tester-launch-groovy)
.ci/travis.sh:  ./codenarc.sh . launch.groovy > launch.log && cat launch.log && grep '(p1=0; p2=11; p3=1)' launch.log

I will take care of this in a separate commit. Marking this draft until then.

@nrmancuso nrmancuso marked this pull request as draft April 26, 2021 14:06
@nrmancuso nrmancuso force-pushed the issue-529-b branch 3 times, most recently from 438b283 to a53d8a2 Compare April 26, 2021 15:34
Comment thread .ci/travis.sh
Comment on lines -34 to -43
checkstyle-tester-launch-groovy)
checkout_from https://github.com/checkstyle/checkstyle
cd .ci-temp/checkstyle
LOCAL_GIT_REPO=$(pwd)
mvn --batch-mode clean install -Passembly
cd ../../checkstyle-tester
groovy diff.groovy -r "$LOCAL_GIT_REPO" -l projects-for-travis.properties --patchConfig my_check.xml \
--patchBranch master --mode single --allowExcludes
;;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a duplicate of checkstyle-tester-diff-groovy-patch now that launch is removed, so we can remove this job.

Comment thread appveyor.yml
Comment on lines -71 to -78
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
DESC: "checkstyle-tester (launch.groovy) on guava"
CMD1: " git clone -q --depth=10 --branch=master "
CMD2: " https://github.com/checkstyle/checkstyle C:\\projects\\contribution\\checkstyle "
CMD3: " && cd checkstyle && mvn clean install -Passembly"
CMD4: " "
CMD5: " && cd ..\\checkstyle-tester "
CMD7: " && groovy launch.groovy -l projects-for-travis.properties -c checks-nonjavadoc-error.xml -i\""

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is duplicated by the checkstyle-tester (diff.groovy) on guava job below.

@nrmancuso nrmancuso marked this pull request as ready for review April 26, 2021 15:51
6) execute `groovy diff.groovy --localGitRepo /home/johndoe/projects/checkstyle --baseBranch i111-my-fix
--patchBranch i111-my-fix-mutation --config config.xml --listOfProjects projects-to-test-on.properties`
7) copy `checkstyle-result.xml` from `checkstyle-tester/reports/project-name/`
to some other location.

@rnveach rnveach Apr 30, 2021

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this readme is completely outdated or out of whack. There is no reason for this utility to be an after thought to running diff.groovy as diff.groovy calls it. We should update this in a new issue. I think it should be more standalone since it is it's own utility. We should just specify how to incorporate it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@romani romani merged commit 685f33b into checkstyle:master May 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate launch.groovy and merge functionality into diff.groovy

4 participants