pr-agent/pr_agent
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
..
agent Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
algo fix: improve markdown rendering when git provider is unavailable 2024-12-19 20:59:17 +02:00
git_providers Support pull requests in personal spaces in Bitbucket Server 2024-12-22 00:42:11 +05:30
identity_providers Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
log Add analytics logging 2024-02-26 16:15:23 +02:00
secret_providers Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
servers fix: move user_tag variable declaration outside conditional block 2024-12-09 08:27:30 +02:00
settings fix: improve markdown rendering when git provider is unavailable 2024-12-19 21:08:27 +02:00
tools feat: enhance code review output with collapsible code snippets and variable links 2024-12-19 20:30:56 +02:00
__init__.py Format files by pre-commit run -a 2024-10-30 10:00:36 +09:00
cli.py Move get_version to algo/util.py; fix version to 0.25 2024-12-17 08:44:53 -07:00
cli_pip.py adjustments to pypi 2024-03-23 16:16:32 +02:00
config_loader.py prompts 2024-09-21 16:58:37 +03:00