bobo
ecdee052aa
fix lint error
2024-07-01 21:39:44 +08:00
bobo
8a15ea83f2
fix lint error
2024-07-01 21:37:29 +08:00
bobo
d8d1c34406
fix: Update rules_path to "sonar-rspec" for consistency
2024-07-01 21:27:58 +08:00
bobo
89d19679f5
fix: Handle error cases and exit with non-zero status
2024-07-01 21:27:58 +08:00
bobo
9d07b91a3e
feat: Add fix_issue command
...
- Implement new command to automatically fix lint errors
- Create main.py with functions for issue detection and fixing
- Add command.yml and README.md for fix_issue functionality
2024-07-01 21:27:57 +08:00
bobo
5f4ebe5a5c
Update PR requirements.txt
2024-07-01 13:55:15 +08:00
bobo
eb08230b60
update pr requirements.txt
2024-07-01 12:32:29 +08:00
bobo
bb3d04d7a9
fix lint error
2024-06-30 16:11:31 +08:00
bobo
8cbb645fa8
fix lint error
2024-06-30 16:07:38 +08:00
bobo
da9f21e1dc
refactor: Rename config functions and parameters
...
- Renamed `read_config` to `read_config_item` and updated its usage
- Renamed `save_config` to `save_config_item` and updated its usage
- Renamed `save_branch` parameter to `base_branch` in `save_last_base_branch`
2024-06-30 15:48:54 +08:00
bobo
3a15d11026
feat: Add interactive base branch input for PR creation
...
- Introduce functions to read and save last base branch from config
- Modify PR creation and update commands to use dynamic base branch
- Enable user interaction to edit base branch during PR operations
2024-06-30 15:42:39 +08:00
bobo
5595097aed
feat: Add configuration for inline PR review activation
...
- Introduced `read_review_inline_config` to enable inline code comments based on config
- Added new configuration file `command.py` to manage PR review inline settings
- Updated `command.py` to conditionally set inline code comments based on new config
2024-06-30 14:55:30 +08:00
bobo
fa308c36ab
refactor: Simplify branch name generation and include issue ID
...
- Removed issue ID from branch name prompt in command.py
- Modified get_issue_or_task to return issue ID for branch naming
- Updated branch name generation to append issue ID if available
2024-06-30 14:17:39 +08:00
bobo
780fe10a98
fix: Handle error cases and exit with non-zero status
...
- Added error handling to main functions in multiple modules
- Ensured sys.exit(1) is called when responses are not successful
- Improved robustness by checking response validity before proceeding
2024-06-18 18:21:25 +08:00
bobo
a3706c79f8
Refactor code to remove model parameter from @chat_json decorator
2024-05-28 18:10:31 +08:00
bobo
f0e33f9e74
Refactor config_util.py to handle gitlab host input
2024-05-24 21:31:15 +08:00
kagami
1146444fbd
Adjust import order
2024-05-24 10:03:06 +08:00
kagami
1a303b4b0c
Improve writing test prompt
2024-05-24 09:56:19 +08:00
kagami
b0fe0b4be7
Improve finding reference tests
2024-05-24 09:56:19 +08:00
kagami
094e715f79
Detect test files using regexp
2024-05-24 09:56:19 +08:00
bobo
4ead9f6b67
Refactor config_util.py to handle gitlab host input
2024-05-23 20:35:16 +08:00
bobo
62b450d677
Refactor config_util.py to handle gitlab host input
2024-05-22 16:57:16 +08:00
bobo
14b3197543
chore: Refactor config_util.py to handle gitlab host input
2024-05-22 16:56:13 +08:00
bobo
24bd31288a
chore: Update logging level to DEBUG in command.py
2024-05-22 16:46:27 +08:00
bobo
a7566e5055
chore: Update gitlab host in config_util.py
2024-05-20 21:24:31 +08:00
bobo
e883bf6f4f
chore: Update gitlab host in config_util.py
2024-05-20 20:20:18 +08:00
bobo
6091f1c149
chore: Update gitlab host in config_util.py
2024-05-20 20:17:18 +08:00
bobo
4b6827d0f9
chore: Improve error handling and logging in commit.py and git_api.py
2024-05-19 18:52:04 +08:00
kagami
60c4c3d882
Print model response time for each step
2024-05-19 16:00:42 +08:00
kagami
adc78c431b
Reorganize unit tests steps
2024-05-19 15:56:58 +08:00
kagami
71a8def4c4
Ignore some E402 & E501 in pr/ & github/
2024-05-19 15:46:11 +08:00
kagami
62bbd1ac29
Fix format issues in pr/ & github/
2024-05-19 15:34:26 +08:00
bobo
634b3a7d63
Add github and pr workflow commands
2024-05-18 22:05:51 +08:00
kagami
c212e704a1
Handle readme manually
2024-05-16 15:03:17 +08:00
kagami
1c47b32987
Fix import issue of unit_tests in a quick way
2024-05-15 16:55:50 +08:00
kagami
fa04ed820e
Fix the env-name for ask-code
2024-05-14 12:17:56 +08:00
bobo
c4a206bbe6
Remove visual code block for /fix command
2024-05-14 10:31:36 +08:00
bobo
c770b55a6e
Refactor prompt in main.py for improved readability
2024-05-13 15:36:58 +08:00
bobo
3b3fcaeef9
Refactor prompt in main.py for improved readability
2024-05-13 15:21:05 +08:00
bobo
e45956edde
Refactor imports and remove duplicate code in main.py
2024-05-11 16:55:05 +08:00
bobo
13ac7c466a
Refactor imports and remove duplicate code in main.py
2024-05-11 16:51:53 +08:00
bobo
1b4540a7a8
Refactor code and improve comments in main.py
2024-05-11 16:45:49 +08:00
bobo
0d610cfb31
Refactor command.yml and rewrite.py for improved code readability and error handling
2024-05-11 16:45:49 +08:00
kagami
ec518753c0
Adjust unit_tests
2024-05-09 22:23:49 +08:00
kagami
f596f7729d
Adjust refactor
2024-05-09 22:23:49 +08:00
kagami
d69f270262
Adjust fix
2024-05-09 22:23:49 +08:00
kagami
f7a47915c8
Adjust explain
2024-05-09 22:23:49 +08:00
kagami
a867c23be1
Adjust docstring
2024-05-09 22:23:49 +08:00
kagami
55e30a9592
Adjust commit
2024-05-09 22:23:49 +08:00
kagami
25572af366
Adjust comments
2024-05-09 22:23:49 +08:00