qontract-reconcile 0.10.1rc500__py3-none-any.whl → 0.10.1rc501__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.
- {qontract_reconcile-0.10.1rc500.dist-info → qontract_reconcile-0.10.1rc501.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc500.dist-info → qontract_reconcile-0.10.1rc501.dist-info}/RECORD +6 -6
- reconcile/utils/slack_api.py +13 -5
- {qontract_reconcile-0.10.1rc500.dist-info → qontract_reconcile-0.10.1rc501.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc500.dist-info → qontract_reconcile-0.10.1rc501.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc500.dist-info → qontract_reconcile-0.10.1rc501.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc500.dist-info → qontract_reconcile-0.10.1rc501.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.1rc501
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Home-page: https://github.com/app-sre/qontract-reconcile
|
6
6
|
Author: Red Hat App-SRE Team
|
{qontract_reconcile-0.10.1rc500.dist-info → qontract_reconcile-0.10.1rc501.dist-info}/RECORD
RENAMED
@@ -563,7 +563,7 @@ reconcile/utils/repo_owners.py,sha256=j-pUjc9PuDzq7KpjNLpnhqfU8tUG4nj2WMhFp4ick7
|
|
563
563
|
reconcile/utils/secret_reader.py,sha256=2DeYAAQFjUULEKlLw3UDAUoND6gbqvCh9uKPtlc-0us,10403
|
564
564
|
reconcile/utils/semver_helper.py,sha256=dp86KxjlOc8LHzawMvbxRfZamv7KU7b2SVnZQL-Xg6U,1142
|
565
565
|
reconcile/utils/sharding.py,sha256=gkYf0lD3IUKQPEmdRJZ70mdDT1c9qWjbdP7evRsUis4,839
|
566
|
-
reconcile/utils/slack_api.py,sha256=
|
566
|
+
reconcile/utils/slack_api.py,sha256=OPmzU6L9rJx2XXDlZkMlxLjOWu17yC-fVCoUItzQrXw,16295
|
567
567
|
reconcile/utils/smtp_client.py,sha256=gJNbBQJpAt5PX4t_TaeNHsXM8vt50bFgndml6yK2b5o,2800
|
568
568
|
reconcile/utils/sqs_gateway.py,sha256=gFl9DM4DmGnptuxTOe4lS3YTyE80eSAvK42ljS8h4dA,2287
|
569
569
|
reconcile/utils/state.py,sha256=SAa6QLHu9lr0yqLCBy2AypNx1IPCJWlrRBrvlzAKsOU,14505
|
@@ -653,8 +653,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
|
|
653
653
|
tools/test/test_qontract_cli.py,sha256=d18KrdhtUGqoC7_kWZU128U0-VJEj-0rjFkLVufcI6I,2755
|
654
654
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
655
655
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
656
|
-
qontract_reconcile-0.10.
|
657
|
-
qontract_reconcile-0.10.
|
658
|
-
qontract_reconcile-0.10.
|
659
|
-
qontract_reconcile-0.10.
|
660
|
-
qontract_reconcile-0.10.
|
656
|
+
qontract_reconcile-0.10.1rc501.dist-info/METADATA,sha256=XyNwNfe-EdFiK3GEqLpHsdkvEXi4Sg_HTN_rmp-iTjo,2349
|
657
|
+
qontract_reconcile-0.10.1rc501.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
658
|
+
qontract_reconcile-0.10.1rc501.dist-info/entry_points.txt,sha256=rTjAv28I_CHLM8ID3OPqMI_suoQ9s7tFbim4aYjn9kk,376
|
659
|
+
qontract_reconcile-0.10.1rc501.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
660
|
+
qontract_reconcile-0.10.1rc501.dist-info/RECORD,,
|
reconcile/utils/slack_api.py
CHANGED
@@ -235,11 +235,19 @@ class SlackApi:
|
|
235
235
|
try:
|
236
236
|
do_send(self.channel, text)
|
237
237
|
except SlackApiError as e:
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
238
|
+
match e.response["error"]:
|
239
|
+
case "not_in_channel":
|
240
|
+
self.join_channel()
|
241
|
+
do_send(self.channel, text)
|
242
|
+
# When a message is sent to #someChannel and the Slack API can't find
|
243
|
+
# it, the message it provides in the exception doesn't include the
|
244
|
+
# channel name. We handle that here in case the consumer has many such
|
245
|
+
# independent calls to Slack's API.
|
246
|
+
case "channel_not_found":
|
247
|
+
logging.error(f"Slack API says can't find channel {self.channel}")
|
248
|
+
raise
|
249
|
+
case _:
|
250
|
+
raise
|
243
251
|
|
244
252
|
def describe_usergroup(
|
245
253
|
self, handle: str
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc500.dist-info → qontract_reconcile-0.10.1rc501.dist-info}/top_level.txt
RENAMED
File without changes
|