debian-forge/osbuild
David Rheinsberg 18b16acd3f pipeline: drop redundant shortcut
All callsites of `Pipeline.assemble()` already check early whether the
output-object exists in the store and then return it. Checking again in
`assemble()` will never catch anything (unless another stage would
happen to produce the same ID as the assembler as a side-effect).

It does seem useful to keep the shortcuts in `assemble()`, so other
callers would get the shortcut as well. However, this does not really
work well right now, since you want to skip the stage-compilation as
well, and `assemble()` is really just the last step of the job. Hence,
it really is the job of the pipeline-executor to check early.

With that in mind, lets drop this fast-path which has no effect in the
current setup.
2020-05-28 11:16:15 +02:00
..
util osbuild: avoid [] as default value 2020-05-28 11:06:05 +02:00
__init__.py osbuild: extract CLI to prepare for additional entrypoints 2020-04-28 15:39:54 +02:00
__main__.py osbuild: extract CLI to prepare for additional entrypoints 2020-04-28 15:39:54 +02:00
api.py osbuild: convert to jsoncomm 2020-04-21 13:47:38 +02:00
buildroot.py buildroot: convert unused format-string 2020-05-28 11:06:05 +02:00
loop.py loop: fix FD leak in mknod() 2020-04-21 13:02:29 +02:00
main_cli.py osbuild: avoid [] as default value 2020-05-28 11:06:05 +02:00
meta.py osbuild: avoid [] as default value 2020-05-28 11:06:05 +02:00
objectstore.py util/ctx: extract suppress_oserror() 2020-05-11 18:05:12 +02:00
pipeline.py pipeline: drop redundant shortcut 2020-05-28 11:16:15 +02:00
remoteloop.py osbuild: convert to jsoncomm 2020-04-21 13:47:38 +02:00
sources.py sources: pass the library dir to the sources 2020-05-20 14:43:33 +02:00
treesum.py treesum: don't use dir_fd parameter in os.scandir() 2019-11-29 00:45:14 +01:00