-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace User Agent Parser libs #24
Replace User Agent Parser libs #24
Conversation
…or.sourceforge.net/). UADetector relies on the same external resources, but can rely on cached User Agent Strings in the lib, if `user-agent-strings.info` is not available. Also, easy to keep cached datastore up-to-date by updating POM to latest/greatest UADetector in Maven Central. A regression though, didn't maintain support `uaCache` option, doesn't seem necessary anymore sind UADetector should handle keeping it up-to-date.
Nice - I will check out soon. Also: is that a Pink Floyd reference I see? :) On Sep 4, 2013, at 1:05 PM, wormyourhonor notifications@github.com wrote:
|
This would be a great fix. Got bit by this bug yesterday! |
@lightbody - heheh, you've exposed me before my peers! @rcrowell - yeah, Tuesday's outage was my motivation. Couple of potential concerns... Problem 1: I suppose, if users are using BMP as a library & instantiating Problem 2: However, if BMP performance regressions are seen, this could be added. |
Replace User Agent Parser libs
@wormyourhonor Sadly, it looks like this pull request broke some stuff that I'm just noticing. Right now when I start up BMP from master the UA parser breaks down. There is definitely a very large XML file in temp, but when the code tries parsing it this exception happens. Any ideas?
|
hmm...no idea, I'll take a look. |
ich habe un idea! Per UADetector issue 44, schema for UA XML from user-agent.info changed recently. So, the downloaded update, |
So the last comment on the aforementioned UADetector issue, states that the library will be updated in the next release to handle the new schema/format. Based on their history of updates to maven central, I'd expect the version to be available by the end of the week (no later than Monday???). In the future though, schema changes/breakages like these would, hopefully, be rare. I can create a new pull request once the update is available & tested. Worth noting/reiterating, while the updated |
Yeah, the backup still works so I think we're fine. Thanks -- looking forward to the updated pull request. |
Replace User Agent Parser libs with UADetector libs.
UADetector relies on the same external resources, but can rely on cached User Agent Strings in the lib, if
user-agent-strings.info
is not available.Also, easy to keep cached datastore up-to-date by updating POM to latest/greatest UADetector in Maven Central.
A regression though, didn't maintain support
uaCache
option, doesn't seem necessary anymore since UADetector should handle keeping it up-to-date.This is a potential implementation of #9