[Yum-devel] plugings modifying the URLGrabber instance

seth vidal skvidal at phy.duke.edu
Mon Jun 27 03:37:01 UTC 2005


On Sun, 2005-06-26 at 23:26 -0400, Jack Neely wrote:
> Folks,
> 
> What are people's thoughts on a plugin's abilities to modify the
> URLGrabber instance?  
> 
> Such as adding HTTP headers.  *cough*RHN support*cough*
> 
> Looks like the best place to do this is in doRepoSetup() directly before
> calling repo.getRepoXML() as that appears to be after you configure the
> repo and before you've attempted to reach across the network for the
> repo information.

I don't think plugins should be modifying things that deeply.

Let's not hack rhn support in through plugins - if we want to do it - do
it properly.

-sv





More information about the Yum-devel mailing list