Merge branch 'release/1.2.1' into main

This commit is contained in:
Matteo Cherubini 2026-06-12 11:47:26 +02:00
commit c81b7e4185
3 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,5 @@
# ============================================================================= # =============================================================================
# Knowledge Genome - Makefile v. 1.2.0 # Knowledge Genome - Makefile v. 1.2.1
# Orchestrates the setup and management of the knowledge base. # Orchestrates the setup and management of the knowledge base.
# ============================================================================= # =============================================================================

View file

@ -15,6 +15,7 @@ provider_create_repo() {
local name="$1" local name="$1"
local desc="$2" local desc="$2"
local private="$3" local private="$3"
local auto_init="${4:-false}" # genomi: true (submodule add esige un branch). master: false (git init locale + push).
local http_code local http_code
http_code=$(curl -s -o /dev/null -w "%{http_code}" \ http_code=$(curl -s -o /dev/null -w "%{http_code}" \
@ -25,7 +26,7 @@ provider_create_repo() {
\"name\": \"${name}\", \"name\": \"${name}\",
\"description\": \"${desc}\", \"description\": \"${desc}\",
\"private\": ${private}, \"private\": ${private},
\"auto_init\": false \"auto_init\": ${auto_init}
}") }")
case "$http_code" in case "$http_code" in

View file

@ -27,7 +27,7 @@ for entry in "${GENOMES[@]}"; do
info "Processing: ${GENOME_NAME} (cross_source: ${GENOME_CROSS_SOURCE})..." info "Processing: ${GENOME_NAME} (cross_source: ${GENOME_CROSS_SOURCE})..."
# 1. Remote Creation (Idempotent) # 1. Remote Creation (Idempotent)
provider_create_repo "${GENOME_NAME}" "${GENOME_DESC}" "true" provider_create_repo "${GENOME_NAME}" "${GENOME_DESC}" "true" "true"
SSH_URL=$(provider_ssh_url "${GENOME_NAME}") SSH_URL=$(provider_ssh_url "${GENOME_NAME}")
GENOME_PATH="${WORK_DIR}/${MASTER_REPO}/${GENOME_NAME}" GENOME_PATH="${WORK_DIR}/${MASTER_REPO}/${GENOME_NAME}"