pr-agent/pr_agent/git_providers
Vishwanath Martur 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
..
__init__.py Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
azuredevops_provider.py Add publish_output_progress config support to AzureDevOps, BitBucket and Gitlab providers 2024-11-28 17:15:24 +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 feat: enhance code review output with collapsible code snippets and variable links 2024-12-19 20:30:56 +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