mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-21 04:10:37 +02:00
test
This commit is contained in:
parent
d79ac8e2dc
commit
c148ea3d8e
@ -525,6 +525,9 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
||||
if not branch_name in repo.heads:
|
||||
repo.create_head(branch_name, initial_branch_ref)
|
||||
repo.head.reference = repo.heads[branch_name]
|
||||
|
||||
# test
|
||||
print(repo.git.status())
|
||||
|
||||
remote_url = d['url']
|
||||
name = REMOTE_HOSTNAME_REGEX.sub(r'\1', remote_url)
|
||||
@ -539,6 +542,9 @@ def update_servergitmirrors(servergitmirrors, repo_section):
|
||||
logging.info('Mirroring to: ' + remote_url)
|
||||
|
||||
if index_only:
|
||||
# test
|
||||
print(glob.glob('.' + '/**/*', recursive=True))
|
||||
|
||||
logging.debug('Adding index files to git mirror')
|
||||
repo.index.add(_get_index_file_paths(repo_section))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user