Chris O'Regan wrote: > 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 > I can't accept mrepo support (we can't endorse usage of mrepo for what should be obvious reasons), but I would consider a patch to allow an arbitrary mirroring engine in addition to yumdownloader, reposync, and yum's reposync.
You should wait until JP's patches are tested and applied for apt support though, as they have a lot of changes in them that would make something like that easier. --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
