unknown-cli 0.9.22__tar.gz → 0.9.24__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.22 → unknown-cli-0.9.24}/PKG-INFO +1 -1
  2. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknown_cli.egg-info/PKG-INFO +1 -1
  3. unknown-cli-0.9.24/unknowncli/VERSION +1 -0
  4. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/commands/preflight.py +2 -7
  5. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/commands/project.py +2 -1
  6. unknown-cli-0.9.22/unknowncli/VERSION +0 -1
  7. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/README.md +0 -0
  8. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/setup.cfg +0 -0
  9. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/setup.py +0 -0
  10. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknown_cli.egg-info/SOURCES.txt +0 -0
  11. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknown_cli.egg-info/dependency_links.txt +0 -0
  12. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknown_cli.egg-info/entry_points.txt +0 -0
  13. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknown_cli.egg-info/requires.txt +0 -0
  14. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknown_cli.egg-info/top_level.txt +0 -0
  15. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/__init__.py +0 -0
  16. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/__main__.py +0 -0
  17. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/commands/__init__.py +0 -0
  18. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/commands/task.py +0 -0
  19. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/commands/unreal.py +0 -0
  20. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/data/.p4ignore.txt +0 -0
  21. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/set_registry_keys.py +0 -0
  22. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/set_url_handler.py +0 -0
  23. {unknown-cli-0.9.22 → unknown-cli-0.9.24}/unknowncli/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unknown-cli
3
- Version: 0.9.22
3
+ Version: 0.9.24
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.22
3
+ Version: 0.9.24
4
4
  Summary: Unknown Commandline Tool
5
5
  Home-page: UNKNOWN
6
6
  Author:
@@ -0,0 +1 @@
1
+ 0.9.24
@@ -764,13 +764,8 @@ def get_teamcity_build_json(build_id):
764
764
  def move_open_files_to_default(shelve_changelist: str):
765
765
  opened_file_list = get_opened_file_list(shelve_changelist)
766
766
  if opened_file_list:
767
- if any('+l' in x['type'] for x in opened_file_list):
768
- secho("\nYour CL contains exclusive edit files:")
769
- for x in opened_file_list:
770
- secho(f"\n {x['depotFile']}")
771
- secho(f"\nMake sure not to revert these files until your preflight completes! (Press any key to continue)", fg="green", bold=True)
772
- input('')
773
767
  reopen_changelist_to_default(shelve_changelist)
768
+ return opened_file_list
774
769
 
775
770
  def commit(shelve_changelist: str):
776
771
  """
@@ -780,7 +775,7 @@ def commit(shelve_changelist: str):
780
775
  secho(f"\nLooking to commit shelve: {shelve_changelist}")
781
776
 
782
777
  # Move opened files to default so that the shelve can be submitted.
783
- move_open_files_to_default(shelve_changelist)
778
+ opened_file_list = move_open_files_to_default(shelve_changelist)
784
779
  describe_shelve = get_describe_shelve(shelve_changelist)[0]
785
780
  submitted_changelist = submit_shelve(shelve_changelist)
786
781
 
@@ -135,7 +135,8 @@ def setup(
135
135
  abort("Workspace path cannot include spaces (sorry)")
136
136
 
137
137
  perforce_path = Path(perforce_path).expanduser()
138
- _, _, free = shutil.disk_usage(perforce_path.drive)
138
+ perforce_drive = perforce_path.drive or "C:"
139
+ _, _, free = shutil.disk_usage(perforce_drive)
139
140
  free_gb = free // 1024 // 1024 // 1024
140
141
  if free_gb < MIN_FREE_GB:
141
142
  secho(
@@ -1 +0,0 @@
1
- 0.9.22
File without changes
File without changes
File without changes