mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
debug
This commit is contained in:
parent
5e73864996
commit
452bc770b1
@ -748,6 +748,7 @@ def upload_to_servergitmirror(mirror_config: Dict[str, str],
|
||||
local_repo.create_remote(name, remote_url)
|
||||
logging.info('Mirroring to: ' + remote_url)
|
||||
|
||||
print("git status:", local_repo.git.status())
|
||||
if index_only:
|
||||
# test
|
||||
logging.debug('Adding index files to git mirror')
|
||||
@ -757,14 +758,11 @@ def upload_to_servergitmirror(mirror_config: Dict[str, str],
|
||||
logging.debug('Adding all files to git mirror')
|
||||
local_repo.git.add(all=True)
|
||||
|
||||
print("git status:", local_repo.git.status())
|
||||
|
||||
logging.debug('Committing files into git mirror')
|
||||
local_repo.index.commit("fdroidserver git-mirror")
|
||||
|
||||
# Test
|
||||
print(f"In index-only: {index_only} mode")
|
||||
print(local_repo.git.status())
|
||||
print(local_repo.head.log())
|
||||
|
||||
# only deploy to GitLab Artifacts if too big for GitLab Pages
|
||||
if common.get_dir_size(fdroid_dir) <= common.GITLAB_COM_PAGES_MAX_SIZE:
|
||||
gitlab_ci_job_name = 'pages'
|
||||
|
Loading…
Reference in New Issue
Block a user