if repo_path in ignored_repos: logger.info("repository {} ignored".format(repo_path)) continue repo_type = get_repo_type(logger, repo_path, messages_file) if not repo_type: logger.error("cannot determine type of {}". format(repo_path)) continue logger.debug("Repository type = {}".format(repo_type)) repo = get_repository(logger, source_root + repo_path, repo_type, args.project, config.get('commands'), proxy, None, command_timeout) if not repo: logger.error("Cannot get repository for {}". format(repo_path)) ret = 1 else: logger.info("Synchronizing repository {}". format(repo_path)) if repo.sync() != 0: logger.error("failed to sync repository {}". format(repo_path)) ret = 1
if repo_path in ignored_repos: logger.info("repository {} ignored".format(repo_path)) continue repo_type = get_repo_type(logger, repo_path, messages_file) if not repo_type: logger.error("cannot determine type of {}". format(repopath)) continue logger.debug("Repository type = {}".format(repo_type)) repo = get_repository(logger, source_root + repo_path, repo_type, args.project, config.get('commands'), config['proxy'] if use_proxy else None, None, command_timeout) if not repo: logger.error("Cannot get repository for {}". format(repo_path)) ret = 1 else: logger.info("Synchronizing repository {}". format(repo_path)) if repo.sync() != 0: logger.error("failed to sync repository {}". format(repo_path)) ret = 1
logger.debug("Repository path = {}".format(repo_path)) if repo_path in ignored_repos: logger.info("repository {} ignored".format(repo_path)) continue repo_type = get_repo_type(logger, repo_path, uri) if not repo_type: logger.error( "cannot determine type of {}".format(repo_path)) continue logger.debug("Repository type = {}".format(repo_type)) repo = get_repository(logger, source_root + repo_path, repo_type, args.project, config.get(COMMANDS_PROPERTY), proxy, None, command_timeout) if not repo: logger.error( "Cannot get repository for {}".format(repo_path)) ret = 1 else: logger.info( "Synchronizing repository {}".format(repo_path)) if repo.sync() != 0: logger.error( "failed to sync repository {}".format(repo_path)) ret = 1 if posthook: logger.info("Running post hook")
if repo_path in ignored_repos: logger.debug("repository {} ignored".format(repo_path)) continue repo_type = get_repo_type(logger, repo_path, messages_file) if not repo_type: logger.error("cannot determine type of {}". format(repopath)) continue logger.debug("Repository type = {}".format(repo_type)) repo = get_repository(logger, source_root + repo_path, repo_type, args.project, config.get('commands'), config['proxy'] if use_proxy else None, None) if not repo: logger.error("Cannot get repository for {}". format(repo_path)) ret = 1 else: if repo.sync() != 0: logger.error("failed to sync repository {}". format(repo_path)) ret = 1 if posthook and run_hook(logger, posthook, os.path.join(source_root,