Looking at the source of action_reposync.py, it seems relatively easy to 
replace "reposync" with "rhnget" (from mrepo) in the section that 
mirrors from RHN. Having said that, I wonder if others would find this a 
useful feature.

If so, I would be willing to write a patch however I will need some 
guidance as to how to implement this. First, we need a way of telling 
cobbler to use rhnget instead of reposync. Second, rhnget needs the path 
to the systemid file for this particular repo. Since there are already 
restrictions on the name of the repo, this path can possibly be 
hard-coded. Third, it might be desirable to pass options to rhnget, such 
as "--download-all". Should this be global or per repo or both? Fourth 
and finally, rhnget provides a "--filter" which could provide the 
functionality of "rpm-list" (though it expects a regex).

Is there any interest?


Chris
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to