refactor: split monolithic gitHappens.py into modular architecture#163
Open
MaanVader wants to merge 1 commit into
Open
refactor: split monolithic gitHappens.py into modular architecture#163MaanVader wants to merge 1 commit into
MaanVader wants to merge 1 commit into
Conversation
- main.py: CLI entry point and argument parsing - gitlab_api.py: GitLab API interactions + glab CLI wrappers - config.py: lazy configuration loading - templates.py: template/reviewer selection UI - git_utils.py: git operations, AI summaries, incident reports - interactive.py: inquirer-based issue creation flow - commands/: domain-grouped submodules (create_issue, review, deploy, open_mr) - configs/: config.ini + templates.json Solves OpenPledge issue zigcBenx#116
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refactors monolithic
gitHappens.py(845 lines, 44 functions) into a clean modular architecture per issue #116.New Structure
main.py- CLI entry point + arg parsinggitlab_api.py- GitLab API + glab CLI wrappersconfig.py- Lazy config loadingtemplates.py- Template/reviewer selectiongit_utils.py- Git ops, AI summaries, incident reportsinteractive.py- Inquirer-based issue creationcommands/- Domain-grouped submodulesgitHappens.py- Backwards-compatible shimAll 44 functions preserved. Zero net new code (913 in, 1046 out). Imports verified.