From f1b406a774d7bee4ddc1fd557e3510bd7576aa12 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Wed, 28 Apr 2021 09:15:50 +0000 Subject: [PATCH] pipeline: remove sources server All sources are now pre-fetched before any pipeline and thus any stage is being built. Additionally, in the version 1 foramt, all stages that were using source are converted to use inputs when the manifest is loaded. Thus, nothing should use `source.get` and thus the sources API (`SourcesServer`) anymore. --- osbuild/pipeline.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/osbuild/pipeline.py b/osbuild/pipeline.py index 922cdecb..c13fc91a 100644 --- a/osbuild/pipeline.py +++ b/osbuild/pipeline.py @@ -9,7 +9,6 @@ from .api import API from . import buildroot from . import objectstore from . import remoteloop -from . import sources from .inputs import Input from .sources import Source from .util import osrelease @@ -104,12 +103,6 @@ class Stage: api = API(args, monitor) build_root.register_api(api) - src = sources.SourcesServer(libdir, - self.sources, - os.path.join(store.store, "sources"), - sources_output) - build_root.register_api(src) - rls = remoteloop.LoopServer() build_root.register_api(rls)