[katello-devel] Merged Repo Remodel to master

Garik Khachikyan gkhachik at redhat.com
Wed Nov 9 10:18:03 UTC 2011


On 11/08/2011 03:48 PM, Partha Aji wrote:
> Just a heads up, that I merged the contents of repo-remodel branch to master. This modifies the orchestration of the repos from Katello. Katello will now store some information about the repo in its database before calling pulp. So for example during Katello's pulp repo create / repo clone operations, we'd store the repo information in KT database. This information will help us in a lot of ways including faster retrieval of basic info needed for many pages, help with blacklisting repos, help with search, permission checks etc. The Repository AR model will now lazily load from pulp if one needs information like Packages belonging to pulp and so on.
> A note and possibly an issue with this mapping which we should plan address at some point is the connectivity to the Candlepin 'Content' idea. We do not map Repository to Content yet. That part of the orchestration is left as it was before. This purely a wrapper over pulp repo.
>
> One annoyance with this merge is this will require you to run the clean-all on your database :/, since it changes the mappings across products and environments. I initially thought of creating a migrate script to alter the tables, but then noticed that one would need to reimport the manifest and recreate the repos in the database anyway, for the data to be in Pulp and Katello's database. So run the clean all. For those of you upgrading from the RPM, katello-reset-db might not be enough at this point since it does not reset everything. Will look into that in a bit. Please let me know/file bugs if you run into issues.
>
>
>
> Partha
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
Just a question in background of recent implementation:

If it's possible to implement a solution which will list the content of 
manifest file; display it on page first and THEN refer to pulp for 
processing the all the rest stuff there?

As for now (+if connection is slow) the one who decides to import a 
manifest into Katello would need to consider several 10-s of minutes in 
there...

Is not there a way to browse "some" content - make the page loaded?

thanks,
Garik.




More information about the katello-devel mailing list