diff --git a/fdroidserver/deploy.py b/fdroidserver/deploy.py index 545ba867..0b48496d 100644 --- a/fdroidserver/deploy.py +++ b/fdroidserver/deploy.py @@ -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'