unknown-cli 0.9.30__tar.gz → 0.9.31__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.30 → unknown-cli-0.9.31}/PKG-INFO +1 -1
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknown_cli.egg-info/PKG-INFO +1 -1
- unknown-cli-0.9.31/unknowncli/VERSION +1 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/commands/preflight.py +12 -0
- unknown-cli-0.9.30/unknowncli/VERSION +0 -1
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/README.md +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/setup.cfg +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/setup.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknown_cli.egg-info/SOURCES.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknown_cli.egg-info/dependency_links.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknown_cli.egg-info/entry_points.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknown_cli.egg-info/requires.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknown_cli.egg-info/top_level.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/__init__.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/__main__.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/commands/__init__.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/commands/project.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/commands/task.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/commands/unreal.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/data/.p4ignore.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/set_registry_keys.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/set_url_handler.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.31}/unknowncli/utils.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.9.31
|
|
@@ -734,10 +734,22 @@ def wait_on_teamcity_build(build_id, changelist, submit_on_server):
|
|
|
734
734
|
return table
|
|
735
735
|
|
|
736
736
|
build_json = get_teamcity_build_json(build_id)
|
|
737
|
+
estimate_build_id = build_id
|
|
738
|
+
running_info = get_build_running_info(build_json)
|
|
739
|
+
if not 'estimatedTotalSeconds' in running_info:
|
|
740
|
+
snapshot_dependencies = build_json.get("snapshot-dependencies")
|
|
741
|
+
estimate_build_id = str(snapshot_dependencies.get("build")[0].get("id"))
|
|
737
742
|
prev_state = None
|
|
738
743
|
with Live(generate_state_table(build_json), refresh_per_second=3) as live:
|
|
739
744
|
while get_build_state(build_json) in [BuildState.QUEUED, BuildState.RUNNING, BuildState.FINISHED]:
|
|
740
745
|
build_json = get_teamcity_build_json(build_id)
|
|
746
|
+
if estimate_build_id != build_id and "startDate" in build_json:
|
|
747
|
+
estimate_json = get_teamcity_build_json(estimate_build_id)
|
|
748
|
+
if "finishEstimate" in estimate_json:
|
|
749
|
+
finish_estimate = datetime.strptime(estimate_json["finishEstimate"], "%Y%m%dT%H%M%S%z")
|
|
750
|
+
start_date = datetime.strptime(build_json["startDate"], "%Y%m%dT%H%M%S%z")
|
|
751
|
+
build_json["running-info"]["estimatedTotalSeconds"] = (finish_estimate - start_date).seconds
|
|
752
|
+
|
|
741
753
|
live.update(generate_state_table(build_json))
|
|
742
754
|
curr_state = get_build_state(build_json)
|
|
743
755
|
# Skip updating if we did a submit on server as that process already updated the tag.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.9.30
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|