|
|
889680a7b7
|
feat(gitea): implement gitea_coder role with scope enforcement (#20)
## Summary
Implements the gitea_coder role as defined in issue #11, providing a complete workflow automation layer for Git operations with scope enforcement.
## Features
### Branch Management with Scope Gating
- ✅ Enforces branch naming conventions (feature/, fix/, refactor/, docs/, test/, chore/)
- ✅ Prevents direct pushes to protected branches (main, master, develop, dev)
- ✅ Auto-appends issue numbers to branch names
### Unified Commit Workflow
- ✅ Automatic create vs replace detection
- ✅ Conventional commits format with issue references
- ✅ Detailed commit message generation
### PR Creation
- ✅ Validates source branch is not protected
- ✅ Auto-references issues in PR description
- ✅ Uses existing gitea/dev.py operations
### Ticket Integration
- ✅ Reads and parses issue requirements
- ✅ Extracts testing criteria and technical notes
- ✅ Suggests branch names from issue content
## Files Added
- `gitea/coder.py` - Complete gitea_coder role implementation
## Files Modified
- `README.md` - Added gitea_coder documentation
## Testing Criteria
✅ Can create feature branch from ticket
✅ Can modify files according to ticket requirements
✅ Can generate commit messages with issue references
✅ Can create PR for review
Refs: #11
Reviewed-on: #20
|
2026-01-18 22:24:53 +00:00 |
|
|
|
dc9f128eb9
|
Update gitea/dev.py (#8)
Reviewed-on: #8
|
2026-01-15 20:43:12 +00:00 |
|
|
|
7f35b8fac4
|
fix(dev.py): fix CRUD operation bugs
- Fixed redundant __user__ checks in _get_token, _get_repo, _get_branch, _get_org
- Fixed merge_pull_request: proper conflict detection (409), merged status check, and empty response handling
- Fixed update_file: proper 404 handling before raise_for_status
- Fixed delete_file: proper 404 handling before raise_for_status
- Updated version to 1.4.1 with changelog
Refs: bug hunt fix
|
2026-01-15 17:43:06 +00:00 |
|
|
|
dbfeca8271
|
feat(gitea): Add CRUD operations for Issues and Pull Requests (#3) (#4)
**Review Summary**
✅ PASS - All CRUD operations implemented correctly
**Issues Fixed:**
- `merge_pull_request` output variable bug (early return)
- Duplicate docstring in `_get_branch`
- Namespace refactor for VeniceInfo (from PR comment feedback)
**Changes in this PR:**
- 9 Issue CRUD functions (get, update, close, reopen, delete, comments)
- 7 PR CRUD functions (get, update, merge, comments)
- Version bumped to 1.4.0
Ready to merge. The code follows existing patterns with proper error handling and confirmation dialogs for destructive operations.
Reviewed-on: #4
|
2026-01-15 13:45:16 +00:00 |
|
|
|
7b64a69e21
|
Delete gitea/dev_broken.py
|
2026-01-14 15:47:20 +00:00 |
|
|
|
be7d3852b4
|
Update gitea/dev.py
|
2026-01-14 15:45:27 +00:00 |
|
|
|
1b101b2256
|
Update gitea/dev.py
|
2026-01-14 15:32:17 +00:00 |
|
|
|
b3a4887b47
|
Update gitea/dev.py
|
2026-01-14 13:55:37 +00:00 |
|
|
|
7587c9fefe
|
Add gitea/dev.py
|
2026-01-14 13:55:05 +00:00 |
|
|
|
67bf06d7d4
|
Update gitea/dev_broken.py
|
2026-01-14 13:54:04 +00:00 |
|
|
|
2a3b615a3b
|
Update gitea/dev.py
|
2026-01-13 19:15:27 +00:00 |
|
|
|
d96c439c06
|
Update gitea/admin.py
|
2026-01-13 19:08:17 +00:00 |
|
|
|
673e5d434d
|
Add gitea/dev.py
|
2026-01-13 18:23:29 +00:00 |
|
|
|
259fe538d4
|
Add gitea/admin.py
|
2026-01-13 18:22:43 +00:00 |
|