Skip to content

Commit d1ccade

Browse files
authored
Merge branch 'master' into pr_app_001
2 parents 742507d + 9672705 commit d1ccade

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

Parser/OperatingSystem.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ class OperatingSystem extends AbstractParser
9898
'LEN' => 'Lineage OS',
9999
'LBT' => 'Lubuntu',
100100
'LOS' => 'Lumin OS',
101+
'LUN' => 'LuneOS',
101102
'VLN' => 'VectorLinux',
102103
'MAC' => 'Mac',
103104
'MAE' => 'Maemo',
@@ -212,7 +213,7 @@ class OperatingSystem extends AbstractParser
212213
'Mac' => ['MAC'],
213214
'Mobile Gaming Console' => ['PSP', 'NDS', 'XBX'],
214215
'Real-time OS' => ['MTK', 'TDX', 'MRE', 'JME', 'REX'],
215-
'Other Mobile' => ['WOS', 'POS', 'SBA', 'TIZ', 'SMG', 'MAE'],
216+
'Other Mobile' => ['WOS', 'POS', 'SBA', 'TIZ', 'SMG', 'MAE', 'LUN'],
216217
'Symbian' => ['SYM', 'SYS', 'SY3', 'S60', 'S40'],
217218
'Unix' => ['SOS', 'AIX', 'HPX', 'BSD', 'NBS', 'OBS', 'DFB', 'SYL', 'IRI', 'T64', 'INF'],
218219
'WebTV' => ['WTV'],

Tests/Parser/fixtures/oss.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3990,3 +3990,11 @@
39903990
version: "7"
39913991
platform:
39923992
family: Android
3993+
-
3994+
user_agent: Mozilla/5.0 (LuneOS, like webOS/3.0.5; Tablet) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.9.2 Chrome/56.0.2924.103 Safari/537.36
3995+
os:
3996+
name: LuneOS
3997+
short_name: LUN
3998+
version:
3999+
platform:
4000+
family: Other Mobile

regexes/oss.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
# @license http://www.gnu.org/licenses/lgpl.html LGPL v3 or later
66
###############
77

8+
##########
9+
# LuneOS (https://www.webos-ports.org/)
10+
##########
11+
- regex: 'LuneOS'
12+
name: 'LuneOS'
13+
version: ''
14+
815
##########
916
# Oracle Linux (https://www.oracle.com/linux/)
1017
##########

0 commit comments

Comments
 (0)