superset-showtime 0.5.4__py3-none-any.whl → 0.5.6__py3-none-any.whl
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.
Potentially problematic release.
This version of superset-showtime might be problematic. Click here for more details.
- showtime/__init__.py +1 -1
- showtime/core/pull_request.py +10 -7
- showtime/data/ecs-task-definition.json +1 -1
- {superset_showtime-0.5.4.dist-info → superset_showtime-0.5.6.dist-info}/METADATA +1 -1
- {superset_showtime-0.5.4.dist-info → superset_showtime-0.5.6.dist-info}/RECORD +7 -7
- {superset_showtime-0.5.4.dist-info → superset_showtime-0.5.6.dist-info}/WHEEL +0 -0
- {superset_showtime-0.5.4.dist-info → superset_showtime-0.5.6.dist-info}/entry_points.txt +0 -0
showtime/__init__.py
CHANGED
showtime/core/pull_request.py
CHANGED
|
@@ -648,9 +648,7 @@ class PullRequest:
|
|
|
648
648
|
Returns:
|
|
649
649
|
Number of environments stopped
|
|
650
650
|
"""
|
|
651
|
-
#
|
|
652
|
-
self.refresh_labels()
|
|
653
|
-
|
|
651
|
+
# Note: Labels should be fresh from recent _update_show_labels() call
|
|
654
652
|
stopped_count = 0
|
|
655
653
|
|
|
656
654
|
for show in self.shows:
|
|
@@ -659,11 +657,16 @@ class PullRequest:
|
|
|
659
657
|
try:
|
|
660
658
|
show.stop(dry_run_github=dry_run_github, dry_run_aws=dry_run_aws)
|
|
661
659
|
|
|
662
|
-
# Remove labels for this old environment
|
|
660
|
+
# Remove ONLY existing labels for this old environment (not theoretical ones)
|
|
663
661
|
if not dry_run_github:
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
662
|
+
existing_labels = [
|
|
663
|
+
label for label in self.labels
|
|
664
|
+
if label.startswith(f"🎪 {show.sha} ") or
|
|
665
|
+
label == f"🎪 🎯 {show.sha}" or
|
|
666
|
+
label == f"🎪 🏗️ {show.sha}"
|
|
667
|
+
]
|
|
668
|
+
print(f"🏷️ Removing existing labels for {show.sha}: {existing_labels}")
|
|
669
|
+
for label in existing_labels:
|
|
667
670
|
try:
|
|
668
671
|
get_github().remove_label(self.pr_number, label)
|
|
669
672
|
except Exception as e:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: superset-showtime
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.6
|
|
4
4
|
Summary: 🎪 Apache Superset ephemeral environment management with circus tent emoji state tracking
|
|
5
5
|
Project-URL: Homepage, https://github.com/apache/superset-showtime
|
|
6
6
|
Project-URL: Documentation, https://superset-showtime.readthedocs.io/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
showtime/__init__.py,sha256
|
|
1
|
+
showtime/__init__.py,sha256=-Ztgg8h_575Pgg976_q2WLHdhCe_pDlZfkn4C2DCjws,448
|
|
2
2
|
showtime/__main__.py,sha256=EVaDaTX69yIhCzChg99vqvFSCN4ELstEt7Mpb9FMZX8,109
|
|
3
3
|
showtime/cli.py,sha256=cQB5kH-XWFX3MhsxRaChVdjVe_I_7kBVyFY4fQrHPWA,30542
|
|
4
4
|
showtime/core/__init__.py,sha256=54hbdFNGrzuNMBdraezfjT8Zi6g221pKlJ9mREnKwCw,34
|
|
@@ -7,10 +7,10 @@ showtime/core/emojis.py,sha256=MHEDuPIdfNiop4zbNLuviz3eY05QiftYSHHCVbkfKhw,2129
|
|
|
7
7
|
showtime/core/github.py,sha256=uETvKDO2Yhpqg3fxLtrKaCuZR3b-1LVmgnf5aLcqrAQ,9988
|
|
8
8
|
showtime/core/github_messages.py,sha256=MfgwCukrEsWWesMsuL8saciDgP4nS-gijzu8DXr-Alg,7450
|
|
9
9
|
showtime/core/label_colors.py,sha256=efhbFnz_3nqEnEqmgyF6_hZbxtCu_fmb68BIIUpSsnk,3895
|
|
10
|
-
showtime/core/pull_request.py,sha256=
|
|
10
|
+
showtime/core/pull_request.py,sha256=V1TF_KYYqigQHWndRL72CRfVcpOSo_IOh_JHu7HJzVE,27512
|
|
11
11
|
showtime/core/show.py,sha256=FpxDm52LASCJvf8UF998AtNiVzfdYIwNEsPAsOAAwL0,9701
|
|
12
|
-
showtime/data/ecs-task-definition.json,sha256=
|
|
13
|
-
superset_showtime-0.5.
|
|
14
|
-
superset_showtime-0.5.
|
|
15
|
-
superset_showtime-0.5.
|
|
16
|
-
superset_showtime-0.5.
|
|
12
|
+
showtime/data/ecs-task-definition.json,sha256=P7NQljXZTOPW1fWdehGrwJGAh5vdFK9-LzGT59q1PU0,2098
|
|
13
|
+
superset_showtime-0.5.6.dist-info/METADATA,sha256=1zFfoAQUM_UnA9u_C6gK64zeXfPU4TXQnACMVh7lZxQ,12052
|
|
14
|
+
superset_showtime-0.5.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
15
|
+
superset_showtime-0.5.6.dist-info/entry_points.txt,sha256=rDW7oZ57mqyBUS4N_3_R7bZNGVHB-104jwmY-hHC_ck,85
|
|
16
|
+
superset_showtime-0.5.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|