In dry_run mode, we are not talking to ODCS and instead fake the compose. But when doing, so, we have to generate unique compose id.
dry_run
LGTM.
Is it ok to return 0 when no compose have been found? As i understand the compose_id identifies the compose in the db, with this it looks like a compose with id 0 exists. Wouldnt be None a better return value?
rebased onto 29c18a08336b79f96e52569dac0fdd625e46661f
Rebased, added comment about returning 0.
Pull-Request has been merged by jkaluza
In
dry_runmode, we are not talking to ODCS and instead fake the compose. But when doing, so, we have to generate unique compose id.