Skip to content
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

feat(vcs): Add Git-specific configuration options for submodule handling #9721

Merged
merged 6 commits into from
Jan 13, 2025

Conversation

sschuberth
Copy link
Member

Please have a look at the individual commit messages for the details.

@sschuberth
Copy link
Member Author

@wkl3nk, please try if this still works as expected for you.

@sschuberth sschuberth enabled auto-merge (rebase) January 10, 2025 18:04
@sschuberth sschuberth force-pushed the wkl3nk/add-configuration-options-for-git branch 3 times, most recently from 22340e0 to 522e3c8 Compare January 10, 2025 18:13
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.09%. Comparing base (0030739) to head (5699075).
Report is 6 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9721      +/-   ##
============================================
+ Coverage     68.07%   68.09%   +0.02%     
  Complexity     1294     1294              
============================================
  Files           250      249       -1     
  Lines          8849     8846       -3     
  Branches        923      923              
============================================
  Hits           6024     6024              
+ Misses         2436     2433       -3     
  Partials        389      389              
Flag Coverage Δ
funTest-docker 65.09% <ø> (ø)
funTest-non-docker 33.30% <ø> (+0.01%) ⬆️
test-ubuntu-24.04 35.89% <ø> (+0.01%) ⬆️
test-windows-2022 35.86% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sschuberth sschuberth force-pushed the wkl3nk/add-configuration-options-for-git branch 2 times, most recently from bd922d2 to bb96512 Compare January 11, 2025 10:04
Copy link
Member

@mnonnenmacher mnonnenmacher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, @sschuberth do you want to wait for feedback from @wkl3nk?

plugins/version-control-systems/git/src/main/kotlin/Git.kt Outdated Show resolved Hide resolved
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Defaults for individual properties are usually applied as part of
`parseConfig()` implementations. Add default arguments to `create()` to
avoid constructs like `create(parseConfig(emptyMap(), emptyMap()))`.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
…e yet

This is a fixup for debbc8d.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Use `PluginConfiguration` instead of `VersionControlSystemConfiguration`.

This is a fixup for debbc8d.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
@sschuberth sschuberth force-pushed the wkl3nk/add-configuration-options-for-git branch from bb96512 to e4b94b1 Compare January 13, 2025 07:07
sschuberth and others added 2 commits January 13, 2025 08:10
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
For large repositories with many layers of nested Git submodules, the
checkout process can be very time-consuming and often results in
duplicate projects in the tree of nested submodules.

This feature introduces configuration options to limit the recursive
checkout of nested Git submodules to the first layer, optimizing
performance and reducing redundancy. Additionally, it also allows to
limit the depth of the commit history when checking out
the projects.

Signed-off-by: Wolfgang Klenk <wolfgang.klenk2@bosch.com>
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
@sschuberth sschuberth force-pushed the wkl3nk/add-configuration-options-for-git branch from e4b94b1 to 5699075 Compare January 13, 2025 07:10
@sschuberth
Copy link
Member Author

Looks good to me, @sschuberth do you want to wait for feedback from @wkl3nk?

I'd appreciate getting an approval to be able to merge any time. I'll probably wait time-boxed for feedback from @wkl3nk until some time mid-Monday, but then I'd like to get this off my plate.

@wkl3nk
Copy link
Contributor

wkl3nk commented Jan 13, 2025

@sschuberth Thanks again for pushing this forward. Yes, the recent changes will also work out for me.

@sschuberth sschuberth requested a review from fviernau January 13, 2025 08:25
@sschuberth sschuberth merged commit e50fcce into main Jan 13, 2025
26 checks passed
@sschuberth sschuberth deleted the wkl3nk/add-configuration-options-for-git branch January 13, 2025 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants