Package dak :: Module generate_index_diffs
[hide private]
[frames] | no frames]

Module generate_index_diffs

source code

generates partial package updates list

Functions [hide private]
 
usage(exit_code=0) source code
 
tryunlink(file) source code
 
smartstat(file) source code
 
main() source code
Variables [hide private]
  re_includeinpdiff = re.compile(r"(Translation-[a-zA-Z_]+\.(?:b...
  Cnf = None
  Logger = None
  Options = None
  patchname = Options ["PatchName"]
  old_full_path = oldfile+ origext
  resolved_orig_path = os.path.realpath(origfile+ origext)
  upd = PDiffIndex(outdir, int(maxdiffs), merged_pdiffs)
  newfile = oldfile+ ".new"
  semaphore = asyncio.Semaphore(limit)
  pending_coroutines = [bounded_task(task) for task in pending_c...
  start = time.time()
  pending_tasks = [asyncio.create_task(coroutine) for coroutine ...
  duration = round(time.time()-start, 2)
  errors = False

Imports: asyncio, errno, os, re, sys, time, traceback, apt_pkg, utils, pdiff, Archive, Component, DBConn, Suite, get_suite, get_suite_architectures, PDiffIndex


Variables Details [hide private]

re_includeinpdiff

Value:
re.compile(r"(Translation-[a-zA-Z_]+\.(?:bz2|xz))")

pending_coroutines

Value:
[bounded_task(task) for task in pending_coroutines]

pending_tasks

Value:
[asyncio.create_task(coroutine) for coroutine in pending_coroutines]