unknown-cli 0.9.30__tar.gz → 0.9.32__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.32}/PKG-INFO +1 -1
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknown_cli.egg-info/PKG-INFO +1 -1
- unknown-cli-0.9.32/unknowncli/VERSION +1 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/commands/preflight.py +13 -1
- unknown-cli-0.9.30/unknowncli/VERSION +0 -1
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/README.md +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/setup.cfg +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/setup.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknown_cli.egg-info/SOURCES.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknown_cli.egg-info/dependency_links.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknown_cli.egg-info/entry_points.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknown_cli.egg-info/requires.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknown_cli.egg-info/top_level.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/__init__.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/__main__.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/commands/__init__.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/commands/project.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/commands/task.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/commands/unreal.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/data/.p4ignore.txt +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/set_registry_keys.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/set_url_handler.py +0 -0
- {unknown-cli-0.9.30 → unknown-cli-0.9.32}/unknowncli/utils.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.9.32
|
|
@@ -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.
|
|
@@ -862,7 +874,7 @@ def main(
|
|
|
862
874
|
secho("Initializing, this may take a moment...\n", bold=True)
|
|
863
875
|
|
|
864
876
|
# Check for Tailscale connection
|
|
865
|
-
if not "
|
|
877
|
+
if not "tailscale" in os.environ["PATH"].lower() or not tailscale_is_connected():
|
|
866
878
|
abort("In order to preflight you must be connected to Tailscale.")
|
|
867
879
|
|
|
868
880
|
try:
|
|
@@ -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
|