pr-agent/pr_agent/git_providers
med8bra 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
..
__init__.py Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
azuredevops_provider.py fix(azure-provider): handle renamed files as new files 2025-01-13 22:22:13 +01:00
bitbucket_provider.py Add publish_output_progress config support to AzureDevOps, BitBucket and Gitlab providers 2024-11-28 17:15:24 +01:00
bitbucket_server_provider.py Support pull requests in personal spaces in Bitbucket Server 2024-12-22 00:42:11 +05:30
codecommit_client.py Remove 'bitbucket' explicit dependency anywhere that's not in bitbucket_provider.py 2023-09-10 14:06:13 +03:00
codecommit_provider.py Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
gerrit_provider.py Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
git_provider.py Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
github_provider.py refactor: optimize file content loading and improve rate limit handling 2024-12-29 11:25:33 +02:00
gitlab_provider.py Add publish_output_progress config support to AzureDevOps, BitBucket and Gitlab providers 2024-11-28 17:15:24 +01:00
local_git_provider.py Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
utils.py Fix typo model_weak 2024-12-08 22:09:48 +07:00