3c31048afc
Update model in git provider
2024-12-08 22:00:37 +07:00
a825aec5f3
Add publish_output_progress config support to AzureDevOps, BitBucket and Gitlab providers
2024-11-28 17:15:24 +01:00
f08b20c667
Improve logging and error handling in Azure DevOps provider for code suggestions
2024-11-21 13:37:48 +02:00
eb0c959ca9
Add validation for committable comments within PR hunks in GitHub provider
2024-11-20 17:28:13 +02:00
741a70ad9d
Add detailed diff code generation for GitLab suggestions and improve comment formatting
2024-11-20 17:26:36 +02:00
22ee03981e
Add diff code generation for Bitbucket code suggestions and improve logging
2024-11-20 17:25:10 +02:00
2f4545dc15
Refactor byte decoding in Bitbucket server provider using decode_if_bytes
function
2024-11-12 08:26:33 +02:00
cbd490b3d7
use a more modern version
2024-11-12 08:23:11 +02:00
065777040f
Improve PR file content retrieval and logging verbosity handling
2024-11-12 08:06:02 +02:00
5c5a3e267c
Merge branch 'main' into introduce-pre-commit
2024-11-08 09:54:21 +02:00
2f5e8472b9
Add PRDescriptionHeader enum for consistent "Changes walkthrough" usage across modules
2024-10-30 08:48:08 +02:00
81dea65856
Format files by pre-commit run -a
...
Signed-off-by: Yu Ishikawa <yu-iskw@users.noreply.github.com >
2024-10-30 10:00:36 +09:00
597f1c6f83
Add PRDescriptionHeader enum for consistent "Changes walkthrough" usage across modules
2024-10-28 08:12:56 +02:00
27abe48a34
feat: import Range utility in GitHubProvider for enhanced functionality
2024-10-14 09:43:58 +03:00
8fe504a7ec
feat: import Range utility in GitHubProvider for enhanced functionality
2024-10-14 09:40:57 +03:00
f6ba49819a
feat: enhance GitHubProvider with improved error handling and URL parsing
...
- Add traceback logging for exceptions in diff file retrieval
- Improve URL parsing to handle '/api/v3' paths and validate GitHub URLs
- Modify `publish_comment` to return None for temporary comments
- Update constructor to accept an optional GitHub client parameter
2024-10-14 09:18:06 +03:00
a476e85fa7
bug-fix_azuredevops-new-file
2024-10-08 01:13:44 -05:00
e2b5489495
feat: add error handling for invalid repo settings configuration
...
- Implement error handling for invalid TOML configurations in repo settings.
- Log warnings and send comments to PRs when configuration errors occur.
- Introduce `handle_configurations_errors` function to manage error reporting.
- Ensure compatibility with different markdown formats for error messages.
2024-10-07 09:13:17 +03:00
ce8e637800
get_line_link compatible with old gitlab versions
2024-09-15 14:56:08 +08:00
29028d43cf
Set azure devops default status to ByDesign
2024-09-13 18:01:08 -07:00
3ea691e70a
Merge pull request #1216 from Codium-ai/tr/azure_parsing
...
fix: improve Azure DevOps PR URL parsing and add unit tests
2024-09-12 09:09:24 +03:00
01ba6fe63d
feat: enhance error handling and logging, update AI metadata terminology
...
- Improved error handling and logging in `pr_processing.py` and `github_polling.py` to provide more detailed error information.
- Updated AI metadata terminology from "AI-generated file summary" to "AI-generated changes summary" across multiple files for consistency.
- Added a placeholder method `publish_file_comments` in `azuredevops_provider.py`.
- Refined logging messages in `azuredevops_provider.py` for better clarity.
2024-09-10 17:44:26 +03:00
e444da8378
fix: improve Azure DevOps PR URL parsing and add unit tests
2024-09-10 08:19:22 +03:00
1a9638cf87
bug fix: remove unused get_pr_description method from Azure DevOps provider
2024-09-09 16:25:34 +03:00
8706f643ef
enable ai_metadata
2024-09-08 16:26:26 +03:00
d01cfe443c
avoid_full_files
2024-09-07 11:44:24 +03:00
d4d9a7f8b4
Merge pull request #1172 from MaxHoecker/bugfix/bb-2-way-diff-fix
...
Bugfix/bb 2 way diff fix
2024-09-03 16:24:42 +03:00
2c496b9d4e
fix: improve PR patch decoding and clean up Bitbucket provider code
...
- Add fallback encodings for PR patch decoding to handle non-UTF-8 encodings.
- Update logging messages for better clarity.
- Remove unnecessary blank lines and fix minor formatting issues.
- Ensure full files are retrieved in `get_diff_files` method.
2024-09-01 08:38:26 +03:00
cf14e45674
further cleaned up code based on feedback
2024-08-30 10:10:39 -04:00
29c50758bc
implementing more feedback, choosing a different Bitbucket diff strategy depending on API version, and expanded unit test cases
2024-08-28 17:13:36 -04:00
0442cdcd3d
adding config value for old Bitbucket Server diff functionality
2024-08-26 16:07:21 -04:00
a99ebf8953
implementing PR bot feedback
2024-08-23 11:18:42 -04:00
2a9e3ee1ef
removing unnecessary if check
2024-08-23 10:57:58 -04:00
2beefab89a
BB server 2 way diff fixes
2024-08-23 10:47:27 -04:00
229d7b34c7
Limit comment body length and adjust logging levels in GitHub provider
2024-08-18 08:24:27 +03:00
a6f772c6d5
Refactor comment deletion method to 'remove_comment' in git providers and update references
2024-08-18 08:19:25 +03:00
4a71ec90c6
Add null check for 'suggestion' in publish_code_suggestions method in gitlab_provider.py
2024-08-16 09:04:45 +03:00
3456c8e039
Add 'original_suggestion' parameter to publish_inline_comment methods across git providers for enhanced inline comment handling
2024-08-16 08:58:51 +03:00
01c18d7d98
Merge pull request #1134 from Codium-ai/tr/err_protections
...
Tr/err protections
2024-08-14 08:17:19 +03:00
8414e109c5
Update logging levels and add error handling for empty data in PR tools and providers
2024-08-14 08:02:34 +03:00
8adfca5b3c
Add error handling for short diffs and improve logging in Bitbucket provider
2024-08-14 07:54:11 +03:00
672cdc03ab
Merge pull request #1133 from Codium-ai/tr/err_protections
...
Add error handling for empty diff files in utils.py and optimize file…
2024-08-13 22:36:00 +03:00
86a9cfedc8
Add error handling for empty diff files in utils.py and optimize file content retrieval in Bitbucket provider
2024-08-13 22:33:07 +03:00
7ac9f27b70
Merge pull request #1132 from Codium-ai/tr/err_protections
...
Add error handling for missing GitLab URL and improve inline comment …
2024-08-13 19:05:00 +03:00
a3b3d6c77a
Add error handling for missing GitLab URL and improve inline comment logic in gitlab_provider.py
2024-08-13 19:00:09 +03:00
2e41701d07
fixes
2024-08-13 16:21:46 +01:00
578f56148a
Merge branch 'Codium-ai:main' into main
2024-08-13 16:04:55 +01:00
a2fb415c53
Add git_files attribute to Bitbucket provider class for enhanced file handling
2024-08-13 12:39:45 +03:00
1aa6dd9b5d
Add error handling for missing file paths in Bitbucket provider and improve file validation logic
2024-08-13 11:28:21 +03:00
11d69e05aa
fix git provider
2024-08-13 09:25:59 +01:00