now included shellscript and results

This commit is contained in:
2026-08-07 22:27:49 +02:00
parent d743f4acad
commit 1f1f6cf097
192 changed files with 11341 additions and 0 deletions
Executable
+43
View File
@@ -0,0 +1,43 @@
#!/bin/bash
set -e
TRYTON_REPO="$HOME/tmp/tryton"
WORKDIR="$HOME/code/tryton-db-migration"
EXTRACTOR="$WORKDIR/extract.py"
START='5.0'
END='8.0'
cd "$TRYTON_REPO"
VERSIONS=$(
git branch -r |
sed 's|origin/||; s|^[[:space:]]*||' |
grep -E '^[0-9]+\.[0-9]+$' |
sort -V |
awk -v start="$START" -v end="$END" '
$0 >= start && $0 <= end
'
)
#
echo $VERSIONS
for VERSION in $VERSIONS
do
echo
echo "======================================================"
echo "Version $VERSION"
echo "======================================================"
git switch "$VERSION"
python3 "$EXTRACTOR" --repo $TRYTON_REPO --output $WORKDIR/data
done
git switch $END
echo
echo "Fertig."