Repository navigation
[GitLab] Submodule expansion functionality added - #2014
Conversation
Functionality to include the submodule changes to the Model input added
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 9f9d085
Previous suggestions✅ Suggestions up to commit e5e4d2a
|
|||||||||||||||||||||||||||||||||||||||
…update-tests Enhance GitLab submodule expansion
…or-recent-changes docs: document GitLab submodule diff expansion
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||
|
thanks @alex107ivanov for better documentation, please add to the configuration file, and we can merge |
…-submodule-diffs docs: document GitLab submodule diff option
Done. Thank you! |
Is it different than this: |
Exactly what I was looking for. Thank you! |
Sorry for the stupid question - does it work with Jira? First, I tried to add the configuration options, then I tried to find any related code, and found only GitHub and Azure implementations for the issue extraction code. |
|
JIRA is implemented in Qodo Merge (the paid version) |
Ah, I see. Meanwhile, I implemented the Jira (self-hosted version) functionality, but it seems you don't need the PR, right? |
|
correct. its suitable for your local deployment |
|
Preparing review... |
1 similar comment
|
Preparing review... |
User description
In our project, we have a bunch of submodules as the subparts of the if, and often the changes in the PR spread over the submodules. To analyse, describe, etc, the PR correctly, the reviewer also needs to take a look at the submodule changes, so as the PR-Agent.
This change adds the ability to replace the "sumbodule changed from SHA_x to SHA_y" to the full diff.
PR Type
Enhancement
Description
GitLab submodule diff expansion functionality added
Submodule changes now show full file diffs instead of SHA updates
Configurable via
GITLAB.EXPAND_SUBMODULE_DIFFSsettingComprehensive test coverage and documentation updates
Diagram Walkthrough
File Walkthrough
gitlab_provider.py
GitLab submodule diff expansion implementationpr_agent/git_providers/gitlab_provider.py
.gitmodulesparsing and project resolutionget_diff_files()andget_files()to use expanded changestest_gitlab_provider.py
Comprehensive submodule expansion test coveragetests/unittest/test_gitlab_provider.py
.gitmodulesparsing and project path resolutionindex.md
Recent updates documentation entrydocs/docs/recent_updates/index.md
additional_configurations.md
GitLab submodule configuration documentationdocs/docs/usage-guide/additional_configurations.md
expand_submodule_diffsconfiguration option