Compare commits

...

2 Commits

Author SHA1 Message Date
zenobit a4b0a68cc2 for now hardcoded path 2025-03-27 16:40:01 +01:00
oSoWoSo a8d53f48fb update ISOs list 2025-03-27 12:41:48 +00:00
2 changed files with 16 additions and 11 deletions

View File

@ -33,6 +33,7 @@ max https://ftp.rediris.es/mirror/MaX-Linux/MaXdesktop/ultima-version/
openmamba https://cdn.openmamba.org/pub/openmamba/media/rolling/livedvd/en/openmamba-livedvd-en-snapshot-20250312.x86_64.iso openmamba https://cdn.openmamba.org/pub/openmamba/media/rolling/livedvd/en/openmamba-livedvd-en-snapshot-20250312.x86_64.iso
openmamba https://cdn.openmamba.org/pub/openmamba/media/rolling/livedvd/en/openmamba-livedvd-en-snapshot-20250320.x86_64.iso openmamba https://cdn.openmamba.org/pub/openmamba/media/rolling/livedvd/en/openmamba-livedvd-en-snapshot-20250320.x86_64.iso
peropesis https://peropesis.org/peropesis/Peropesis-2.9-live.iso peropesis https://peropesis.org/peropesis/Peropesis-2.9-live.iso
q4os https://downloads.sourceforge.net/q4os/q4os-5.8-x64.r1.iso
rebornos https://downloads.sourceforge.net/rebornos/rebornos_iso-2025.03.04-x86_64.iso rebornos https://downloads.sourceforge.net/rebornos/rebornos_iso-2025.03.04-x86_64.iso
regata https://downloads.sourceforge.net/regataos/Regata_OS_25_en-US.x86_64-25.0.0.iso regata https://downloads.sourceforge.net/regataos/Regata_OS_25_en-US.x86_64-25.0.0.iso
regata https://downloads.sourceforge.net/regataos/Regata_OS_25_pt-BR.x86_64-25.0.0.iso regata https://downloads.sourceforge.net/regataos/Regata_OS_25_pt-BR.x86_64-25.0.0.iso

View File

@ -14,6 +14,10 @@ else
fi fi
export LC_ALL=C export LC_ALL=C
#TODO: config file
TOshare="/usr/share/quickget"
TOpublic="$TOshare/public"
TOactions="$TOshare/actions"
function cleanup() { function cleanup() {
if [ -n "$(jobs -p)" ]; then if [ -n "$(jobs -p)" ]; then
@ -23,7 +27,7 @@ function cleanup() {
function show_os_info() { function show_os_info() {
# shellcheck source=public/alpine # shellcheck source=public/alpine
. "public/${1}" . "${TOpublic}/${1}"
echo echo
echo " ${PRETTY}" echo " ${PRETTY}"
echo $" Website: ${HOMEPAGE}" echo $" Website: ${HOMEPAGE}"
@ -37,7 +41,7 @@ function show_os_info() {
} }
function os_support() { function os_support() {
DIR="actions" DIR="${TOactions}"
for file in "$DIR"/*; do for file in "$DIR"/*; do
if [[ -f "$file" ]]; then if [[ -f "$file" ]]; then
filename="${file##*/}" filename="${file##*/}"
@ -261,7 +265,7 @@ function csv_data() {
fi fi
for OS in $(os_support); do for OS in $(os_support); do
. "actions/${OS}" . "${TOactions}/${OS}"
local EDITIONS="" local EDITIONS=""
DISPLAY_NAME="${PRETTY}" DISPLAY_NAME="${PRETTY}"
@ -336,10 +340,10 @@ function test_all() {
FUNC="ubuntu" FUNC="ubuntu"
fi fi
local URL="" local URL=""
. "actions/${OS}" . "${TOactions}/${OS}"
for RELEASE in $(releases_); do for RELEASE in $(releases_); do
. "actions/${OS}" . "${TOactions}/${OS}"
if [ "${OS}" == 'rebornos' ]; then if [ "${OS}" == 'rebornos' ]; then
if curl -I "https://cdn.soulharsh007.dev/RebornOS-ISO/${ISO}"; then if curl -I "https://cdn.soulharsh007.dev/RebornOS-ISO/${ISO}"; then
test_result "${OS} ${RELEASE} ${URL} PASS" test_result "${OS} ${RELEASE} ${URL} PASS"
@ -347,7 +351,7 @@ function test_all() {
test_result "${OS} ${RELEASE} ${URL} FAIL" test_result "${OS} ${RELEASE} ${URL} FAIL"
fi fi
elif [[ $(type -t editions_) == function ]]; then elif [[ $(type -t editions_) == function ]]; then
. "actions/${OS}" . "${TOactions}/${OS}"
for EDITION in $(editions_); do for EDITION in $(editions_); do
validate_release releases_ validate_release releases_
URL=$(get_ | cut -d' ' -f1 | head -n 1) URL=$(get_ | cut -d' ' -f1 | head -n 1)
@ -359,7 +363,7 @@ function test_all() {
fi fi
done done
elif [[ "${OS}" == "windows"* ]]; then elif [[ "${OS}" == "windows"* ]]; then
. "actions/${OS}" . "${TOactions}/${OS}"
languages_ languages_
for I18N in "${I18NS[@]}"; do for I18N in "${I18NS[@]}"; do
validate_release releases_ validate_release releases_
@ -599,7 +603,7 @@ EOF
fi fi
# OS specific tweaks # OS specific tweaks
#. "actions/${OS}" #. "${TOactions}/${OS}"
#specific_tweaks 2>/dev/null #specific_tweaks 2>/dev/null
if [ "${OS}" == "ubuntu" ] && [[ ${RELEASE} == *"daily"* ]]; then if [ "${OS}" == "ubuntu" ] && [[ ${RELEASE} == *"daily"* ]]; then
# Minimum to install lobster testing is 18GB but 32GB are allocated for headroom # Minimum to install lobster testing is 18GB but 32GB are allocated for headroom
@ -658,7 +662,7 @@ function create_vm() {
check_hash "${ISO}" "${HASH}" check_hash "${ISO}" "${HASH}"
fi fi
# shellcheck disable=SC2076 # shellcheck disable=SC2076
. "actions/${OS}" . "${TOactions}/${OS}"
"distro_specific" 2>/dev/null "distro_specific" 2>/dev/null
make_vm_config "${ISO}" make_vm_config "${ISO}"
} }
@ -747,7 +751,7 @@ run_itself() {
os_supported os_supported
# shellcheck source=actions/alpine # shellcheck source=actions/alpine
. "actions/${OS}" . "${TOactions}/${OS}"
if [ -n "${2}" ]; then if [ -n "${2}" ]; then
RELEASE="${2}" RELEASE="${2}"
@ -818,7 +822,7 @@ function run_ui() {
OS=$(gum filter --height=17 --header="Select an OS:" $(os_support)) OS=$(gum filter --height=17 --header="Select an OS:" $(os_support))
#os_info "${OS}" > "$TMPFILE" #os_info "${OS}" > "$TMPFILE"
# shellcheck source=actions/alpine # shellcheck source=actions/alpine
. "public/${OS}" . "${TOpublic}/${OS}"
RELEASE=$(gum filter --height=9 --header="Select $OS release:" ${RELEASES}) RELEASE=$(gum filter --height=9 --header="Select $OS release:" ${RELEASES})
if declare -F editions_ > /dev/null; then if declare -F editions_ > /dev/null; then
EDITION=$(gum filter --height=9 --header="Select $OS $RELEASE edition:" ${EDITIONS}) EDITION=$(gum filter --height=9 --header="Select $OS $RELEASE edition:" ${EDITIONS})