autoverse-cli 0.19.5__py3-none-any.whl → 0.19.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {autoverse_cli-0.19.5.dist-info → autoverse_cli-0.19.6.dist-info}/METADATA +1 -1
- {autoverse_cli-0.19.5.dist-info → autoverse_cli-0.19.6.dist-info}/RECORD +10 -10
- avrs/app_version.py +1 -1
- avrs/launcher.py +6 -3
- avrs/launcher_util.py +4 -4
- avrs/race_cloud_cfg_util.py +2 -1
- {autoverse_cli-0.19.5.dist-info → autoverse_cli-0.19.6.dist-info}/WHEEL +0 -0
- {autoverse_cli-0.19.5.dist-info → autoverse_cli-0.19.6.dist-info}/entry_points.txt +0 -0
- {autoverse_cli-0.19.5.dist-info → autoverse_cli-0.19.6.dist-info}/licenses/LICENSE +0 -0
- {autoverse_cli-0.19.5.dist-info → autoverse_cli-0.19.6.dist-info}/top_level.txt +0 -0
@@ -1,16 +1,16 @@
|
|
1
|
-
autoverse_cli-0.19.
|
1
|
+
autoverse_cli-0.19.6.dist-info/licenses/LICENSE,sha256=d4eWXho-u18HkBsX4K21uHX_bBb2UXZSrJdsb7Z_JlM,2647
|
2
2
|
avrs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
avrs/app_version.py,sha256=
|
3
|
+
avrs/app_version.py,sha256=Is_SpBRM9OLLcW-kHPtavL1_Vp3h-VqOOCoyFDfNeBc,856
|
4
4
|
avrs/argparse_help.py,sha256=EoEaohGXZXqJvs1dFEzbo9vh47CYdHdSY2Im2Ps2iFo,945
|
5
5
|
avrs/avrs.py,sha256=oTtEGdiKJUw03EpKKvgwWahbr9OxxJW3uSrCuFt7DDg,4755
|
6
6
|
avrs/can_tool.py,sha256=IBoctKobBJ3wCq4ZdtuXuXH4AMEUxazCfYT6YP0Luw8,7161
|
7
7
|
avrs/can_tool_util.py,sha256=G3q21dTGMLc09SDq_RieoW7kSn-kXPkXxPDjavPh4hQ,7710
|
8
8
|
avrs/cfg.py,sha256=kMn08Z4Ms1PAu2-U1QI8weEJeIVEppP4A4_tFfwnjtg,2924
|
9
|
-
avrs/launcher.py,sha256=
|
10
|
-
avrs/launcher_util.py,sha256=
|
9
|
+
avrs/launcher.py,sha256=1xew4ZPZtbKE2364ZRlT-TnWabRVKBESk8ZKSpxs8rU,9539
|
10
|
+
avrs/launcher_util.py,sha256=oWsFBqqDgaLBvqe9m0ahTviXLZvOHKP_8mebKYzQF3Q,5384
|
11
11
|
avrs/race_cloud.py,sha256=0m7BdclKhTrqdAA2kLIobwfoYA8X_PRDCFWoizHtPIQ,20124
|
12
12
|
avrs/race_cloud_bridge_can.py,sha256=K3is7GFzWo2KBojr6V65kz138UfkVFXXofVxSAziArY,2888
|
13
|
-
avrs/race_cloud_cfg_util.py,sha256=
|
13
|
+
avrs/race_cloud_cfg_util.py,sha256=D00lLCTF0_Wr4_bwOhsmYabyw2RfWLLGXOrh3DzfNOc,11530
|
14
14
|
avrs/race_cloud_fwd_api.py,sha256=jB4kt6Shu9Pj96WPVjK790PZjucYxmuHjjVKczQfyZI,1620
|
15
15
|
avrs/race_cloud_util.py,sha256=g1gCxmK-8n32aNj0NWEiZr79s1rB0EYbGmNLabsIW0U,14297
|
16
16
|
avrs/simconfig.py,sha256=UZc4FrxVHUkk2e9IglSpuojXkaL_nPrJW7trbEGgOOo,2907
|
@@ -41,8 +41,8 @@ avrs/requests/toggle_hud.py,sha256=sV5t5QZc4uvRihPVk8jEKZiQNsyF9tsUwq5b4jjZplc,3
|
|
41
41
|
avrs/requests/vd.py,sha256=Rd0mCc89m2yKjftVf0cMHMFbJG4iFd09KzrI-DsCLgI,2606
|
42
42
|
avrs/requests/vehicle_input.py,sha256=R1b1xkRtOBkwyU6OSN4bWVlYsIUroZG0WKbYbc4pEH8,729
|
43
43
|
avrs/requests/vehicle_replay.py,sha256=dQ9jQX8UhC5hNbdSu_zTn4gicR2GuTCyOmSBiCYBipI,14696
|
44
|
-
autoverse_cli-0.19.
|
45
|
-
autoverse_cli-0.19.
|
46
|
-
autoverse_cli-0.19.
|
47
|
-
autoverse_cli-0.19.
|
48
|
-
autoverse_cli-0.19.
|
44
|
+
autoverse_cli-0.19.6.dist-info/METADATA,sha256=GrYSrJuX_NWV5mNG4i_UbhmCiFrytcD84cVrCswjyPc,3364
|
45
|
+
autoverse_cli-0.19.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
46
|
+
autoverse_cli-0.19.6.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
|
47
|
+
autoverse_cli-0.19.6.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
|
48
|
+
autoverse_cli-0.19.6.dist-info/RECORD,,
|
avrs/app_version.py
CHANGED
avrs/launcher.py
CHANGED
@@ -111,7 +111,7 @@ class AvrsLauncher:
|
|
111
111
|
return
|
112
112
|
|
113
113
|
# Get latest build info from API
|
114
|
-
build_info_ok, build_info_status, latest_version,
|
114
|
+
build_info_ok, build_info_status, latest_version, staged_version = get_launcher_build_info(self.cfg)
|
115
115
|
if not build_info_ok:
|
116
116
|
print('Error Getting Latest Version Info: {}'.format(build_info_status))
|
117
117
|
return
|
@@ -140,7 +140,7 @@ class AvrsLauncher:
|
|
140
140
|
return
|
141
141
|
|
142
142
|
# Get latest build info from API
|
143
|
-
build_info_ok, build_info_status, latest_version,
|
143
|
+
build_info_ok, build_info_status, latest_version, staged_version = get_launcher_build_info(self.cfg)
|
144
144
|
if not build_info_ok:
|
145
145
|
print('Error Getting Latest Version Info: {}'.format(build_info_status))
|
146
146
|
return
|
@@ -162,7 +162,10 @@ class AvrsLauncher:
|
|
162
162
|
shutil.copytree(copy_from_saved_dir, copy_saved_cache)
|
163
163
|
|
164
164
|
target_version = latest_version
|
165
|
-
if args.target_version
|
165
|
+
if args.target_version == 'staged':
|
166
|
+
target_version = staged_version
|
167
|
+
print('attempting to download staged version: {}'.format(target_version))
|
168
|
+
elif args.target_version != '':
|
166
169
|
target_version = args.target_version
|
167
170
|
print('attempting to download specified version: {}'.format(target_version))
|
168
171
|
|
avrs/launcher_util.py
CHANGED
@@ -110,13 +110,13 @@ def get_launcher_build_info(cfg):
|
|
110
110
|
table = db_resource.Table('autoverse-ci-meta')
|
111
111
|
item = table.get_item(Key={'package-name': 'autoverse'})
|
112
112
|
|
113
|
-
if not 'Item' in item or '
|
113
|
+
if not 'Item' in item or 'prod' not in item['Item'] or 'staging' not in item['Item']:
|
114
114
|
status = 'Unable to Retrieve Latest Version'
|
115
115
|
return (False, status, '', '')
|
116
116
|
|
117
|
-
latest_version = item['Item']['
|
118
|
-
|
119
|
-
return (True, status, latest_version,
|
117
|
+
latest_version = item['Item']['prod']
|
118
|
+
staged_version = item.get('Item', {}).get('staging', latest_version)
|
119
|
+
return (True, status, latest_version, staged_version)
|
120
120
|
|
121
121
|
def download_simulator_archive(cfg, source_path, target_path):
|
122
122
|
"""
|
avrs/race_cloud_cfg_util.py
CHANGED
@@ -78,6 +78,7 @@ def register_received_vehicle(team_name, slot, cfg_data, bsu_vcan, kistler_vcan,
|
|
78
78
|
bsu_vcan, kistler_vcan, badenia_vcan))
|
79
79
|
eav24['body']['primaryCanName'] = bsu_vcan
|
80
80
|
eav24['body']['secondaryCanName'] = kistler_vcan
|
81
|
+
|
81
82
|
eav24['body']['badeniaCanName'] = badenia_vcan
|
82
83
|
|
83
84
|
# limit can rates to conserve resources
|
@@ -273,7 +274,7 @@ def prepare_vehicle_cfg(cfg_path):
|
|
273
274
|
if kistler_vcan == '':
|
274
275
|
logger.info('secondaryCanName key not found, trying old kistlerCanName')
|
275
276
|
kistler_vcan = eav24['body'].get('kistlerCanName', '')
|
276
|
-
badenia_vcan =
|
277
|
+
badenia_vcan = 'unused'
|
277
278
|
|
278
279
|
if bsu_vcan == '':
|
279
280
|
logger.error('could not find either primaryCanName or bsuCanName')
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|