-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor template automation models and add GitHub client implementation
- Updated models in `models.py` to enhance documentation and structure. - Introduced `TemplateConfig` class to encapsulate PR and workflow configurations. - Modified `TemplateManager` in `template_manager.py` to utilize the new `TemplateConfig` model. - Implemented `GitHubClient` class in `github_client.py` for comprehensive GitHub API interactions, including repository creation, file management, and workflow triggering. - Improved error handling and logging throughout the GitHub client methods.
- Loading branch information
Dave Arnold
committed
May 1, 2025
1 parent
d4c2207
commit 02cd042
Showing
8 changed files
with
836 additions
and
475 deletions.
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,11 @@ | ||
| # Core dependencies | ||
| PyGithub>=2.1.1 | ||
| pydantic~=2.6 | ||
| boto3>=1.38.6 | ||
| requests>=2.32.3 | ||
| jinja2>=3.1.0 | ||
| typing_extensions>=4.4.0 | ||
| pynacl>=1.5.0 # Required by PyGithub for cryptography | ||
| cryptography>=44.0.0 # Required by PyGithub for auth | ||
| pyjwt[crypto]>=2.10.0 # Required by PyGithub for JWT support | ||
| deprecated>=1.2.18 # Required by PyGithub for decorators |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.