This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/training.git


The following commit(s) were added to refs/heads/develop by this push:
     new a7e748b  chore: Dropped the install-deps scripts as they no longer 
work and maintaining them is a nightmare.
a7e748b is described below

commit a7e748b0ae3af5e40affe98b0e9574d3f6e4fab3
Author: Christofer Dutz <[email protected]>
AuthorDate: Fri Sep 5 17:27:43 2025 +0200

    chore: Dropped the install-deps scripts as they no longer work and 
maintaining them is a nightmare.
---
 .../META-INF/maven/archetype-metadata.xml          |  2 -
 .../archetype-resources/install-deps-centos.sh     | 61 ----------------------
 .../archetype-resources/install-deps-mac.sh        | 52 ------------------
 3 files changed, 115 deletions(-)

diff --git 
a/tools/content-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
 
b/tools/content-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
index 3275c11..03c21b9 100644
--- 
a/tools/content-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
+++ 
b/tools/content-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
@@ -61,8 +61,6 @@
     <fileSet encoding="UTF-8">
       <directory></directory>
       <includes>
-        <include>install-deps-centos.sh</include>
-        <include>install-deps-mac.sh</include>
         <include>docker-compose.yaml</include>
         <include>Dockerfile</include>
         <include>mvnw</include>
diff --git 
a/tools/content-archetype/src/main/resources/archetype-resources/install-deps-centos.sh
 
b/tools/content-archetype/src/main/resources/archetype-resources/install-deps-centos.sh
deleted file mode 100644
index b83d36d..0000000
--- 
a/tools/content-archetype/src/main/resources/archetype-resources/install-deps-centos.sh
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/usr/bin/env bash
-# ----------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#    https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-# ----------------------------------------------------------------------------
-
-
-############# install necessary packages
-yum install -y git graphviz maven nodejs wget bzip2 python36 python36-pip 
pygobject3 cargo
-
-#############
-python3 -m pip install --upgrade pip setuptools seqdiag blockdiag actdiag 
nwdiag convert syntrax racks opc-diag
-npm install vega pango
-
-############# install stack
-wget -qO- https://get.haskellstack.org/ | sh
-
-############# install PhantomJS
-wget 
https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
-bunzip2 phantomjs-2.1.1-linux-x86_64.tar.bz2
-tar -xvf phantomjs-2.1.1-linux-x86_64.tar
-
-############# install ERD
-cd libs
-mkdir third-party
-cd third-party
-git clone https://github.com/BurntSushi/erd.git
-cd erd
-stack install
-read -p "Add stack ($HOME/.local/bin) to PATH ($PATH) ? (y/n)" -n 1 -r YES_NO
-if [ $YES_NO  = "y" ]; then
-   echo 'export PATH=$PATH:$HOME/.local/bin' >> ~/.bash_profile
-   . ~/.bash_profile
-fi
-
-############# install SVGBob
-cargo install svgbob_cli
-read -p "Add cargo ($HOME/.cargo/bin) to PATH ($PATH) ? (y/n)" -n 1 -r YES_NO
-if [ $YES_NO  = "y" ]; then
-   echo 'export PATH=$PATH:$HOME/.cargo/bin' >> ~/.bash_profile
-   . ~/.bash_profile
-fi
-
-############# 
-cd ../../..
-mvn jetty:run-exploded
-
diff --git 
a/tools/content-archetype/src/main/resources/archetype-resources/install-deps-mac.sh
 
b/tools/content-archetype/src/main/resources/archetype-resources/install-deps-mac.sh
deleted file mode 100644
index 25d677a..0000000
--- 
a/tools/content-archetype/src/main/resources/archetype-resources/install-deps-mac.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env bash
-# ----------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#    https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-# ----------------------------------------------------------------------------
-
-cd libs
-mkdir third-party
-cd third-party
-
-# Install ERD
-git clone git://github.com/BurntSushi/erd
-cd erd
-stack init
-stack build --system-ghc
-cd ..
-
-# Install Mermaid
-npm install mermaid.cli
-
-# Install PhantomJS
-wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-macosx.zip
-unzip phantomjs-2.1.1-macosx.zip
-
-# SVGBob
-cargo install svgbob_cli --path ./svgbob
-
-# Syntrax
-pip install --upgrade syntrax
-pip install pycairo
-brew install pygobject3
-
-# Vega
-npm install vega
-
-# ImageMagic
-#wget 
https://imagemagick.org/download/binaries/ImageMagick-x86_64-apple-darwin17.7.0.tar.gz
-#tar xvzf ImageMagick-x86_64-apple-darwin17.7.0.tar.gz

Reply via email to