1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-21 04:10:37 +02:00
This commit is contained in:
proletarius101 2024-04-06 17:46:31 +08:00
parent b4cfbd26e9
commit 2f37cfb9a2
No known key found for this signature in database

View File

@ -694,7 +694,10 @@ def update_servergitmirrors(servergitmirrors, repo_section):
enabled_remotes = [] enabled_remotes = []
for d in servergitmirrors: for d in servergitmirrors:
# Test
print(f"d: {d}") print(f"d: {d}")
print(os.listdir())
index_only = d.get('index_only', False) index_only = d.get('index_only', False)
# Use a separate branch for the index only mode as it needs a different set of files to commit # Use a separate branch for the index only mode as it needs a different set of files to commit
@ -730,7 +733,6 @@ def update_servergitmirrors(servergitmirrors, repo_section):
repo.index.commit("fdroidserver git-mirror") repo.index.commit("fdroidserver git-mirror")
# Test # Test
os.listdir()
print(f"In index-only: {index_only} mode") print(f"In index-only: {index_only} mode")
print(repo.git.status()) print(repo.git.status())
print(repo.head.log()) print(repo.head.log())