Skip to content
Extraits de code Groupes Projets
Valider b51c2ffb rédigé par Théo - Le Filament's avatar Théo - Le Filament
Parcourir les fichiers

build: remove git clone with filter because it is not implemented

parent d8cf3b55
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
#!/bin/sh
# set -e
ODOO_ROOT_DIR=${ODOO_ROOT_DIR:-'/opt/odoo'}
SAVE_COMMITS_DIR=${SAVE_COMMITS_DIR:-'/opt/odoo_commits'}
SAVE_COMMITS_FILENAME=${SAVE_COMMITS_FILENAME:-'custom_addons'}
......@@ -92,21 +90,6 @@ shift
modules="$@"
# Clonning repo.
# set +e
log_action="repo '$repo': clonning [no tree + branch]..."
print_info "$log_action"
git clone --branch "${ref}" --filter=tree:0 "${repo}" "${TMP_REPO_PATH}"
if [ "$?" -eq 0 ]; then
print_success "$log_action"
else
print_failed "$log_action"
log_action="repo '$repo': clonning [no tree]..."
print_info "$log_action"
git clone --filter=tree:0 "${repo}" "${TMP_REPO_PATH}"
if [ "$?" -eq 0 ]; then
print_success "$log_action"
else
print_failed "$log_action"
log_action="repo '$repo': clonning [branch]..."
print_info "$log_action"
git clone --single-branch --branch "${ref}" --depth 1 "${repo}" "${TMP_REPO_PATH}"
......@@ -124,9 +107,6 @@ else
print_err "unable to clone repo '$repo'" 1
fi
fi
fi
fi
# set -e
## Get module code and save informations about it in a CSV file.
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter