-
Notifications
You must be signed in to change notification settings - Fork 285
Closed
Labels
experimental-clientItems related to the development of a new client (see milestone/8 and theexperimental-client branch)Items related to the development of a new client (see milestone/8 and theexperimental-client branch)
Milestone
Description
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:
-
the existing functions inClient refactor: code reformatting #1341download.pymake the call stack deeper than necessary -
Client refactor: code reformatting #1341safe_downloadandunsafe_downloadonly differ by one boolean flag -
mirrors.pycontains only a single function parsing the mirror config, sync with mirror_conig design client/updater design: mirror config redesign #1143 - move the packages under the client directory in a way that makes it easy to distinguish repository components from internal client components and client public API. (see Abstract out the network IO #1250 (comment))
See related comments: #1291 (comment), #1291 (comment)
Metadata
Metadata
Assignees
Labels
experimental-clientItems related to the development of a new client (see milestone/8 and theexperimental-client branch)Items related to the development of a new client (see milestone/8 and theexperimental-client branch)