autoverse-cli 0.28.1__py3-none-any.whl → 0.28.2__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.28.1.dist-info → autoverse_cli-0.28.2.dist-info}/METADATA +1 -1
- {autoverse_cli-0.28.1.dist-info → autoverse_cli-0.28.2.dist-info}/RECORD +8 -8
- avrs/app_version.py +1 -1
- avrs/launcher.py +10 -13
- {autoverse_cli-0.28.1.dist-info → autoverse_cli-0.28.2.dist-info}/WHEEL +0 -0
- {autoverse_cli-0.28.1.dist-info → autoverse_cli-0.28.2.dist-info}/entry_points.txt +0 -0
- {autoverse_cli-0.28.1.dist-info → autoverse_cli-0.28.2.dist-info}/licenses/LICENSE +0 -0
- {autoverse_cli-0.28.1.dist-info → autoverse_cli-0.28.2.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
autoverse_cli-0.28.
|
|
1
|
+
autoverse_cli-0.28.2.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=ullV714kk4FcU4YhcTqWvwnpaDh3TO1AMKAxlmgp2dM,857
|
|
4
4
|
avrs/argparse_help.py,sha256=EoEaohGXZXqJvs1dFEzbo9vh47CYdHdSY2Im2Ps2iFo,945
|
|
5
5
|
avrs/avrs.py,sha256=pQHc8KLAD0hCxpBoNbXOgj2Et3qiqxSMKyAXFLwWFjE,5787
|
|
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=
|
|
9
|
+
avrs/launcher.py,sha256=uk7xG2JTLJv7FJMDo1diwc-zmTvUxXJME9-0ctrZRuk,11352
|
|
10
10
|
avrs/launcher_util.py,sha256=zXUbJByn9M-ErkNM6DvLCFtUkueYH-R0dehjQj0aYEs,6879
|
|
11
11
|
avrs/race_cloud.py,sha256=0m7BdclKhTrqdAA2kLIobwfoYA8X_PRDCFWoizHtPIQ,20124
|
|
12
12
|
avrs/race_cloud_bridge_can.py,sha256=K3is7GFzWo2KBojr6V65kz138UfkVFXXofVxSAziArY,2888
|
|
@@ -44,8 +44,8 @@ avrs/requests/toggle_hud.py,sha256=sV5t5QZc4uvRihPVk8jEKZiQNsyF9tsUwq5b4jjZplc,3
|
|
|
44
44
|
avrs/requests/vd.py,sha256=Rd0mCc89m2yKjftVf0cMHMFbJG4iFd09KzrI-DsCLgI,2606
|
|
45
45
|
avrs/requests/vehicle_input.py,sha256=R1b1xkRtOBkwyU6OSN4bWVlYsIUroZG0WKbYbc4pEH8,729
|
|
46
46
|
avrs/requests/vehicle_replay.py,sha256=7HPfVLjSLNbOyzU77Bz29qpHqRsMUAIWvnwvnNiw2nk,15026
|
|
47
|
-
autoverse_cli-0.28.
|
|
48
|
-
autoverse_cli-0.28.
|
|
49
|
-
autoverse_cli-0.28.
|
|
50
|
-
autoverse_cli-0.28.
|
|
51
|
-
autoverse_cli-0.28.
|
|
47
|
+
autoverse_cli-0.28.2.dist-info/METADATA,sha256=EN_N8x4TzqMGdvq37kRqV-3quJT2GrSWWa0ZV-ec-lc,3935
|
|
48
|
+
autoverse_cli-0.28.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
49
|
+
autoverse_cli-0.28.2.dist-info/entry_points.txt,sha256=Cb9qsUyU5AKkklehCcvtfT0-N3SXbUEqvjze4iEU5kE,40
|
|
50
|
+
autoverse_cli-0.28.2.dist-info/top_level.txt,sha256=-AJO2e4MCVej6hY0U84pu5NfMeMW5qaAPSMisDT5rmA,5
|
|
51
|
+
autoverse_cli-0.28.2.dist-info/RECORD,,
|
avrs/app_version.py
CHANGED
avrs/launcher.py
CHANGED
|
@@ -115,7 +115,7 @@ class AvrsLauncher:
|
|
|
115
115
|
|
|
116
116
|
# Check if variant is valid (for backwards compatibility, we still proceed even if invalid)
|
|
117
117
|
variant_is_invalid = False
|
|
118
|
-
if args.variant
|
|
118
|
+
if args.variant != "staged":
|
|
119
119
|
# Ensure variants are loaded
|
|
120
120
|
if 'variants' not in self.cfg:
|
|
121
121
|
(dl_keys_ok, dl_keys_status, self.cfg) = try_get_launcher_download_keys(self.cfg)
|
|
@@ -128,7 +128,7 @@ class AvrsLauncher:
|
|
|
128
128
|
sys.stderr.write('Warning: "{}" is not a known variant. Available variants: {}\n'.format(
|
|
129
129
|
args.variant, self.cfg['variants']))
|
|
130
130
|
|
|
131
|
-
variant_to_query = "autoverse" if args.variant
|
|
131
|
+
variant_to_query = "autoverse" if args.variant == "staged" else args.variant
|
|
132
132
|
|
|
133
133
|
# Get latest build info from API
|
|
134
134
|
build_info_ok, build_info_status, latest_version, staged_version, build_info = get_launcher_build_info(
|
|
@@ -139,19 +139,11 @@ class AvrsLauncher:
|
|
|
139
139
|
|
|
140
140
|
if args.variant == "staged":
|
|
141
141
|
print('{}'.format(staged_version))
|
|
142
|
-
elif args.variant == "feature":
|
|
143
|
-
feature_info = build_info.get('feature', {})
|
|
144
|
-
if isinstance(feature_info, str):
|
|
145
|
-
try:
|
|
146
|
-
feature_info = json.loads(feature_info)
|
|
147
|
-
except json.JSONDecodeError:
|
|
148
|
-
pass
|
|
149
|
-
print('{}'.format(json.dumps(feature_info)))
|
|
150
142
|
else:
|
|
151
143
|
print('{}'.format(latest_version))
|
|
152
144
|
if variant_is_invalid:
|
|
153
|
-
# Explain that the
|
|
154
|
-
sys.stderr.write('Note:
|
|
145
|
+
# Explain that the variant name was not recognized
|
|
146
|
+
sys.stderr.write('Note: "{}" is not a known variant; showing the prod version value returned by the build info\n'.format(
|
|
155
147
|
args.variant))
|
|
156
148
|
|
|
157
149
|
def download_simulator(self, args):
|
|
@@ -207,10 +199,15 @@ class AvrsLauncher:
|
|
|
207
199
|
target_version = args.target_version
|
|
208
200
|
print('attempting to download specified version: {}'.format(target_version))
|
|
209
201
|
|
|
210
|
-
package_zip_name = 'autoverse-linux-{}.zip'.format(target_version)
|
|
211
202
|
package_name = 'autoverse-linux'
|
|
203
|
+
package_zip_name = '{}-{}.zip'.format(package_name, target_version)
|
|
204
|
+
|
|
205
|
+
if args.variant == 'feature':
|
|
206
|
+
package_zip_name = '{}-feature.zip'.format(package_name)
|
|
212
207
|
if target_version == 'feature':
|
|
213
208
|
args.variant = 'feature'
|
|
209
|
+
package_zip_name = '{}-feature.zip'.format(package_name)
|
|
210
|
+
|
|
214
211
|
bucket_path = '{}/{}'.format(args.variant, package_zip_name)
|
|
215
212
|
dl_path = os.path.join(args.install_path, package_zip_name)
|
|
216
213
|
unzip_path = os.path.join(args.install_path, package_name)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|