unknown-cli 0.9.12__tar.gz → 0.9.13__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.12 → unknown-cli-0.9.13}/PKG-INFO +18 -18
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/README.md +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/setup.cfg +4 -4
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/setup.py +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/PKG-INFO +18 -18
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/SOURCES.txt +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/dependency_links.txt +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/entry_points.txt +0 -1
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/requires.txt +12 -12
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/top_level.txt +0 -0
- unknown-cli-0.9.13/unknowncli/VERSION +1 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/__init__.py +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/__main__.py +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/commands/__init__.py +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/commands/preflight.py +8 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/commands/project.py +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/commands/task.py +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/commands/unreal.py +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/data/.p4ignore.txt +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/set_registry_keys.py +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/set_url_handler.py +0 -0
- {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/utils.py +10 -6
- unknown-cli-0.9.12/unknowncli/VERSION +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: unknown-cli
|
|
3
|
-
Version: 0.9.
|
|
4
|
-
Summary: Unknown Commandline Tool
|
|
5
|
-
Home-page:
|
|
6
|
-
Author:
|
|
7
|
-
Author-email:
|
|
8
|
-
License: MIT
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: unknown-cli
|
|
3
|
+
Version: 0.9.13
|
|
4
|
+
Summary: Unknown Commandline Tool
|
|
5
|
+
Home-page:
|
|
6
|
+
Author:
|
|
7
|
+
Author-email:
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Requires-Python: >=3.6
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# Unknown CLI
|
|
17
|
+
|
|
18
|
+
Internal tool
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[egg_info]
|
|
2
|
-
tag_build =
|
|
3
|
-
tag_date = 0
|
|
4
|
-
|
|
1
|
+
[egg_info]
|
|
2
|
+
tag_build =
|
|
3
|
+
tag_date = 0
|
|
4
|
+
|
|
File without changes
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: unknown-cli
|
|
3
|
-
Version: 0.9.
|
|
4
|
-
Summary: Unknown Commandline Tool
|
|
5
|
-
Home-page:
|
|
6
|
-
Author:
|
|
7
|
-
Author-email:
|
|
8
|
-
License: MIT
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: unknown-cli
|
|
3
|
+
Version: 0.9.13
|
|
4
|
+
Summary: Unknown Commandline Tool
|
|
5
|
+
Home-page:
|
|
6
|
+
Author:
|
|
7
|
+
Author-email:
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Requires-Python: >=3.6
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# Unknown CLI
|
|
17
|
+
|
|
18
|
+
Internal tool
|
|
File without changes
|
|
File without changes
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
boto3
|
|
3
|
-
boto3
|
|
1
|
+
typer
|
|
4
2
|
click
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
loguru
|
|
3
|
+
requests
|
|
4
|
+
boto3
|
|
8
5
|
psutil
|
|
6
|
+
jsonpath-rw
|
|
7
|
+
pyyaml
|
|
9
8
|
pyjwt
|
|
9
|
+
tabulate
|
|
10
|
+
colorama
|
|
11
|
+
shellingham
|
|
12
|
+
boto3
|
|
13
|
+
loguru
|
|
14
|
+
P4Python
|
|
15
|
+
rich
|
|
10
16
|
pyuac
|
|
11
17
|
pywin32
|
|
12
|
-
pyyaml
|
|
13
|
-
requests
|
|
14
|
-
rich
|
|
15
|
-
shellingham
|
|
16
|
-
tabulate
|
|
17
|
-
typer
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.9.13
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -533,6 +533,12 @@ def get_script_path(script_file_name):
|
|
|
533
533
|
|
|
534
534
|
|
|
535
535
|
def get_shelve_preflight_build_id(shelve_changelist, type=PreflightType.FULL, stream="", find=False, print_output=True, abort_on_fail=True):
|
|
536
|
+
content_only = True
|
|
537
|
+
for depot_file in [x["depotFile"] for x in get_opened_file_list(shelve_changelist)]:
|
|
538
|
+
if "/Source/" in depot_file:
|
|
539
|
+
content_only = False
|
|
540
|
+
break
|
|
541
|
+
|
|
536
542
|
cmd = [
|
|
537
543
|
sys.executable,
|
|
538
544
|
get_script_path("trigger_shelve_preflight.py"),
|
|
@@ -542,6 +548,8 @@ def get_shelve_preflight_build_id(shelve_changelist, type=PreflightType.FULL, st
|
|
|
542
548
|
["--find"] if find else ["--preflight_type", type]
|
|
543
549
|
) + (
|
|
544
550
|
["--shelve_stream", stream] if stream else []
|
|
551
|
+
) + (
|
|
552
|
+
["--contentonly"] if content_only else []
|
|
545
553
|
)
|
|
546
554
|
build_id = ""
|
|
547
555
|
try:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -40,12 +40,16 @@ root_logger.addHandler(console_handler)
|
|
|
40
40
|
log = logging.getLogger(__name__)
|
|
41
41
|
|
|
42
42
|
PERFORCE_SERVERS = {
|
|
43
|
-
"": "ssl:
|
|
44
|
-
"europe-edge": "ssl:
|
|
45
|
-
"asia-edge": "ssl:
|
|
43
|
+
"": "ssl:34.228.87.227:1666",
|
|
44
|
+
"europe-edge": "ssl:18.197.203.201:1666",
|
|
45
|
+
"asia-edge": "ssl:54.151.161.45:1666"
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
P4_TRUST =
|
|
48
|
+
P4_TRUST = {
|
|
49
|
+
"ssl:34.228.87.227:1666": "15:8C:68:10:50:EA:9E:83:5B:A9:65:81:70:FA:C7:6E:01:4F:16:B6",
|
|
50
|
+
"ssl:18.197.203.201:1666": "AE:FD:C3:AE:C3:19:0A:C9:E0:40:04:7D:70:03:A7:E8:48:44:FC:97",
|
|
51
|
+
"ssl:54.151.161.45:1666": "9D:62:A2:23:18:AA:7D:61:5A:B7:A2:EA:77:31:62:0D:50:53:E6:7C"
|
|
52
|
+
}
|
|
49
53
|
|
|
50
54
|
def print_error(*txt):
|
|
51
55
|
color_print(*txt, color="red")
|
|
@@ -319,7 +323,7 @@ def check_p4trust():
|
|
|
319
323
|
for ssl_connection in ssl_connection_list:
|
|
320
324
|
p4_port = ssl_connection.replace("ssl:", "")
|
|
321
325
|
matching_trust_line = next(
|
|
322
|
-
(t for t in trust_line_list if t.startswith(p4_port) and t.endswith(P4_TRUST)),
|
|
326
|
+
(t for t in trust_line_list if t.startswith(p4_port) and t.endswith(P4_TRUST[ssl_connection])),
|
|
323
327
|
None
|
|
324
328
|
)
|
|
325
329
|
if matching_trust_line:
|
|
@@ -332,7 +336,7 @@ def check_p4trust():
|
|
|
332
336
|
# ignore error "WARNING P4PORT IDENTIFICATION HAS CHANGED" since we're setting the trust
|
|
333
337
|
p4.exception_level = 0 # 2 by default which means raise all
|
|
334
338
|
p4.connect()
|
|
335
|
-
p4.run_trust("-i", P4_TRUST)
|
|
339
|
+
p4.run_trust("-i", P4_TRUST[ssl_connection])
|
|
336
340
|
except Exception as e:
|
|
337
341
|
secho(f"Exception in check_p4trust: {e}", fg="yellow")
|
|
338
342
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.9.12
|