qontract-reconcile 0.10.1rc1080__py3-none-any.whl → 0.10.1rc1082__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc1080
3
+ Version: 0.10.1rc1082
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
@@ -30,7 +30,7 @@ reconcile/github_repo_permissions_validator.py,sha256=dcbXdUx6imjNchjp3pg9-z1i7l
30
30
  reconcile/github_users.py,sha256=nfTq78QRONIfDVj-5O3bD6psllJjzWFnog-EJ1WqFPU,3672
31
31
  reconcile/github_validator.py,sha256=cVTVxJIGR4a1Jz8wrdXEAb_CMpXUzvykVmUURX4cook,917
32
32
  reconcile/gitlab_fork_compliance.py,sha256=5joAIGOOLhHme1ipa7ZQeQkUOVe3dKbRO1wJtTwyNR4,4178
33
- reconcile/gitlab_housekeeping.py,sha256=nvClNzehph010hRTIMGDQc-3ag08aBXNUhzEJ2KW22c,22088
33
+ reconcile/gitlab_housekeeping.py,sha256=fgmR_Q-RHchGhYky-Q78f0Wzx4xQ_mk8-0mpDgfFsMI,22193
34
34
  reconcile/gitlab_labeler.py,sha256=4xJHmVX155fclrHqkR926sL1GH6RTN5XfZ8PnqNXbRA,4534
35
35
  reconcile/gitlab_members.py,sha256=PrJE9OhDRdGG_gHM_77nQojLb4B18jtUu8DxgLsRS88,8417
36
36
  reconcile/gitlab_mr_sqs_consumer.py,sha256=O46mdziPgGOndbU-0_UJKJVUaiEoVzJPEgKm4_UvYoI,2571
@@ -161,7 +161,7 @@ reconcile/aws_version_sync/merge_request_manager/merge_request_manager.py,sha256
161
161
  reconcile/change_owners/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
162
162
  reconcile/change_owners/approver.py,sha256=Z3_11vnK2WNOxjEEXVDh0224-_-qbt9d6mBeVE-7fsc,2259
163
163
  reconcile/change_owners/bundle.py,sha256=ZIlXRo6Z2raeWSCUqYsexBdol-q-r9kWJs5O_YPaEYk,5273
164
- reconcile/change_owners/change_log_tracking.py,sha256=K8x59urjxMilwhmbQff9vinTGDblinvfRvdjilwjTJU,6677
164
+ reconcile/change_owners/change_log_tracking.py,sha256=tGN-z1HGf0EjC3BSqs54WhQwIb7bhXEeTBm2v2Q2ju0,7075
165
165
  reconcile/change_owners/change_owners.py,sha256=0HRJhDm0oW3uYJFgzynqA1gA0lbhalhSkmWOiQmr-NM,17062
166
166
  reconcile/change_owners/change_types.py,sha256=TjVtvmkU0s8w2NA6qvWQccB6PwlCrChFySlsHLYZjpE,32027
167
167
  reconcile/change_owners/changes.py,sha256=pa3cNAL-Xawh700ARJJQjY0p09NA1J2329RcE0F0MHM,17224
@@ -870,8 +870,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
870
870
  tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
871
871
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
872
872
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
873
- qontract_reconcile-0.10.1rc1080.dist-info/METADATA,sha256=kixJ14X5-pxIZ9kAm5WKaQo4ws_7_L6ZegeGNJpgV1w,2213
874
- qontract_reconcile-0.10.1rc1080.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
875
- qontract_reconcile-0.10.1rc1080.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
876
- qontract_reconcile-0.10.1rc1080.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
877
- qontract_reconcile-0.10.1rc1080.dist-info/RECORD,,
873
+ qontract_reconcile-0.10.1rc1082.dist-info/METADATA,sha256=MLF59eI6YH6ZUi70UmwweZ8iXtrWawCLSrEAIJqtF4c,2213
874
+ qontract_reconcile-0.10.1rc1082.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
875
+ qontract_reconcile-0.10.1rc1082.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
876
+ qontract_reconcile-0.10.1rc1082.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
877
+ qontract_reconcile-0.10.1rc1082.dist-info/RECORD,,
@@ -171,6 +171,16 @@ class ChangeLogIntegration(QontractReconcileIntegration[ChangeLogIntegrationPara
171
171
  if ctp.name not in change_log_item.change_types:
172
172
  change_log_item.change_types.append(ctp.name)
173
173
 
174
+ change_log_item.change_types.extend(
175
+ special_dir
176
+ for special_dir in ("docs", "hack")
177
+ if any(
178
+ path.startswith(special_dir)
179
+ for gl_diff in gl_commit.diff()
180
+ for path in (gl_diff["old_path"], gl_diff["new_path"])
181
+ )
182
+ )
183
+
174
184
  change_log.items = sorted(
175
185
  change_log.items, key=lambda i: i.merged_at, reverse=True
176
186
  )
@@ -47,6 +47,7 @@ from reconcile.utils.mr.labels import (
47
47
  SELF_SERVICEABLE,
48
48
  prioritized_approval_label,
49
49
  )
50
+ from reconcile.utils.sharding import is_in_shard
50
51
 
51
52
  MERGE_LABELS_PRIORITY = [
52
53
  prioritized_approval_label(p.value) for p in ChangeTypePriority
@@ -573,6 +574,7 @@ def run(dry_run, wait_for_pipeline):
573
574
  with GitLabApi(instance, settings=settings) as gl:
574
575
  publish_access_token_expiration_metrics(gl)
575
576
  repos = queries.get_repos_gitlab_housekeeping(server=instance["url"])
577
+ repos = [r for r in repos if is_in_shard(r["url"])]
576
578
  app_sre_usernames: Set[str] = set()
577
579
 
578
580
  for repo in repos: