chore: change log level to debug and added release notes for partial cloning

This commit is contained in:
Andrii V 2025-05-14 18:21:52 +02:00
parent 13e87e0483
commit 6cd024e10b
3 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,37 @@
|RCE| 5.6.0 |RNS|
-----------------
Release Date
^^^^^^^^^^^^
- TBD
New Features
^^^^^^^^^^^^
- git: added server-side support for partial and shallow cloning, so "--depth", "--filter" arguments are supported
General
^^^^^^^
Security
^^^^^^^^
Performance
^^^^^^^^^^^
Fixes
^^^^^
Upgrade notes
^^^^^^^^^^^^^
- RhodeCode 5.6.0 is a planned feature release.

View file

@ -9,6 +9,7 @@ Release Notes
.. toctree::
:maxdepth: 1
release-notes-5.6.0.rst
release-notes-5.5.1.rst
release-notes-5.5.0.rst
release-notes-5.4.2.rst

View file

@ -42,7 +42,7 @@ class GitTunnelWrapper(object):
# Support for partial and shallow cloning
git_server_config = " -c uploadpack.allowfilter=true -c uploadpack.allowAnySHA1InWant=true "
command = f"cd {root}; {self.server.git_path}{git_server_config}{self.server.repo_mode} '{root}{self.server.repo_name}'"
log.info("Final CMD: %s", command)
log.debug("Final CMD: %s", command)
return command
def run(self, extras):