several small fixes:

- systemmodule ir und res aufgenommen
- Version auf Major.Minor reduziert
- reihenfolge der Module fixiert
This commit is contained in:
2026-08-08 01:29:43 +02:00
parent 4fff05a09e
commit 64fda357ad
291 changed files with 18425 additions and 1456 deletions
Executable
+53
View File
@@ -0,0 +1,53 @@
#!/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
cd $WORKDIR
echo
echo
echo "======================================================"
echo "starte Auswertung"
echo "======================================================"
python3 compare.py
echo
echo "Fertig."