From 0529374bcea57ba2f76d72f792f6f5106c779abc Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 13:50:21 -0400 Subject: [PATCH 01/16] Fix XML formatting configuration. --- pom.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 91668eb9b..6e024496a 100644 --- a/pom.xml +++ b/pom.xml @@ -151,8 +151,11 @@ - *.xml + **/*.xml + + **/plugin.xml + XML From 6539ab7ca5d1db34cb86c10ae66f52d3ccd16aff Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:10:40 -0400 Subject: [PATCH 02/16] Format XML. --- .../data/functools.xml | 42 +- .../data/numpy_turtle.xml | 14 +- .../data/pandas.xml | 41 +- .../data/turtles.xml | 162 ++--- .../data/functools.xml | 42 +- .../data/numpy_turtle.xml | 14 +- .../data/pandas.xml | 41 +- .../data/turtles.xml | 162 ++--- ....eclipse.wst.common.project.facet.core.xml | 14 +- com.ibm.wala.cast.python.ml.j2ee/pom.xml | 97 +-- .../data/tensorflow.xml | 635 ++++++------------ com.ibm.wala.cast.python/data/flask.xml | 131 ++-- com.ibm.wala.cast.python/data/functools.xml | 42 +- .../data/numpy_turtle.xml | 14 +- com.ibm.wala.cast.python/data/pandas.xml | 41 +- com.ibm.wala.cast.python/data/pytest.xml | 69 +- com.ibm.wala.cast.python/data/turtles.xml | 162 ++--- 17 files changed, 573 insertions(+), 1150 deletions(-) diff --git a/com.ibm.wala.cast.python.jython/data/functools.xml b/com.ibm.wala.cast.python.jython/data/functools.xml index ed90242a2..eae5f6531 100644 --- a/com.ibm.wala.cast.python.jython/data/functools.xml +++ b/com.ibm.wala.cast.python.jython/data/functools.xml @@ -4,43 +4,29 @@ - - + + - - + + - + - - - - - - - - + + + + + + + + - + diff --git a/com.ibm.wala.cast.python.jython/data/numpy_turtle.xml b/com.ibm.wala.cast.python.jython/data/numpy_turtle.xml index 1f9a0f362..ed899a041 100644 --- a/com.ibm.wala.cast.python.jython/data/numpy_turtle.xml +++ b/com.ibm.wala.cast.python.jython/data/numpy_turtle.xml @@ -4,16 +4,10 @@ - - - - + + + + diff --git a/com.ibm.wala.cast.python.jython/data/pandas.xml b/com.ibm.wala.cast.python.jython/data/pandas.xml index beb3c7ff5..cd2bdc0b1 100644 --- a/com.ibm.wala.cast.python.jython/data/pandas.xml +++ b/com.ibm.wala.cast.python.jython/data/pandas.xml @@ -4,44 +4,33 @@ - - + + - - + + - - + + - + - - - - + + + + - - - - + + + + diff --git a/com.ibm.wala.cast.python.jython/data/turtles.xml b/com.ibm.wala.cast.python.jython/data/turtles.xml index c28e6ea7b..05ef2dada 100644 --- a/com.ibm.wala.cast.python.jython/data/turtles.xml +++ b/com.ibm.wala.cast.python.jython/data/turtles.xml @@ -4,146 +4,80 @@ - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + diff --git a/com.ibm.wala.cast.python.jython3/data/functools.xml b/com.ibm.wala.cast.python.jython3/data/functools.xml index ed90242a2..eae5f6531 100644 --- a/com.ibm.wala.cast.python.jython3/data/functools.xml +++ b/com.ibm.wala.cast.python.jython3/data/functools.xml @@ -4,43 +4,29 @@ - - + + - - + + - + - - - - - - - - + + + + + + + + - + diff --git a/com.ibm.wala.cast.python.jython3/data/numpy_turtle.xml b/com.ibm.wala.cast.python.jython3/data/numpy_turtle.xml index 1f9a0f362..ed899a041 100644 --- a/com.ibm.wala.cast.python.jython3/data/numpy_turtle.xml +++ b/com.ibm.wala.cast.python.jython3/data/numpy_turtle.xml @@ -4,16 +4,10 @@ - - - - + + + + diff --git a/com.ibm.wala.cast.python.jython3/data/pandas.xml b/com.ibm.wala.cast.python.jython3/data/pandas.xml index beb3c7ff5..cd2bdc0b1 100644 --- a/com.ibm.wala.cast.python.jython3/data/pandas.xml +++ b/com.ibm.wala.cast.python.jython3/data/pandas.xml @@ -4,44 +4,33 @@ - - + + - - + + - - + + - + - - - - + + + + - - - - + + + + diff --git a/com.ibm.wala.cast.python.jython3/data/turtles.xml b/com.ibm.wala.cast.python.jython3/data/turtles.xml index c28e6ea7b..05ef2dada 100644 --- a/com.ibm.wala.cast.python.jython3/data/turtles.xml +++ b/com.ibm.wala.cast.python.jython3/data/turtles.xml @@ -4,146 +4,80 @@ - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + diff --git a/com.ibm.wala.cast.python.ml.j2ee/.settings/org.eclipse.wst.common.project.facet.core.xml b/com.ibm.wala.cast.python.ml.j2ee/.settings/org.eclipse.wst.common.project.facet.core.xml index 83f612f06..1ff73fa80 100644 --- a/com.ibm.wala.cast.python.ml.j2ee/.settings/org.eclipse.wst.common.project.facet.core.xml +++ b/com.ibm.wala.cast.python.ml.j2ee/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -1,10 +1,10 @@ - - - - - - - + + + + + + + diff --git a/com.ibm.wala.cast.python.ml.j2ee/pom.xml b/com.ibm.wala.cast.python.ml.j2ee/pom.xml index d37786d14..49cbd7afa 100644 --- a/com.ibm.wala.cast.python.ml.j2ee/pom.xml +++ b/com.ibm.wala.cast.python.ml.j2ee/pom.xml @@ -1,50 +1,51 @@ - - 4.0.0 - com.ibm.wala - com.ibm.wala.cast.python.ml.j2ee - 0.0.1-SNAPSHOT - - source - - - maven-compiler-plugin - 3.7.0 - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-war-plugin - 3.2.2 - - WebContent - - - true - - - - - - build-war - install - - war - - - - - - - - - javax.websocket - javax.websocket-api - 1.1 - provided - + + + 4.0.0 + com.ibm.wala + com.ibm.wala.cast.python.ml.j2ee + 0.0.1-SNAPSHOT + + source + + + maven-compiler-plugin + 3.7.0 + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-war-plugin + 3.2.2 + + WebContent + + + true + + + + + + build-war + install + + war + + + + + + + + + javax.websocket + javax.websocket-api + 1.1 + provided + commons-io commons-io @@ -97,4 +98,4 @@ - + diff --git a/com.ibm.wala.cast.python.ml/data/tensorflow.xml b/com.ibm.wala.cast.python.ml/data/tensorflow.xml index ed1d4eb29..ccdebe552 100644 --- a/com.ibm.wala.cast.python.ml/data/tensorflow.xml +++ b/com.ibm.wala.cast.python.ml/data/tensorflow.xml @@ -4,472 +4,255 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - - - - - - - - + + + + + + + + - - - - - - + + + + + + - + - - - + + + - + - - - - - - + + + + + + - + - - - + + + - - - + + + - - - - + + + + - - - + + + - - - - + + + + - + - - - + + + - + - - - + + + - - - - - - - - - - + + + + + + + + + + - + - - - + + + - - - + + + - - + + - - - - - - + + + + + + - - - - - - + + + + + + - - - + + + - - - - - + + + + + - - - - + + + + - + - - - - - + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -480,30 +263,16 @@ - - - - - + + + + + - - - - + + + + diff --git a/com.ibm.wala.cast.python/data/flask.xml b/com.ibm.wala.cast.python/data/flask.xml index c556fe526..39f3b1015 100644 --- a/com.ibm.wala.cast.python/data/flask.xml +++ b/com.ibm.wala.cast.python/data/flask.xml @@ -4,98 +4,69 @@ - - + + - - + + - - + + - - + + - + - - - - - - - - - + + + + + + + + + - + - - - + + + + + + + + + + + - - + + + + + + + + + + + + + + - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - diff --git a/com.ibm.wala.cast.python/data/functools.xml b/com.ibm.wala.cast.python/data/functools.xml index ed90242a2..eae5f6531 100644 --- a/com.ibm.wala.cast.python/data/functools.xml +++ b/com.ibm.wala.cast.python/data/functools.xml @@ -4,43 +4,29 @@ - - + + - - + + - + - - - - - - - - + + + + + + + + - + diff --git a/com.ibm.wala.cast.python/data/numpy_turtle.xml b/com.ibm.wala.cast.python/data/numpy_turtle.xml index 1f9a0f362..ed899a041 100644 --- a/com.ibm.wala.cast.python/data/numpy_turtle.xml +++ b/com.ibm.wala.cast.python/data/numpy_turtle.xml @@ -4,16 +4,10 @@ - - - - + + + + diff --git a/com.ibm.wala.cast.python/data/pandas.xml b/com.ibm.wala.cast.python/data/pandas.xml index beb3c7ff5..cd2bdc0b1 100644 --- a/com.ibm.wala.cast.python/data/pandas.xml +++ b/com.ibm.wala.cast.python/data/pandas.xml @@ -4,44 +4,33 @@ - - + + - - + + - - + + - + - - - - + + + + - - - - + + + + diff --git a/com.ibm.wala.cast.python/data/pytest.xml b/com.ibm.wala.cast.python/data/pytest.xml index 431817176..cdf653d53 100644 --- a/com.ibm.wala.cast.python/data/pytest.xml +++ b/com.ibm.wala.cast.python/data/pytest.xml @@ -4,69 +4,42 @@ - - + + - - - - - + + - + + + + -le + le - + - + - - + + - + - - + + - + - + - + - - + + diff --git a/com.ibm.wala.cast.python/data/turtles.xml b/com.ibm.wala.cast.python/data/turtles.xml index c28e6ea7b..05ef2dada 100644 --- a/com.ibm.wala.cast.python/data/turtles.xml +++ b/com.ibm.wala.cast.python/data/turtles.xml @@ -4,146 +4,80 @@ - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - + + + + - - - - - + + + + + - - - - + + + + From e1037d51041e5061486fe877eec67c9283a605b2 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:14:12 -0400 Subject: [PATCH 03/16] Fix directory handling in GitHub Actions config. --- .github/workflows/continuous-integration.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index c95f7cf9e..46db3e94f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -29,15 +29,18 @@ jobs: path: ./jython3 - name: Install Jython3. run: | - cd ./jython3 + pushd ./jython3 ant - cd dist + pushd dist mvn install:install-file -Dfile=./jython-dev.jar -DgroupId="org.python" -DartifactId="jython3" -Dversion="0.0.1-SNAPSHOT" -Dpackaging="jar" -DgeneratePom=true + popd + popd shell: bash - name: Install IDE. run: | - cd ./IDE/com.ibm.wala.cast.lsp + pushd ./IDE/com.ibm.wala.cast.lsp mvn clean install -B -q -DskipTests + popd - name: Check formatting with spotless. run: mvn spotless:check -B - name: Build with Maven From d74b32b41a2be6fe86cf736294476ccf1f460dfb Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:20:19 -0400 Subject: [PATCH 04/16] Ignore pom.xml in XML formatting. We have another formatter for that. --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 6e024496a..558c524e0 100644 --- a/pom.xml +++ b/pom.xml @@ -155,6 +155,7 @@ **/plugin.xml + pom.xml XML From b27e98a511a33b86f62b7128038a43adb6cbd544 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:24:15 -0400 Subject: [PATCH 05/16] Use /tmp in GH Actions build. Similar to Travis CI. --- .github/workflows/continuous-integration.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 46db3e94f..e85c88662 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -21,15 +21,15 @@ jobs: with: repository: wala/IDE # fetch-depth: 50 - path: ./IDE + path: /tmp/IDE - name: Checkout juliandolby/jython3 sources. uses: actions/checkout@v3.5.2 with: repository: juliandolby/jython3 - path: ./jython3 + path: /tmp/jython3 - name: Install Jython3. run: | - pushd ./jython3 + pushd /tmp/jython3 ant pushd dist mvn install:install-file -Dfile=./jython-dev.jar -DgroupId="org.python" -DartifactId="jython3" -Dversion="0.0.1-SNAPSHOT" -Dpackaging="jar" -DgeneratePom=true @@ -38,7 +38,7 @@ jobs: shell: bash - name: Install IDE. run: | - pushd ./IDE/com.ibm.wala.cast.lsp + pushd /tmp/IDE/com.ibm.wala.cast.lsp mvn clean install -B -q -DskipTests popd - name: Check formatting with spotless. From 39ac40e41630fb65c04013bca1bcedeea385ace1 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:29:40 -0400 Subject: [PATCH 06/16] Use ${{ runner.temp }} instead of /tmp. Per https://github.com/actions/toolkit/issues/518#issuecomment-1314791815. --- .github/workflows/continuous-integration.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e85c88662..caf93df60 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -21,15 +21,15 @@ jobs: with: repository: wala/IDE # fetch-depth: 50 - path: /tmp/IDE + path: ${{ runner.temp }}/IDE - name: Checkout juliandolby/jython3 sources. uses: actions/checkout@v3.5.2 with: repository: juliandolby/jython3 - path: /tmp/jython3 + path: ${{ runner.temp }}/jython3 - name: Install Jython3. run: | - pushd /tmp/jython3 + pushd ${{ runner.temp }}/jython3 ant pushd dist mvn install:install-file -Dfile=./jython-dev.jar -DgroupId="org.python" -DartifactId="jython3" -Dversion="0.0.1-SNAPSHOT" -Dpackaging="jar" -DgeneratePom=true @@ -38,7 +38,7 @@ jobs: shell: bash - name: Install IDE. run: | - pushd /tmp/IDE/com.ibm.wala.cast.lsp + pushd ${{ runner.temp }}/IDE/com.ibm.wala.cast.lsp mvn clean install -B -q -DskipTests popd - name: Check formatting with spotless. From 015ac51fb721d5f1b5893d28582717617364646b Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:33:36 -0400 Subject: [PATCH 07/16] Revert "Use ${{ runner.temp }} instead of /tmp." This reverts commit 39ac40e41630fb65c04013bca1bcedeea385ace1. --- .github/workflows/continuous-integration.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index caf93df60..e85c88662 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -21,15 +21,15 @@ jobs: with: repository: wala/IDE # fetch-depth: 50 - path: ${{ runner.temp }}/IDE + path: /tmp/IDE - name: Checkout juliandolby/jython3 sources. uses: actions/checkout@v3.5.2 with: repository: juliandolby/jython3 - path: ${{ runner.temp }}/jython3 + path: /tmp/jython3 - name: Install Jython3. run: | - pushd ${{ runner.temp }}/jython3 + pushd /tmp/jython3 ant pushd dist mvn install:install-file -Dfile=./jython-dev.jar -DgroupId="org.python" -DartifactId="jython3" -Dversion="0.0.1-SNAPSHOT" -Dpackaging="jar" -DgeneratePom=true @@ -38,7 +38,7 @@ jobs: shell: bash - name: Install IDE. run: | - pushd ${{ runner.temp }}/IDE/com.ibm.wala.cast.lsp + pushd /tmp/IDE/com.ibm.wala.cast.lsp mvn clean install -B -q -DskipTests popd - name: Check formatting with spotless. From 99d41bbd9d92c7dfe7eb220fc1fb9082ffaee526 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:33:42 -0400 Subject: [PATCH 08/16] Revert "Use /tmp in GH Actions build." This reverts commit b27e98a511a33b86f62b7128038a43adb6cbd544. --- .github/workflows/continuous-integration.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e85c88662..46db3e94f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -21,15 +21,15 @@ jobs: with: repository: wala/IDE # fetch-depth: 50 - path: /tmp/IDE + path: ./IDE - name: Checkout juliandolby/jython3 sources. uses: actions/checkout@v3.5.2 with: repository: juliandolby/jython3 - path: /tmp/jython3 + path: ./jython3 - name: Install Jython3. run: | - pushd /tmp/jython3 + pushd ./jython3 ant pushd dist mvn install:install-file -Dfile=./jython-dev.jar -DgroupId="org.python" -DartifactId="jython3" -Dversion="0.0.1-SNAPSHOT" -Dpackaging="jar" -DgeneratePom=true @@ -38,7 +38,7 @@ jobs: shell: bash - name: Install IDE. run: | - pushd /tmp/IDE/com.ibm.wala.cast.lsp + pushd ./IDE/com.ibm.wala.cast.lsp mvn clean install -B -q -DskipTests popd - name: Check formatting with spotless. From aa5261b1fc78a8153920d84cf103a9408d22cee1 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:36:04 -0400 Subject: [PATCH 09/16] Don't format jython3 stuff. --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 558c524e0..069790920 100644 --- a/pom.xml +++ b/pom.xml @@ -156,6 +156,7 @@ **/plugin.xml pom.xml + ./jython3/dist/Lib/test/xmltestdata/test.xml XML From c7e9e9661cf7f9e467ac7bf0cbaef49b4a479a9e Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:38:55 -0400 Subject: [PATCH 10/16] Try to exclude the specific file on the CI. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 069790920..7b7e60386 100644 --- a/pom.xml +++ b/pom.xml @@ -156,7 +156,7 @@ **/plugin.xml pom.xml - ./jython3/dist/Lib/test/xmltestdata/test.xml + /home/runner/work/ML/ML/jython3/dist/Lib/test/xmltestdata/test.xml XML From 2b624c0b97a88ae218d7cfa5c8f3c54bc387b65e Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:41:43 -0400 Subject: [PATCH 11/16] Revert "Try to exclude the specific file on the CI." This reverts commit c7e9e9661cf7f9e467ac7bf0cbaef49b4a479a9e. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7b7e60386..069790920 100644 --- a/pom.xml +++ b/pom.xml @@ -156,7 +156,7 @@ **/plugin.xml pom.xml - /home/runner/work/ML/ML/jython3/dist/Lib/test/xmltestdata/test.xml + ./jython3/dist/Lib/test/xmltestdata/test.xml XML From 565c84f0be9dc300f5fb3ce7012a17b22aed47c3 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:42:01 -0400 Subject: [PATCH 12/16] Revert "Don't format jython3 stuff." This reverts commit aa5261b1fc78a8153920d84cf103a9408d22cee1. --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index 069790920..558c524e0 100644 --- a/pom.xml +++ b/pom.xml @@ -156,7 +156,6 @@ **/plugin.xml pom.xml - ./jython3/dist/Lib/test/xmltestdata/test.xml XML From 7988b7a5aad590c762499c558fcee05cfdf1137e Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:46:10 -0400 Subject: [PATCH 13/16] Use git clone directly. Like Travis CI. --- .github/workflows/continuous-integration.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 46db3e94f..0827caa3c 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -17,19 +17,12 @@ jobs: distribution: 'temurin' cache: maven - name: Checkout wala/IDE sources. - uses: actions/checkout@v3.5.2 - with: - repository: wala/IDE - # fetch-depth: 50 - path: ./IDE + run: git clone --depth=50 https://github.com/wala/IDE ${{ runner.temp }}/IDE - name: Checkout juliandolby/jython3 sources. - uses: actions/checkout@v3.5.2 - with: - repository: juliandolby/jython3 - path: ./jython3 + run: git clone https://github.com/juliandolby/jython3.git ${{ runner.temp }}/jython3 - name: Install Jython3. run: | - pushd ./jython3 + pushd ${{ runner.temp }}/jython3 ant pushd dist mvn install:install-file -Dfile=./jython-dev.jar -DgroupId="org.python" -DartifactId="jython3" -Dversion="0.0.1-SNAPSHOT" -Dpackaging="jar" -DgeneratePom=true @@ -38,7 +31,7 @@ jobs: shell: bash - name: Install IDE. run: | - pushd ./IDE/com.ibm.wala.cast.lsp + pushd ${{ runner.temp }}/IDE/com.ibm.wala.cast.lsp mvn clean install -B -q -DskipTests popd - name: Check formatting with spotless. From 7135a161c3ea5ba9e7fe1792d3624d7db9633075 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:53:35 -0400 Subject: [PATCH 14/16] More XML formatting. --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 558c524e0..98513dd05 100644 --- a/pom.xml +++ b/pom.xml @@ -142,8 +142,8 @@ *.md .gitignore - - + + true 4 @@ -180,7 +180,7 @@ *.py - + From 88cab004b8a238cef9be15746dfe7c6632303261 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 22 Jun 2023 14:57:04 -0400 Subject: [PATCH 15/16] Also recurse .gitgnore and markdown files. --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 98513dd05..0b28df8d7 100644 --- a/pom.xml +++ b/pom.xml @@ -139,8 +139,8 @@ - *.md - .gitignore + **/*.md + **/.gitignore From 2be0356786cd4d54e0f1a8add49b619670d8dcba Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Fri, 23 Jun 2023 14:14:50 -0400 Subject: [PATCH 16/16] Try depth 1 for Git cloning. --- .github/workflows/continuous-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 0827caa3c..3f9e44a96 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -17,9 +17,9 @@ jobs: distribution: 'temurin' cache: maven - name: Checkout wala/IDE sources. - run: git clone --depth=50 https://github.com/wala/IDE ${{ runner.temp }}/IDE + run: git clone --depth=1 https://github.com/wala/IDE ${{ runner.temp }}/IDE - name: Checkout juliandolby/jython3 sources. - run: git clone https://github.com/juliandolby/jython3.git ${{ runner.temp }}/jython3 + run: git clone --depth=1 https://github.com/juliandolby/jython3.git ${{ runner.temp }}/jython3 - name: Install Jython3. run: | pushd ${{ runner.temp }}/jython3