Skip to content
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

update uap-core submodule #70

Merged
merged 11 commits into from
Jul 31, 2019

Conversation

admitad-github
Copy link

Updated uap-core submodule have support for many new browsers.
Related issues #66, #68.

@selwin
Copy link
Contributor

selwin commented Apr 7, 2019

@admitad-github could you please look at the failing tests?

@admitad-github
Copy link
Author

Yes, will look at it today

@admitad-github
Copy link
Author

@selwin ok, looks like all tests are passing now. Also, we added build matrix for Travis CI, so tests run in parallel now.

@rbntimes
Copy link

rbntimes commented May 6, 2019

Would be great to get this one through, really usefull @admitad-github

@sjzabel
Copy link

sjzabel commented May 8, 2019

I could definitely use this update. Thank you @admitad-github Thank you in advance @selwin

@allan-simon
Copy link

awesome, can't wait for it to be merged

@ajlai
Copy link

ajlai commented Jul 18, 2019

@mattrobenolt any chance we can get this PR merged? Would be super helpful!

@dgoldstein0
Copy link

Also would like to see this ship, but I think I need uap-core 0.6.8 (as I want to see support for parsing the new Edge Chromium user agent). It looks like uap-core@0.6.8 is not included in the latest version of this PR?

@dgoldstein0
Copy link

@elsigh mind merging this one too? I'll send a PR to update to uap-core 0.6.9 after this is merged; figuring it doesn't make sense for me to redo this work.

@@ -61,15 +61,15 @@ def Parse(self, user_agent_string):
if self.v1_replacement:
v1 = self.v1_replacement
elif match.lastindex and match.lastindex >= 2:
v1 = match.group(2)
v1 = match.group(2) or None

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am curious, is there any impact of this or None? seems like it would just cause v1 = None instead of v1 = '' - is that the intent?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it was intended to match with the tests in uap-core, e.g. uap-core/tests/test_os.yaml, where some fields have None instead of empty string.

@dgoldstein0
Copy link

or perhaps I could interest @tobie in merging this?

@elsigh
Copy link
Contributor

elsigh commented Jul 31, 2019

I'm rolling with checks passing = ok

@elsigh elsigh merged commit 326da3e into ua-parser:master Jul 31, 2019
@dgoldstein0
Copy link

awesome!

@admitad-github admitad-github deleted the feature/update-uap-core branch August 17, 2019 05:09
masklinn added a commit to masklinn/uap-python that referenced this pull request Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's
really not clear why ua-parser#70 reintroduced a requirements.txt for it,
unless there were points at which `install_requires` was not resolved
as a *dependency*, so pyyaml had to be separately installed for
`develop` to work?
masklinn added a commit to masklinn/uap-python that referenced this pull request Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's
really not clear why ua-parser#70 reintroduced a requirements.txt for it,
unless there were points at which `install_requires` was not resolved
as a *dependency*, so pyyaml had to be separately installed for
`develop` to work?

See also: ua-parser#103
masklinn added a commit to masklinn/uap-python that referenced this pull request Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's
really not clear why ua-parser#70 reintroduced a requirements.txt for it,
unless there were points at which `install_requires` was not resolved
as a *dependency*, so pyyaml had to be separately installed for
`develop` to work?

See also: ua-parser#103
masklinn added a commit to masklinn/uap-python that referenced this pull request Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's
really not clear why ua-parser#70 reintroduced a requirements.txt for it,
unless there were points at which `install_requires` was not resolved
as a *dependency*, so pyyaml had to be separately installed for
`develop` to work?

See also: ua-parser#103
masklinn added a commit to masklinn/uap-python that referenced this pull request Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's
really not clear why ua-parser#70 reintroduced a requirements.txt for it,
unless there were points at which `install_requires` was not resolved
as a *dependency*, so pyyaml had to be separately installed for
`develop` to work?

See also: ua-parser#103
masklinn added a commit to masklinn/uap-python that referenced this pull request Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's
really not clear why ua-parser#70 reintroduced a requirements.txt for it,
unless there were points at which `install_requires` was not resolved
as a *dependency*, so pyyaml had to be separately installed for
`develop` to work?

See also: ua-parser#103
masklinn added a commit to masklinn/uap-python that referenced this pull request Apr 27, 2022
Also update internal version thingie to match. And remove 2.6 from the
classifier tags, as it was dropped way back in 2019 (ua-parser#70,
a9665f7)
masklinn added a commit to masklinn/uap-python that referenced this pull request Apr 27, 2022
pyyaml hasn't been a required dependency for a very long time, it's
really not clear why ua-parser#70 reintroduced a requirements.txt for it,
unless there were points at which `install_requires` was not resolved
as a *dependency*, so pyyaml had to be separately installed for
`develop` to work?

See also: ua-parser#103
masklinn added a commit to masklinn/uap-python that referenced this pull request Apr 27, 2022
Also update internal version thingie to match. And remove 2.6 from the
classifier tags, as it was dropped way back in 2019 (ua-parser#70,
a9665f7)
masklinn added a commit that referenced this pull request Apr 30, 2022
pyyaml hasn't been a required dependency for a very long time, it's
really not clear why #70 reintroduced a requirements.txt for it,
unless there were points at which `install_requires` was not resolved
as a *dependency*, so pyyaml had to be separately installed for
`develop` to work?

See also: #103

Closes #106
masklinn added a commit to masklinn/uap-python that referenced this pull request Apr 30, 2022
Also update internal version thingie to match. And remove 2.6 from the
classifier tags, as it was dropped way back in 2019 (ua-parser#70,
a9665f7)
masklinn added a commit that referenced this pull request Apr 30, 2022
Also update internal version thingie to match. And remove 2.6 from the
classifier tags, as it was dropped way back in 2019 (#70,
a9665f7)

Fixes #100, closes #107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants