unknown-cli 0.9.43__tar.gz → 0.9.46__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.43 → unknown_cli-0.9.46}/PKG-INFO +1 -1
  2. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknown_cli.egg-info/PKG-INFO +1 -1
  3. unknown_cli-0.9.46/unknowncli/VERSION +1 -0
  4. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/__main__.py +3 -1
  5. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/commands/preflight.py +1 -1
  6. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/commands/project.py +9 -3
  7. unknown_cli-0.9.43/unknowncli/VERSION +0 -1
  8. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/README.md +0 -0
  9. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/setup.cfg +0 -0
  10. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/setup.py +0 -0
  11. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknown_cli.egg-info/SOURCES.txt +0 -0
  12. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknown_cli.egg-info/dependency_links.txt +0 -0
  13. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknown_cli.egg-info/entry_points.txt +0 -0
  14. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknown_cli.egg-info/requires.txt +0 -0
  15. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknown_cli.egg-info/top_level.txt +0 -0
  16. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/__init__.py +0 -0
  17. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/commands/__init__.py +0 -0
  18. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/commands/task.py +0 -0
  19. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/commands/unreal.py +0 -0
  20. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/data/.p4ignore.txt +0 -0
  21. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/set_registry_keys.py +0 -0
  22. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/set_url_handler.py +0 -0
  23. {unknown_cli-0.9.43 → unknown_cli-0.9.46}/unknowncli/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unknown_cli
3
- Version: 0.9.43
3
+ Version: 0.9.46
4
4
  Summary: Unknown Commandline Tool
5
5
  Home-page: UNKNOWN
6
6
  Author:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unknown-cli
3
- Version: 0.9.43
3
+ Version: 0.9.46
4
4
  Summary: Unknown Commandline Tool
5
5
  Home-page: UNKNOWN
6
6
  Author:
@@ -0,0 +1 @@
1
+ 0.9.46
@@ -33,7 +33,9 @@ def cli(
33
33
  # by default we log out to console WARN and higher but can view info with -v
34
34
  #if verbose:
35
35
  # console_handler.setLevel(getattr(logging, verbose.upper()))
36
- set_url_handler()
36
+ # There was an error in calling this for first time users, no one is using this.
37
+ #set_url_handler()
38
+ pass
37
39
  check_p4config()
38
40
  check_p4trust()
39
41
 
@@ -921,7 +921,7 @@ def main(
921
921
  else:
922
922
  abort(f"No opened files or shelve to work with in changelist '{change_obj.change}'...")
923
923
 
924
- use_content_build = shelf_is_content_only(shelve_changelist)
924
+ use_content_build = shelf_is_content_only(shelve_changelist) and type == PreflightType.QUICK
925
925
  build_id = get_shelve_preflight_build_id(
926
926
  shelve_changelist, type=type, stream=get_client_stream(change_obj.client), print_output=verbose, submit_on_server=(use_server_submit and commit_on_success), content_only_build=use_content_build
927
927
  )
@@ -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 or "C:"
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:
@@ -1 +0,0 @@
1
- 0.9.43
File without changes
File without changes
File without changes