def run_channel(args, build_last_n_versions=1):
 pkgs = get_affected_packages(args)
 for (pkg_name, pkg_tests) in pkgs:
  repo_data = _fetch_repo_data(args)
  c = conda_versions(pkg_name, repo_data)
  c = version_sorted(c)[:build_last_n_versions]
  if (not args.force_rebuild):
   time.sleep(1)
   q = quay_versions(args.namespace, pkg_name)
   versions = _new_versions(q, c)
  else:
   versions = c
  for tag in versions:
   target = build_target(pkg_name, tag=tag)
   targets = [target]
   mull_targets(targets, test=pkg_tests, **args_to_mull_targets_kwds(args))

def run_channel ( args , build_last_n_versions = 1 ) : pkgs = get_affected_packages ( args ) for ( pkg_name , pkg_tests ) in pkgs : repo_data = _fetch_repo_data ( args ) c = conda_versions ( pkg_name , repo_data ) c = version_sorted ( c ) [ : build_last_n_versions ] if ( not args . force_rebuild ) : time . sleep ( 1 ) q = quay_versions ( args . namespace , pkg_name ) versions = _new_versions ( q , c ) else : versions = c for tag in versions : target = build_target ( pkg_name , tag = tag ) targets = [ target ] mull_targets ( targets , test = pkg_tests , ** args_to_mull_targets_kwds ( args ) )
build list of involucro commands to run .