hboutemy commented on issue #660: URL: https://github.com/apache/maven-site/issues/660#issuecomment-2664787859
for sparse checkout, ignoring big content like javadoc and jxr, I did a small `svn-sparse-co.sh` script: ``` #!/bin/bash function coDir() { local url=$1 echo "$url" svn co --depth immediates $url cd `basename $url` for d in `find * -depth -maxdepth 0 -type d` do case $d in xref | xref-test | apidocs | testapidocs | css | img | images | fonts | js) echo "ignore $d in `pwd`" ;; *) coDir $url/$d ;; esac done cd .. } coDir $1 find `basename $1` -type f -name '*.html' -exec grep google-analytics {} \; | wc -l ``` then in the directory, I search replace with VS Code and svn commit the result like what I just did: ``` ./svn-sparse-co.sh https://svn.apache.org/repos/asf/maven/website/components/wagon (VS Code: pick one .html, select the GA snippet, replace with snippet taken from view-source:https://maven.apache.org/ ) svn ci -m "replace Google Analytics with Matomo" wagon ``` -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org