OSBS team will be using ODCS directly, so Freshmaker does not have to create ODCS composes at all if container image is configured to use this new OSBS feature.
Freshmaker basically have to detect if "content_sets.yml" exists in git repository next to Dockerfile. Then it also needs to detect it "contaienr.yaml" exists and "pulp_repos" is set to True. In this case, we should not create Pulp repos in Freshmaker - OSBS will do it automatically for us.
We still need to keep the old code there as a fallback, because it will take some time for all images to switch to this new ODCS feature.
OSBS team will be using ODCS directly, so Freshmaker does not have to create ODCS composes at all if container image is configured to use this new OSBS feature.
Freshmaker basically have to detect if "content_sets.yml" exists in git repository next to Dockerfile. Then it also needs to detect it "contaienr.yaml" exists and "pulp_repos" is set to True. In this case, we should not create Pulp repos in Freshmaker - OSBS will do it automatically for us.
We still need to keep the old code there as a fallback, because it will take some time for all images to switch to this new ODCS feature.