Red Hat Bugzilla – Bug 1275010
Hawkey does not provide version information in the user agent
Last modified: 2015-10-27 07:39:40 EDT
Description of problem:
The entire user agent on HTTP requests performed by Hawkey is "PackageKit-Hawkey", which does not give any information for version.
It would be very useful if that information could be added.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make Hawkey perform an http request through PackageKit
2. Observe the web server's web log
User agent says "PackageKit-Hawkey"
User agent says something like "PackageKit-Hawkey/0.6.1"
It would be even greater if information about the distribution running is provided.
Something like "PackageKit-Hawkey/0.6.1.fc22" would be the most ideal.
Author: Richard Hughes <email@example.com>
Date: Tue Oct 27 11:39:11 2015 +0000
Include the libhif version in the user agent string