1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-21 04:10:37 +02:00

chore(deploy): list all files in the local git repo

This commit is contained in:
proletarius101 2024-06-02 19:39:05 +08:00
parent 0e3bd6f63e
commit d619fbff26
No known key found for this signature in database

View File

@ -723,8 +723,9 @@ def upload_to_servergitmirror(mirror_config: Dict[str, str],
progress: git.RemoteProgress) -> None:
# Test
print(f"mirror_config: {mirror_config}")
# List all files in the git repo
print("files:")
print(glob.glob('.' + '/**/*', recursive=True))
print(local_repo.git.ls_files())
index_only = mirror_config.get('index_only', False)