Lines Matching refs:format
83 print("INFO: {}".format(msg), flush=True)
88 print("INFO: now {} in {}:{}".format(len(deps), kind, set2list(deps)))
108 echo(args, "checking version={} id={}".format(check_version, check_id))
126 url = "https://crates.io/api/v1/crates/{}/{}".format(base_name, version)
127 echo(args, "try to get dl_path from {}".format(url))
131 print("ERROR: cannot find version {} of package {}".format(
134 echo(args, "found download path for version {}".format(version))
141 print("ERROR: cannot find download path for '{}'".format(pkg))
145 echo(args, "fetch tar file from {}".format(url))
148 echo(args, "extract tar file {} into {}".format(tar_file, tmp_dir))
154 echo(args, "untared package in {}".format(pkg_tmp_dir))
157 print("ERROR: do not overwrite existing {}".format(dest_dir))
160 echo(args, "move {} to {}".format(pkg_tmp_dir, dest_dir))
162 echo(args, "delete downloaded tar file {}".format(tar_file))
164 echo(args, "delete temp directory {}".format(tmp_dir))
166 print("SUCCESS: downloaded package to '{}'".format(dest_dir))
168 echo(args, "Calling add3prf.py in {}".format(dest_dir))
178 echo(args, "Ask crates.io for {} ...".format(pkg))
180 url = "https://crates.io/api/v1/crates/{}/{}/dependencies".format(
185 print("ERROR: failed to find {}".format(pkg))
266 print("ERROR: leftover in topological sort: {}".format(
284 print(pattern.format(prefix + name, kind, suffix))
285 print(("{:>4s} " + name_format + " {:>10s} {:>10s} {:>14s} {:>14s}").format(
298 print(("{:4d} " + name_format + " {:10d} {:10d} {:14d} {:14d}").format(
307 print("\nNOTE: from all {} package(s):{}".format(
311 print("NOTE: found {:3d} other {}dependent package(s):{}".format(
366 echo(args, pattern.format(len(core_pkgs), set2list(core_pkgs)))
395 echo(args, pattern.format(pkg, len(deps), set2list(deps)))
431 echo(args, "to fetch packages = {}".format(args.pkgs))
434 echo(args, "trying to fetch package '{}'".format(pkg))
439 print("ERROR: unknown package '{}'".format(pkg))