You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/03/23 09:46:40 UTC

[GitHub] [cassandra-builds] michaelsembwever commented on a change in pull request #60: Add subcomponents to contribulyze

michaelsembwever commented on a change in pull request #60:
URL: https://github.com/apache/cassandra-builds/pull/60#discussion_r833056188



##########
File path: contribulyze/contribulyze.sh
##########
@@ -2,27 +2,72 @@
 #
 # Generate contribulyse.py reports, for all git repositories, on a number of different time periods.
 #
-# Example run in docker
+# Example run in docker (from the cassandra-builds/contribulyze directory)
+#
 # docker run -t -v`pwd`/build/html:/tmp/contribulyze-html -v`pwd`:/contribulyze apache/cassandra-testing-ubuntu2004-java11-w-dependencies bash -lc 'pip3 install --quiet python-dateutil ; cd /contribulyze ; bash contribulyze.sh '
 #
 
 script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
 mkdir -p /tmp/contribulyze-repos
 mkdir -p /tmp/contribulyze-html
 cd /tmp/contribulyze-repos
-for repo in "https://github.com/apache/cassandra.git" "https://github.com/apache/cassandra-dtest.git" "https://github.com/apache/cassandra-builds.git" "https://github.com/apache/cassandra-website.git" ; do
+
+repos=("https://github.com/apache/cassandra.git" "https://github.com/apache/cassandra-dtest.git" "https://github.com/apache/cassandra-builds.git" "https://github.com/apache/cassandra-in-jvm-dtest-api.git" "https://github.com/apache/cassandra-harry.git" "https://github.com/apache/cassandra-website.git" "https://github.com/datastax/java-driver.git" "https://github.com/datastax/python-driver.git")
+
+groups=('..' 'website_and_docs' 'build_and_tools' 'packaging_and_release' 'test_and_ci' 'cassandra_src' 'java-driver' 'python-driver')

Review comment:
       done.

##########
File path: contribulyze/contribulyze.sh
##########
@@ -2,27 +2,72 @@
 #
 # Generate contribulyse.py reports, for all git repositories, on a number of different time periods.
 #
-# Example run in docker
+# Example run in docker (from the cassandra-builds/contribulyze directory)
+#
 # docker run -t -v`pwd`/build/html:/tmp/contribulyze-html -v`pwd`:/contribulyze apache/cassandra-testing-ubuntu2004-java11-w-dependencies bash -lc 'pip3 install --quiet python-dateutil ; cd /contribulyze ; bash contribulyze.sh '
 #
 
 script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
 mkdir -p /tmp/contribulyze-repos
 mkdir -p /tmp/contribulyze-html
 cd /tmp/contribulyze-repos
-for repo in "https://github.com/apache/cassandra.git" "https://github.com/apache/cassandra-dtest.git" "https://github.com/apache/cassandra-builds.git" "https://github.com/apache/cassandra-website.git" ; do
+
+repos=("https://github.com/apache/cassandra.git" "https://github.com/apache/cassandra-dtest.git" "https://github.com/apache/cassandra-builds.git" "https://github.com/apache/cassandra-in-jvm-dtest-api.git" "https://github.com/apache/cassandra-harry.git" "https://github.com/apache/cassandra-website.git" "https://github.com/datastax/java-driver.git" "https://github.com/datastax/python-driver.git")
+
+groups=('..' 'website_and_docs' 'build_and_tools' 'packaging_and_release' 'test_and_ci' 'cassandra_src' 'java-driver' 'python-driver')
+
+for repo in ${repos[*]} ; do
     git clone --quiet $repo
 done
 
-for period in "all_time" "last_3_years" "last_6_months" "last_1_month" ; do
-    mkdir -p /tmp/contribulyze-html/$period
-    cd /tmp/contribulyze-html/$period
+for group in ${groups[*]} ; do
+  for period in "all_time" "last_3_years" "last_6_months" "last_1_month" ; do
+    mkdir -p /tmp/contribulyze-html/subcomponents/${group}/$period

Review comment:
       done.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org