[katello-devel] Repo remodeled

Mike McCune mmccune at redhat.com
Mon Oct 24 15:16:54 UTC 2011


On 10/21/2011 05:40 PM, Partha Aji wrote:
> So after discussions with Mike and others I finally got the initial db based model of repositories working. The changes for these are in the repo-remodel branch. So idea is we are going to be treating Repo orchestration similar to that of the consumer (atleast on the pulp side).
> The change introduce the following models
> 1) Repository : holds the Repo ID, the repo names, things like black listing and env,product bindings the repo belongs to
> 2) EnvironmentProduct ->  a mapping class containing an environment and a product.
>
> I initially started with binding  Product And Environment through Repository but then ran into issue when even the simplest Product.save required a repo created in pulp for it with the locker environment. Given the delicate nature of the orchestration I preferred keeping the orchestration part as close to the original as possible.
>
> Operations yet to be done
> 1) Promotion
> 2) Permissions
>
>
> But at the present time, Product.create/product.repos(env) should work.
>
> Partha
>

you didn't mention where this is ...  remote branch right?

-- 
Mike McCune
mmccune AT redhat.com
Red Hat Engineering       | Portland, OR
Systems Management        | 650.254.4248




More information about the katello-devel mailing list