1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

feat(translate_apps): add a git diff in push_or_update_apps_on_repository.py for logging

This commit is contained in:
Laurent Peuch 2024-03-28 04:23:28 +01:00 committed by OniriCorpe
parent 8de0674996
commit 85e2fb47c1

View file

@ -181,6 +181,7 @@ def extract_strings_to_translate_from_apps(apps, translations_repository):
# if something has been modified # if something has been modified
if translations_repository.run_command("git status -s", capture_output=True).strip(): if translations_repository.run_command("git status -s", capture_output=True).strip():
translations_repository.run_command("git status -s") translations_repository.run_command("git status -s")
translations_repository.run_command("git diff")
translations_repository.run_command(["git", "add", translations_path]) translations_repository.run_command(["git", "add", translations_path])
translations_repository.run_command( translations_repository.run_command(
[ [