unknown-cli 0.9.42__tar.gz → 0.9.45__tar.gz
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.
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/PKG-INFO +1 -1
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknown_cli.egg-info/PKG-INFO +1 -1
- unknown_cli-0.9.45/unknowncli/VERSION +1 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/commands/project.py +9 -3
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/utils.py +3 -1
- unknown_cli-0.9.42/unknowncli/VERSION +0 -1
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/README.md +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/setup.cfg +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/setup.py +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknown_cli.egg-info/SOURCES.txt +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknown_cli.egg-info/dependency_links.txt +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknown_cli.egg-info/entry_points.txt +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknown_cli.egg-info/requires.txt +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknown_cli.egg-info/top_level.txt +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/__init__.py +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/__main__.py +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/commands/__init__.py +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/commands/preflight.py +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/commands/task.py +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/commands/unreal.py +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/data/.p4ignore.txt +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/set_registry_keys.py +0 -0
- {unknown_cli-0.9.42 → unknown_cli-0.9.45}/unknowncli/set_url_handler.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.9.45
|
|
@@ -95,6 +95,14 @@ def setup(
|
|
|
95
95
|
|
|
96
96
|
Unreal Game Sync: https://www.notion.so/unknownworlds/How-To-Setup-Unreal-Game-Sync-59cc3348cdde449d8fdc7f39ee60c8b3
|
|
97
97
|
"""
|
|
98
|
+
|
|
99
|
+
if " " in perforce_path:
|
|
100
|
+
abort("Workspace path cannot include spaces (sorry)")
|
|
101
|
+
|
|
102
|
+
perforce_path = Path(perforce_path).expanduser()
|
|
103
|
+
if perforce_path.drive == '':
|
|
104
|
+
abort("Workspace folder must be absolute, starting with a drive letter, eg. C:\\Work")
|
|
105
|
+
|
|
98
106
|
p4 = P4()
|
|
99
107
|
if not p4.port or p4.port == "perforce:1666" or force:
|
|
100
108
|
host = prompt("Perforce connection string (ssl:[url]:1666):", default=p4.port)
|
|
@@ -131,11 +139,9 @@ def setup(
|
|
|
131
139
|
abort(f"Error fetching workspaces from Perforce: {e}")
|
|
132
140
|
|
|
133
141
|
secho("OK", fg="green")
|
|
134
|
-
if " " in perforce_path:
|
|
135
|
-
abort("Workspace path cannot include spaces (sorry)")
|
|
136
142
|
|
|
137
143
|
perforce_path = Path(perforce_path).expanduser()
|
|
138
|
-
perforce_drive = perforce_path.drive
|
|
144
|
+
perforce_drive = perforce_path.drive
|
|
139
145
|
_, _, free = shutil.disk_usage(perforce_drive)
|
|
140
146
|
free_gb = free // 1024 // 1024 // 1024
|
|
141
147
|
if free_gb < MIN_FREE_GB:
|
|
@@ -20,6 +20,7 @@ import botocore
|
|
|
20
20
|
from loguru import logger
|
|
21
21
|
from pathlib import Path
|
|
22
22
|
from P4 import P4
|
|
23
|
+
import traceback
|
|
23
24
|
|
|
24
25
|
try:
|
|
25
26
|
import winreg
|
|
@@ -319,7 +320,8 @@ def check_p4config():
|
|
|
319
320
|
#secho("p4 config looks good")
|
|
320
321
|
|
|
321
322
|
except Exception as e:
|
|
322
|
-
secho(f"Exception in check_p4config:
|
|
323
|
+
secho(f"Exception in check_p4config:", fg="yellow")
|
|
324
|
+
secho(traceback.format_exc(), fg="yellow")
|
|
323
325
|
|
|
324
326
|
def check_p4trust():
|
|
325
327
|
try:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.9.42
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|