Description of issue or feature request:
A clear separation between file download logic and metadata verification in Updater. Design and implement appropriate class, part of the client internals, that performs all metadata/target files download operations.
This should happen together with a redesign of the mirrors and download modules and considering the recent addition of fetcher and requests_fetcher.
Some issues of the current implementation:
See related comments: #1291 (comment), #1291 (comment)
Description of issue or feature request:
A clear separation between file download logic and metadata verification in Updater. Design and implement appropriate class, part of the client internals, that performs all metadata/target files download operations.
This should happen together with a redesign of the
mirrorsanddownloadmodules and considering the recent addition offetcherandrequests_fetcher.Some issues of the current implementation:
the existing functions inClient refactor: code reformatting #1341download.pymake the call stack deeper than necessaryClient refactor: code reformatting #1341safe_downloadandunsafe_downloadonly differ by one boolean flagmirrors.pycontains only a single function parsing the mirror config, sync with mirror_conig design client/updater design: mirror config redesign #1143See related comments: #1291 (comment), #1291 (comment)