Skip to content

Commit

Permalink
Fix parsing autori in backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ShyVortex committed Jun 18, 2024
1 parent 13adb66 commit fd2a84c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/python/parse-log.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ def replace_author_names(author):
"ShyVortex": "Angelo Trotta",
"lorenzo.lepore": "Lorenzo Lepore",
"[email protected]": "Mario Rascato",
"TheBiggestONE00": "Mario Rascato"
"TheBiggestONE00": "Mario Rascato",
"mariorascato": "Mario Rascato",
"Darpet23": "Dario Petruccelli",
"SimonGitto": "Simone Infantino"
}
return replacements.get(author, author)

Expand All @@ -48,7 +51,7 @@ def next_wednesday(d):
current_start = current_end + timedelta(days=1)

# Leggi il file di log
with open('git-log-frontend.txt', 'r') as f:
with open('git-log-backend.txt', 'r') as f:
log_content = f.read()

commits = parse_log(log_content)
Expand Down

0 comments on commit fd2a84c

Please sign in to comment.