-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancements and Fixes in Bitbucket Provider #428
Conversation
/describe |
PR Analysis
PR Feedback
How to use
|
Enhancements and Fixes in Bitbucket Provider
PR Type:
Bug fix, Enhancement, Documentation
PR Description:
This PR includes several enhancements and bug fixes:
get_repo_settings
method of the Bitbucket provider where it didn't handle 404 status code.PR Main Files Walkthrough:
files:
pr_agent/git_providers/bitbucket_provider.py
: Addedpr_url
anddiff_files
as class attributes. Fixed a bug inget_repo_settings
method to handle 404 status code. Added caching for diff files inget_diff_files
method. Added a new methodgenerate_link_to_relevant_line_number
to generate a link to the relevant line number.pr_agent/tools/pr_reviewer.py
: Removed the logic of generating a link to the relevant line number and used the method from the Bitbucket provider instead.INSTALL.md
: Updated the instructions on how to use the Docker image. Removed the separate section for asking a question about a PR and merged it with the section on how to invoke a tool. Updated the instructions on how to run a specific version of the Docker image.Extra data:
https://bitbucket.org/codiumai/pr-agent/pull-requests/7