mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 03:15:17 +00:00
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/`. |
||
|---|---|---|
| .. | ||
| agent | ||
| algo | ||
| git_providers | ||
| identity_providers | ||
| log | ||
| secret_providers | ||
| servers | ||
| settings | ||
| tools | ||
| __init__.py | ||
| cli.py | ||
| cli_pip.py | ||
| config_loader.py | ||