On Mon, 2008-05-12 at 12:06 -0400, James Antill wrote:
> On Mon, 2008-05-12 at 11:23 -0400, Brian Long wrote:
> > Many browsers including the OS name and platform architecture in their
> > user agent strings.  Mozilla includes "PPC Mac OS X" or "Linux i686",
> > for example.  I was hoping you might consider adding the name of the OS
> > and the platform architecture to the default urlgrabber user_agent
> > defined in grabber.py.
> > 
> > Currently, the user_agent is "urlgrabber/2.9.9" or "urlgrabber/3.0.0".
> > I was wondering if you would consider changing the default to be as
> > follows:
> > 
> > "urlgrabber/3.0.0 (Linux)" or "urlgrabber/3.0.0 (Linux i686)"
> > "urlgrabber/3.0.0 (Mac OS X)" or "urlgrabber/3.0.0 (Mac OS X PPC)"
> > "urlgrabber/3.0.0 (SunOS) or "urlgrabber/3.0.0 (SunOS sparc)".
> > 
> > One reason to do this would allow for OS and architecture tracking in
> > Apache access_log.  I can currently track OS and architecture when
> > people are using Mozilla or IE, but not when they're using yum /
> > urlgrabber.
> 
>  Isn't this trivial by having $basearch and/or $releasever in your URL
> lines?
> 

well, up to a point - it won't tell them macosx - but, umm, let's be
clear - that's a weird os to run on anyway :)

-sv


_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to