[elbe-devel] [PATCH 0/9] virtapt fixes, make elbe check_update functional

Torben Hohn torben.hohn at linutronix.de
Wed Jun 26 11:50:19 CEST 2019


"elbe check_updates" was broken.

Fix virtapt to work with <raw-key>, and do a massive cleanup.

This changes the signature of VirtApt.__init__() which
now takes an ElbeXML as parameter.

ElbeXML can not be pickled, so this does not work with
the BaseManager, which check_updates is not using anyways.

Remove the unused code from pkgutils, which then leads to removing
virtapt.get_rpcaptcache()


Torben Hohn (9):
  rfs: isolate create_apt_prefs into a function
  elbexml: add initvm parameter to create_apt_sources_list()
  virtapt: style fixes
  virtapt: massive refactoring to make it work again
  pkgutils: remove extract_pkg, which is not used anymore
  pkgutils: remove download_pkg, which is not used anymore
  pkgutils: remove get_uri(), which is not used anymore
  pkgutils: cleanup unused imports, after deleted functions
  virtapt: remove get_rpcvirtaptcache() and deps

 elbepack/commands/check_updates.py |  16 +---
 elbepack/elbexml.py                |  16 +++-
 elbepack/pkgutils.py               | 102 ----------------------
 elbepack/rfs.py                    |  75 +++++++++--------
 elbepack/virtapt.py                | 167 +++++++++++++++----------------------
 5 files changed, 122 insertions(+), 254 deletions(-)

-- 
2.11.0




More information about the elbe-devel mailing list