Tweak logging
This commit is contained in:
parent
388a0235dd
commit
c6e2244694
@ -190,7 +190,9 @@ class Migrator:
|
||||
for repo in repos_migrate:
|
||||
repo: giteapy.Repository
|
||||
destination_name = self._make_destination_repo_name(pattern=destination_repo_name, repo=repo)
|
||||
self.__logger.info(f"#{repo.id} \"{repo.name}\" ==> \"{destination_name}\"")
|
||||
self.__logger.info(
|
||||
f"#{repo.id} \"{repo.name}\"\n> \"{destination_name}\""
|
||||
)
|
||||
else:
|
||||
self.__logger.info("No repos marked to migrate")
|
||||
|
||||
@ -394,7 +396,7 @@ class Migrator:
|
||||
repo_api: giteapy.RepositoryApi
|
||||
|
||||
self.__logger.info("")
|
||||
self.__logger.info("Can now delete the following successfully migrated repos:")
|
||||
self.__logger.info(f"Can now delete {len(repos)} successfully migrated repos:")
|
||||
for r in repos:
|
||||
self.__logger.info(f"> #{r.id} \"{r.full_name}\" ==> {r.clone_url}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user