This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Prefill the commit message + create changelog file by the branch name | |
# eg.: | |
# branch-name = PRO-<num ticket>-<type ticket>-<main subject>-<message> | |
# Type ticket: can be bugfix, tech, enhancement, other | |
# Eg.: PRO-1234-tech-document-split-size | |
# --> commit message: Refs #PRO-1234 - document: split size | |
# --> create file: PRO-1234-tech-document-split-size.tech |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Update created and updated system date from data from Google's takeout from json file | |
and delete json file. | |
Change the PATH_TO_SCAN and execute this script. | |
Sometimes we have missing files from takeout (see error logs) | |
""" | |
import glob | |
import os | |
import json |