You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restructure Python packages to contain __main__.py files. That would incorporate splitting __main__() and parameter related definition from business logic. See https://docs.python.org/3/library/__main__.html
Maybe add additional Python packages. E.g. src/glrd (takes code from glrd_query.py, util.py renamed and splitted to constants.py and parser.py), src/glrd/scheme taking SCHEME from glrd_manage.py and logic from glrd_update.py and src/glrd/releases taking the remaining content of glrd_manage.py
Further splitting S3 related actions from GitHub ones
Activity
[-]refactoring[/-][+]refactoring of GLRD codebase[/+]NotTheEvilOne commentedon Feb 18, 2025
Here's a quick list of suggestions:
__main__.pyfiles. That would incorporate splitting__main__()and parameter related definition from business logic. See https://docs.python.org/3/library/__main__.htmlsrc/glrd(takes code fromglrd_query.py,util.pyrenamed and splitted toconstants.pyandparser.py),src/glrd/schemetakingSCHEMEfromglrd_manage.pyand logic fromglrd_update.pyandsrc/glrd/releasestaking the remaining content ofglrd_manage.py