Skip to content

Commit 7fb3da1

Browse files
committed
tool files have been reordered
1 parent 280769e commit 7fb3da1

19 files changed

Lines changed: 38 additions & 2335 deletions
File renamed without changes.
File renamed without changes.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@
5757
Korrekturen sind oft Ermessensfragen und gehoeren von Hand entschieden.
5858
5959
Aufruf:
60-
python tools/check_markup.py # ganzes Repo
61-
python tools/check_markup.py reference library # nur diese Pfade
62-
python tools/check_markup.py --art code,klammer # nur diese Fehlerarten
63-
python tools/check_markup.py --max 5 # je Art hoechstens 5 Beispiele
64-
python tools/check_markup.py -o bericht.md # Markdown-Bericht schreiben
65-
python tools/check_markup.py --nur-zahlen # nur die Zusammenfassung
60+
python _tools/check_markup.py # ganzes Repo
61+
python _tools/check_markup.py reference library # nur diese Pfade
62+
python _tools/check_markup.py --art code,klammer # nur diese Fehlerarten
63+
python _tools/check_markup.py --max 5 # je Art hoechstens 5 Beispiele
64+
python _tools/check_markup.py -o bericht.md # Markdown-Bericht schreiben
65+
python _tools/check_markup.py --nur-zahlen # nur die Zusammenfassung
6666
6767
Rueckgabewert: 0 wenn nichts gefunden wurde, sonst 1 -- damit laesst sich das
6868
Skript in pre_push_check.sh und in die CI einhaengen.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
# Branch), nicht abgefragt.
1515
#
1616
# Nutzung:
17-
# ./pre_push_check.sh # fragt interaktiv beide Stufen ab
18-
# ./pre_push_check.sh --quick # nur Stufe 1, keine Nachfrage
19-
# ./pre_push_check.sh --full # Stufe 1 + 2, keine Nachfrage
20-
# ./pre_push_check.sh --full --version 3.15 # Stufe 2 mit expliziter Version
17+
# ./_tools/pre_push_check.sh # fragt interaktiv beide Stufen ab
18+
# ./_tools/pre_push_check.sh --quick # nur Stufe 1, keine Nachfrage
19+
# ./_tools/pre_push_check.sh --full # Stufe 1 + 2, keine Nachfrage
20+
# ./_tools/pre_push_check.sh --full --version 3.15 # Stufe 2 mit expliziter Version
2121

2222
set -uo pipefail
2323

24-
REPO_ROOT="${REPO_ROOT:-$(pwd)}"
24+
REPO_ROOT="${REPO_ROOT:-$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)}"
2525
CPYTHON_ROOT="${CPYTHON_ROOT:-/Volumes/Dev_SSD/GitHub}"
26-
CHECK_ROLES_PY="${CHECK_ROLES_PY:-$REPO_ROOT/check_roles.py}"
27-
CHECK_MARKUP_PY="${CHECK_MARKUP_PY:-$REPO_ROOT/tools/check_markup.py}"
26+
CHECK_ROLES_PY="${CHECK_ROLES_PY:-$REPO_ROOT/_tools/check_roles.py}"
27+
CHECK_MARKUP_PY="${CHECK_MARKUP_PY:-$REPO_ROOT/_tools/check_markup.py}"
2828
EXCLUDE_DIRS=(".venv" ".git" "cpython-src")
2929

3030
BRANCH="$(git -C "$REPO_ROOT" branch --show-current 2>/dev/null)"
@@ -263,4 +263,4 @@ if [[ $fail -eq 0 ]]; then
263263
else
264264
echo "Bitte die oben aufgefuehrten Punkte beheben, bevor gepusht wird."
265265
exit 1
266-
fi
266+
fi
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
2222
Aufruf (im Repo, das ZIEL muss ausgecheckt sein):
2323
24-
python tools/sync_branches.py --von 3.15 # Trockenlauf
25-
python tools/sync_branches.py --von 3.15 --apply
26-
python tools/sync_branches.py --von 3.15 --leere-ziele --apply
27-
python tools/sync_branches.py --von 3.15 --nur reference,library
28-
python tools/sync_branches.py --von 3.15 -o konflikte.md
24+
python _tools/sync_branches.py --von 3.15 # Trockenlauf
25+
python _tools/sync_branches.py --von 3.15 --apply
26+
python _tools/sync_branches.py --von 3.15 --leere-ziele --apply
27+
python _tools/sync_branches.py --von 3.15 --nur reference,library
28+
python _tools/sync_branches.py --von 3.15 -o konflikte.md
2929
3030
Ohne --apply wird nichts geschrieben. Konflikte werden nie automatisch
3131
entschieden -- sie landen im Bericht und gehoeren von Hand geprueft.
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515
API ueber die API gesetzt
1616
1717
Aufruf (im Repo, im Branch, dessen Projekt gemeint ist):
18-
python tools/tx_activity.py --probe # erst die API-Form klaeren
19-
python tools/tx_activity.py --bestand # was wuerde ein Force-Push loeschen?
20-
python tools/tx_activity.py # letzte 7 Tage
21-
python tools/tx_activity.py --tage 1
22-
python tools/tx_activity.py --ohne-upload # eigene Pushes ausblenden
23-
python tools/tx_activity.py --csv aktivitaet.csv
24-
python tools/tx_activity.py --pause 1.0 # langsamer, wenn gedrosselt
25-
python tools/tx_activity.py --ab library--os # Lauf fortsetzen
26-
python tools/tx_activity.py --alle # ohne Vorauswahl (langsam)
18+
python _tools/tx_activity.py --probe # erst die API-Form klaeren
19+
python _tools/tx_activity.py --bestand # was wuerde ein Force-Push loeschen?
20+
python _tools/tx_activity.py # letzte 7 Tage
21+
python _tools/tx_activity.py --tage 1
22+
python _tools/tx_activity.py --ohne-upload # eigene Pushes ausblenden
23+
python _tools/tx_activity.py --csv aktivitaet.csv
24+
python _tools/tx_activity.py --pause 1.0 # langsamer, wenn gedrosselt
25+
python _tools/tx_activity.py --ab library--os # Lauf fortsetzen
26+
python _tools/tx_activity.py --alle # ohne Vorauswahl (langsam)
2727
2828
Vorauswahl: die Sammelstatistik resource_language_stats nennt in vier
2929
Anfragen, welche Ressourcen ueberhaupt angefasst wurden. Nur die werden
3030
danach einzeln abgefragt -- sonst waeren es 553 Anfragen.
31-
python tools/tx_activity.py --debug # Rohdatensatz zum Pruefen
31+
python _tools/tx_activity.py --debug # Rohdatensatz zum Pruefen
3232
3333
Transifex drosselt am Gateway. Bei 429/503 wird laenger gewartet und
3434
danach abgebrochen statt die restlichen Ressourcen gegen dieselbe Wand

0 commit comments

Comments
 (0)