diff --git a/.gitignore b/.gitignore index 3cbf086..0e2acbc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -CharlesDevServer/* +CharlesDevServer/Docker/* +CharlesDevServer/NonDocker/* diff --git a/CharlesDevServer/CloneUpstreamVendor.sh b/CharlesDevServer/CloneUpstreamVendor.sh new file mode 100755 index 0000000..91ddc50 --- /dev/null +++ b/CharlesDevServer/CloneUpstreamVendor.sh @@ -0,0 +1,116 @@ +#!/bin/bash + +export PS4='(${BASH_SOURCE}:${LINENO}): - [${SHLVL},${BASH_SUBSHELL},$?] $ ' + +function error_out() +{ + echo "Bailing out. See above for reason...." + exit 1 +} + +function handle_failure() { + local lineno=$1 + local fn=$2 + local exitstatus=$3 + local msg=$4 + local lineno_fns=${0% 0} + if [[ "$lineno_fns" != "-1" ]] ; then + lineno="${lineno} ${lineno_fns}" + fi + echo "${BASH_SOURCE[0]}: Function: ${fn} Line Number : [${lineno}] Failed with status ${exitstatus}: $msg" +} + +trap 'handle_failure "${BASH_LINENO[*]}" "$LINENO" "${FUNCNAME[*]:-script}" "$?" "$BASH_COMMAND"' ERR + +set -o errexit +set -o nounset +set -o pipefail +set -o functrace + + +export GIT_REPO_LIST +GIT_REPO_LIST=( + +#https://projects.knownelement.com/issues/179 +https://github.com/apache/apisix.git + +#https://projects.knownelement.com/issues/189 +https://github.com/consuldemocracy/consuldemocracy.git + +#https://projects.knownelement.com/issues/195 +https://github.com/fleetdm/fleet.git + +#https://projects.knownelement.com/issues/227 +https://github.com/fonoster/fonoster.git + +#https://projects.knownelement.com/issues/192 +https://github.com/healthchecks/healthchecks.git + +#https://projects.knownelement.com/issues/209 +https://github.com/juspay/hyperswitch + +#https://projects.knownelement.com/issues/201 +https://github.com/netbox-community/netbox-docker.git + +# https://projects.knownelement.com/issues/205 +https://github.com/openboxes/openboxes-docker.git + +#https://projects.knownelement.com/issues/316 +https://github.com/openfiletax/openfile.git + +#https://projects.knownelement.com/issues/211 +https://github.com/GemGeorge/SniperPhish-Docker.git + +#https://projects.knownelement.com/issues/309 +https://github.com/datahub-project/datahub.git + +#https://projects.knownelement.com/issues/54 +https://github.com/wiredlush/easy-gate.git + +#https://projects.knownelement.com/issues/208 +https://github.com/Payroll-Engine/PayrollEngine.git + +#https://projects.knownelement.com/issues/194 +https://github.com/huginn/huginn.git + +#https://projects.knownelement.com/issues/191 +https://github.com/gristlabs/grist-core + +#https://projects.knownelement.com/issues/277 +https://github.com/jhpyle/docassemble.git + +#https://projects.knownelement.com/issues/273 +https://github.com/kazhuravlev/database-gateway.git + +#https://projects.knownelement.com/issues/217 +https://github.com/rundeck/rundeck.git + +#https://projects.knownelement.com/issues/222 +https://github.com/SchedMD/slurm.git +https://github.com/giovtorres/slurm-docker-cluster.git + +#https://projects.knownelement.com/issues/225 +https://github.com/rathole-org/rathole.git + +#https://projects.knownelement.com/issues/234 +https://github.com/jenkinsci/jenkins.git + +#https://projects.knownelement.com/issues/322 +https://github.com/runmedev/runme.git + +#https://projects.knownelement.com/issues/301 +https://github.com/apache/seatunnel + +#https://projects.knownelement.com/issues/271 +https://github.com/thecatlady/docker-webhook + + +) + +cd Docker + +IFS=$'\n\t' + +for GIT_REPO in ${GIT_REPO_LIST[@]};do + git clone --depth 1 $GIT_REPO || true +done \ No newline at end of file diff --git a/CharlesDevServer/UpstreamUpdate.sh b/CharlesDevServer/UpstreamUpdate.sh new file mode 100755 index 0000000..44fb5b0 --- /dev/null +++ b/CharlesDevServer/UpstreamUpdate.sh @@ -0,0 +1,41 @@ +#!/bin/bash + +export PS4='(${BASH_SOURCE}:${LINENO}): - [${SHLVL},${BASH_SUBSHELL},$?] $ ' + +function error_out() +{ + echo "Bailing out. See above for reason...." + exit 1 +} + +function handle_failure() { + local lineno=$1 + local fn=$2 + local exitstatus=$3 + local msg=$4 + local lineno_fns=${0% 0} + if [[ "$lineno_fns" != "-1" ]] ; then + lineno="${lineno} ${lineno_fns}" + fi + echo "${BASH_SOURCE[0]}: Function: ${fn} Line Number : [${lineno}] Failed with status ${exitstatus}: $msg" +} + +trap 'handle_failure "${BASH_LINENO[*]}" "$LINENO" "${FUNCNAME[*]:-script}" "$?" "$BASH_COMMAND"' ERR + +set -o errexit +set -o nounset +set -o pipefail +set -o functrace + + +cd Docker + +GIT_REPO_LIST="$(ls -d */)" + +IFS=$'\n\t' + +for GIT_REPO in ${GIT_REPO_LIST[@]};do + cd $GIT_REPO + git pull + cd - +done \ No newline at end of file diff --git a/Cloudron/grocy.knownelement.com/grocy-info.md b/Cloudron/grocy.knownelement.com/grocy-info.md deleted file mode 100644 index f6787f1..0000000 --- a/Cloudron/grocy.knownelement.com/grocy-info.md +++ /dev/null @@ -1,3 +0,0 @@ -# Grocy - -- https://projects.knownelement.com/issues/193 \ No newline at end of file