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.
Files changed (23) hide show
  1. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/PKG-INFO +18 -18
  2. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/README.md +0 -0
  3. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/setup.cfg +4 -4
  4. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/setup.py +0 -0
  5. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/PKG-INFO +18 -18
  6. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/SOURCES.txt +0 -0
  7. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/dependency_links.txt +0 -0
  8. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/entry_points.txt +0 -1
  9. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/requires.txt +12 -12
  10. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknown_cli.egg-info/top_level.txt +0 -0
  11. unknown-cli-0.9.13/unknowncli/VERSION +1 -0
  12. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/__init__.py +0 -0
  13. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/__main__.py +0 -0
  14. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/commands/__init__.py +0 -0
  15. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/commands/preflight.py +8 -0
  16. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/commands/project.py +0 -0
  17. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/commands/task.py +0 -0
  18. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/commands/unreal.py +0 -0
  19. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/data/.p4ignore.txt +0 -0
  20. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/set_registry_keys.py +0 -0
  21. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/set_url_handler.py +0 -0
  22. {unknown-cli-0.9.12 → unknown-cli-0.9.13}/unknowncli/utils.py +10 -6
  23. 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.12
4
- Summary: Unknown Commandline Tool
5
- Home-page: UNKNOWN
6
- Author:
7
- Author-email:
8
- License: MIT
9
- Description: # Unknown CLI
10
-
11
- Internal tool
12
- Platform: UNKNOWN
13
- Classifier: Intended Audience :: Developers
14
- Classifier: License :: OSI Approved :: MIT License
15
- Classifier: Operating System :: OS Independent
16
- Classifier: Programming Language :: Python :: 3
17
- Requires-Python: >=3.6
18
- Description-Content-Type: text/markdown
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.12
4
- Summary: Unknown Commandline Tool
5
- Home-page: UNKNOWN
6
- Author:
7
- Author-email:
8
- License: MIT
9
- Description: # Unknown CLI
10
-
11
- Internal tool
12
- Platform: UNKNOWN
13
- Classifier: Intended Audience :: Developers
14
- Classifier: License :: OSI Approved :: MIT License
15
- Classifier: Operating System :: OS Independent
16
- Classifier: Programming Language :: Python :: 3
17
- Requires-Python: >=3.6
18
- Description-Content-Type: text/markdown
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
@@ -1,4 +1,3 @@
1
1
  [console_scripts]
2
2
  unk = unknowncli.__main__:app
3
3
  unknown = unknowncli.__main__:app
4
-
@@ -1,17 +1,17 @@
1
- P4Python
2
- boto3
3
- boto3
1
+ typer
4
2
  click
5
- colorama
6
- jsonpath-rw
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
@@ -0,0 +1 @@
1
+ 0.9.13
@@ -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:
@@ -40,12 +40,16 @@ root_logger.addHandler(console_handler)
40
40
  log = logging.getLogger(__name__)
41
41
 
42
42
  PERFORCE_SERVERS = {
43
- "": "ssl:perforce.reginald.cloud:1666",
44
- "europe-edge": "ssl:perforce-europe.reginald.cloud:1666",
45
- "asia-edge": "ssl:perforce-asia.reginald.cloud:1666"
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 = "53:1B:D8:ED:15:D9:CB:1A:C9:20:CD:BC:BC:FA:EB:5A:CC:22:85:FD"
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