9a9acef0e8
fix: handle empty commits and errors in GitLab provider's get_latest_commit_url
2025-02-26 21:24:53 +02:00
0a4c02c8b3
feat: enhance Azure DevOps integration with improved error handling and PR commands
2025-02-26 16:40:46 +02:00
d91245a9d3
Update pr_agent/git_providers/github_provider.py
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 20:12:49 +02:00
bfdaac0a05
Update pr_agent/git_providers/github_provider.py
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 20:11:25 +02:00
56978d9793
Update pr_agent/git_providers/github_provider.py
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:29 -05:00
6433e827f4
Update pr_agent/git_providers/github_provider.py
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:22 -05:00
c0e78ba522
Update pr_agent/git_providers/github_provider.py
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:14 -05:00
45d776a1f7
Update pr_agent/git_providers/github_provider.py
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:32:06 -05:00
6e19e77e5e
Update pr_agent/git_providers/github_provider.py
...
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
2025-02-20 12:31:25 -05:00
0f63d8685f
Added sub-issue fetching to enhance PR analysis
2025-02-12 19:40:36 -05:00
24bf875db6
fix: handle GitHub permission errors when editing comments
2025-02-03 07:51:44 +02:00
664f1938c9
Remove false log that file was modified, but no patch found for bitbucket server
2025-01-20 14:56:10 -05:00
fe6540275c
fix(local_git): add interface method stubs for local git provider compatibility
2025-01-15 18:19:36 +01:00
bd611bc1c2
fix(azure-provider): handle renamed files as new files
...
This fixes a bug when azure-provider tries to fetch original content of a renamed file and fails since the file doesn't exist in base yet.
Also handles case when `diff_type` includes multiple actions as `edit, rename`.
This can be improved to fetch the actual old content using the old path before renaming, but IMO for azure devops since its dying anyway, this fix should be enough.
2025-01-13 22:22:13 +01:00
8819293770
Merge pull request #1406 from vishwamartur/support-personal-spaces
...
Support pull requests in personal spaces in Bitbucket Server
2025-01-01 09:26:29 +02:00
95d0fafa75
refactor: optimize file content loading and improve rate limit handling
2024-12-29 11:25:33 +02:00
4688b20284
Support pull requests in personal spaces in Bitbucket Server
...
Related to #1148
Update `_parse_pr_url` method in `pr_agent/git_providers/bitbucket_server_provider.py` to handle URLs with `/users/`.
* Add logic to check for both `/projects/` and `/users/` in the URL path and process them accordingly.
* Modify the method to raise a `ValueError` if neither `/projects/` nor `/users/` is found in the URL.
* Update the `workspace_slug` to include a `~` prefix if the URL contains `/users/`.
Add test case for URL with `/users/` in `tests/unittest/test_bitbucket_provider.py`.
* Ensure the new test case verifies the correct parsing of URLs with `/users/`.
2024-12-22 00:42:11 +05:30
7e8361b5fd
feat: enhance code review output with collapsible code snippets and variable links
2024-12-19 20:30:56 +02:00
e3d779c30d
Fix typo model_weak
2024-12-08 22:09:48 +07:00
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