File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 82
82
# To keep the Chrome OS ARM hardware ID list up to date, the following resources can be used:
83
83
# https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices
84
84
# https://chromiumdash.appspot.com/serving-builds?deviceCategory=Chrome%20OS
85
- # Last updated: 2022-02-24
85
+ # Last updated: 2022-11-17
86
86
CHROMEOS_RECOVERY_ARM_HWIDS = [
87
87
'BOB' ,
88
88
'BURNET' ,
89
89
'COACHZ' ,
90
90
'COZMO' ,
91
91
'DAMU' ,
92
+ 'DOJO-EJPG' ,
92
93
'DRUWL' ,
93
94
'DUMO' ,
94
95
'ELM' ,
105
106
'KATSU' ,
106
107
'KENZO-IGRW' ,
107
108
'KEVIN' ,
109
+ 'KINGOFTOWN-KDDA' ,
108
110
'KODAMA' ,
109
111
'KRANE-ZDKS' ,
110
112
'LAZOR' ,
111
113
'LIMOZEEN' ,
112
114
'MAKOMO-UTTX' ,
113
115
'PAZQUEL-HGNV' ,
116
+ 'PAZQUEL-OPNA' ,
114
117
'PICO-EXEM' ,
115
118
'POMPOM-MZVS' ,
119
+ 'QUACKINGSTICK' ,
116
120
'SCARLET' ,
117
121
'SPHERION' ,
122
+ 'TOMATO-LYVN' ,
118
123
'WILLOW-TFIY' ,
119
124
'WORMDINGLER-JQAO' ,
120
125
]
Original file line number Diff line number Diff line change 10
10
def get_devices ():
11
11
"""Get Chrome OS devices as json object"""
12
12
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 )
14
14
response .raise_for_status ()
15
15
html = response .text .split ('<table>' )[3 ].split ('</table>' )[0 ]
16
16
html = '<table>' + html + '</table>'
@@ -45,7 +45,7 @@ def get_arm_devices():
45
45
def get_serves ():
46
46
"""Get Chrome OS serving updates as json object"""
47
47
url = 'https://chromiumdash.appspot.com/cros/fetch_serving_builds?deviceCategory=Chrome%20OS'
48
- response = requests .get (url )
48
+ response = requests .get (url , timeout = 10 )
49
49
response .raise_for_status ()
50
50
serves = response .json ().get ('builds' )
51
51
return serves
@@ -54,7 +54,7 @@ def get_serves():
54
54
def get_recoveries ():
55
55
"""Get Chrome OS recovery items as json object"""
56
56
url = 'https://dl.google.com/dl/edgedl/chromeos/recovery/recovery.json'
57
- response = requests .get (url )
57
+ response = requests .get (url , timeout = 10 )
58
58
response .raise_for_status ()
59
59
recoveries = response .json ()
60
60
return recoveries
You can’t perform that action at this time.
0 commit comments