Skip to content

Commit 507db9d

Browse files
Update Chrome OS ARM hardware ID's (#525)
1 parent 3c6bf72 commit 507db9d

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

lib/inputstreamhelper/config.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,14 @@
8282
# To keep the Chrome OS ARM hardware ID list up to date, the following resources can be used:
8383
# https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices
8484
# https://chromiumdash.appspot.com/serving-builds?deviceCategory=Chrome%20OS
85-
# Last updated: 2022-02-24
85+
# Last updated: 2022-11-17
8686
CHROMEOS_RECOVERY_ARM_HWIDS = [
8787
'BOB',
8888
'BURNET',
8989
'COACHZ',
9090
'COZMO',
9191
'DAMU',
92+
'DOJO-EJPG',
9293
'DRUWL',
9394
'DUMO',
9495
'ELM',
@@ -105,16 +106,20 @@
105106
'KATSU',
106107
'KENZO-IGRW',
107108
'KEVIN',
109+
'KINGOFTOWN-KDDA',
108110
'KODAMA',
109111
'KRANE-ZDKS',
110112
'LAZOR',
111113
'LIMOZEEN',
112114
'MAKOMO-UTTX',
113115
'PAZQUEL-HGNV',
116+
'PAZQUEL-OPNA',
114117
'PICO-EXEM',
115118
'POMPOM-MZVS',
119+
'QUACKINGSTICK',
116120
'SCARLET',
117121
'SPHERION',
122+
'TOMATO-LYVN',
118123
'WILLOW-TFIY',
119124
'WORMDINGLER-JQAO',
120125
]

tests/checkchromeos.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
def get_devices():
1111
"""Get Chrome OS devices as json object"""
1212
url = 'https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices'
13-
response = requests.get(url)
13+
response = requests.get(url, timeout=10)
1414
response.raise_for_status()
1515
html = response.text.split('<table>')[3].split('</table>')[0]
1616
html = '<table>' + html + '</table>'
@@ -45,7 +45,7 @@ def get_arm_devices():
4545
def get_serves():
4646
"""Get Chrome OS serving updates as json object"""
4747
url = 'https://chromiumdash.appspot.com/cros/fetch_serving_builds?deviceCategory=Chrome%20OS'
48-
response = requests.get(url)
48+
response = requests.get(url, timeout=10)
4949
response.raise_for_status()
5050
serves = response.json().get('builds')
5151
return serves
@@ -54,7 +54,7 @@ def get_serves():
5454
def get_recoveries():
5555
"""Get Chrome OS recovery items as json object"""
5656
url = 'https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.json'
57-
response = requests.get(url)
57+
response = requests.get(url, timeout=10)
5858
response.raise_for_status()
5959
recoveries = response.json()
6060
return recoveries

0 commit comments

Comments
 (0)