unknown-cli 0.9.36__tar.gz → 0.9.40__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.36/unknown_cli.egg-info → unknown_cli-0.9.40}/PKG-INFO +2 -2
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/setup.py +1 -1
- {unknown-cli-0.9.36 → unknown_cli-0.9.40/unknown_cli.egg-info}/PKG-INFO +1 -1
- unknown_cli-0.9.40/unknowncli/VERSION +1 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/commands/preflight.py +21 -8
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/commands/project.py +3 -1
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/set_registry_keys.py +1 -1
- unknown-cli-0.9.36/unknowncli/VERSION +0 -1
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/README.md +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/setup.cfg +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknown_cli.egg-info/SOURCES.txt +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknown_cli.egg-info/dependency_links.txt +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknown_cli.egg-info/entry_points.txt +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknown_cli.egg-info/requires.txt +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknown_cli.egg-info/top_level.txt +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/__init__.py +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/__main__.py +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/commands/__init__.py +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/commands/task.py +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/commands/unreal.py +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/data/.p4ignore.txt +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/set_url_handler.py +0 -0
- {unknown-cli-0.9.36 → unknown_cli-0.9.40}/unknowncli/utils.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.9.40
|
|
@@ -90,19 +90,19 @@ custom_tool_list.append(
|
|
|
90
90
|
name = "Preflight",
|
|
91
91
|
custom_tool_def_list = [
|
|
92
92
|
CustomToolDef(
|
|
93
|
-
name="Preflight Only - Quick
|
|
93
|
+
name="Preflight Only - Quick", command = pwsh_tool_exe, add_separator_before = True,
|
|
94
94
|
arguments = f"{pwsh_cmd_base} {base_cmd_quick_no_commit}"
|
|
95
95
|
),
|
|
96
96
|
CustomToolDef(
|
|
97
|
-
name="Preflight Only - Full
|
|
97
|
+
name="Preflight Only - Full", command = pwsh_tool_exe,
|
|
98
98
|
arguments = f"{pwsh_cmd_base} {base_cmd_full_no_commit}"
|
|
99
99
|
),
|
|
100
100
|
CustomToolDef(
|
|
101
|
-
name="Preflight and Commit - Quick
|
|
101
|
+
name="Preflight and Commit - Quick", command = pwsh_tool_exe, add_separator_before = True,
|
|
102
102
|
arguments = f"{pwsh_cmd_base} {base_cmd_quick}"
|
|
103
103
|
),
|
|
104
104
|
CustomToolDef(
|
|
105
|
-
name="Preflight and Commit - Full
|
|
105
|
+
name="Preflight and Commit - Full", command = pwsh_tool_exe,
|
|
106
106
|
arguments = f"{pwsh_cmd_base} {base_cmd_full}"
|
|
107
107
|
)
|
|
108
108
|
]
|
|
@@ -121,19 +121,19 @@ custom_tool_list.append(
|
|
|
121
121
|
name = "Preflight",
|
|
122
122
|
custom_tool_def_list = [
|
|
123
123
|
CustomToolDef(
|
|
124
|
-
name = "Preflight Only - Quick
|
|
124
|
+
name = "Preflight Only - Quick", command = powershell_tool_exe, add_separator_before = True,
|
|
125
125
|
arguments = f"{powershell_cmd_base} \"{base_cmd_quick_no_commit}\" '"
|
|
126
126
|
),
|
|
127
127
|
CustomToolDef(
|
|
128
|
-
name = "Preflight Only - Full
|
|
128
|
+
name = "Preflight Only - Full", command = powershell_tool_exe,
|
|
129
129
|
arguments = f"{powershell_cmd_base} \"{base_cmd_full_no_commit}\" '"
|
|
130
130
|
),
|
|
131
131
|
CustomToolDef(
|
|
132
|
-
name = "Preflight and Commit - Quick
|
|
132
|
+
name = "Preflight and Commit - Quick", command = powershell_tool_exe, add_separator_before = True,
|
|
133
133
|
arguments = f"{powershell_cmd_base} \"{base_cmd_quick}\" '"
|
|
134
134
|
),
|
|
135
135
|
CustomToolDef(
|
|
136
|
-
name = "Preflight and Commit - Full
|
|
136
|
+
name = "Preflight and Commit - Full", command = powershell_tool_exe,
|
|
137
137
|
arguments = f"{powershell_cmd_base} \"{base_cmd_full}\" '"
|
|
138
138
|
)
|
|
139
139
|
]
|
|
@@ -269,6 +269,15 @@ def install_p4v_tools(type_override: P4VConfigType=None):
|
|
|
269
269
|
if sub_element.tag != "CustomToolFolder":
|
|
270
270
|
continue
|
|
271
271
|
if sub_element.findtext("Name") == tool_folder_to_add.name:
|
|
272
|
+
# Compare number of defined tools in the XML vs. tool count in the tool list to see if
|
|
273
|
+
# we need to update. This should be replaced with a deeper comparison, in case we modify
|
|
274
|
+
# any of the tools to support changes to parameters and such.
|
|
275
|
+
tool_def_list = list(sub_element.find("CustomToolDefList"))
|
|
276
|
+
tool_def_count = sum([t.tag == "CustomToolDef" for t in tool_def_list])
|
|
277
|
+
if tool_def_count == tool_folder_to_add.tool_count():
|
|
278
|
+
secho("P4V Preflight context menu already added.", bold=True)
|
|
279
|
+
if not type_override:
|
|
280
|
+
return
|
|
272
281
|
root.remove(sub_element)
|
|
273
282
|
break
|
|
274
283
|
add_custom_tool_folder(root, tool_folder_to_add)
|
|
@@ -920,6 +929,10 @@ def main(
|
|
|
920
929
|
if use_server_submit:
|
|
921
930
|
secho("\nBuild is requested, it is safe to close this window at any time!\n")
|
|
922
931
|
|
|
932
|
+
if type == PreflightType.QUICK:
|
|
933
|
+
secho("\n ** Quick Build Preflight is being used!", fg="yellow", bg="black", bold=True)
|
|
934
|
+
secho("\n ** If your preflight should test cooking please cancel and run a Full Build Preflight from P4V.", fg="yellow", bg="black", bold=True)
|
|
935
|
+
|
|
923
936
|
wait_on_teamcity_build(build_id, shelve_changelist, use_server_submit)
|
|
924
937
|
|
|
925
938
|
build_json = get_teamcity_build_json(build_id)
|
|
@@ -384,7 +384,9 @@ def region():
|
|
|
384
384
|
continue
|
|
385
385
|
secho(f"Moving {client_name} from {prev_server} to {p4_port}...")
|
|
386
386
|
try:
|
|
387
|
-
|
|
387
|
+
cmd = f"p4 -p {p4_port} reload -c {client_name} -p {prev_server}"
|
|
388
|
+
echo(f"Running command '{cmd}'...")
|
|
389
|
+
check_output(cmd)
|
|
388
390
|
except Exception as e:
|
|
389
391
|
secho(f"Error moving {client_name}.", fg="red")
|
|
390
392
|
secho(f"Updating your perforce config file {str(cfg)}...")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""
|
|
2
2
|
sets the s:/ subst command in registry, elevates access if needed.
|
|
3
|
-
Include the full value in quotes when calling this script. e.g. `set_registry_keys.py "subst S:
|
|
3
|
+
Include the full value in quotes when calling this script. e.g. `set_registry_keys.py "subst S: [full path]"`
|
|
4
4
|
"""
|
|
5
5
|
import pyuac, winreg, sys
|
|
6
6
|
from os import getcwd
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.9.36
|
|
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
|