qontract-reconcile 0.10.2.dev191__py3-none-any.whl → 0.10.2.dev192__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.2.dev191.dist-info → qontract_reconcile-0.10.2.dev192.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev191.dist-info → qontract_reconcile-0.10.2.dev192.dist-info}/RECORD +5 -5
- reconcile/gitlab_housekeeping.py +3 -1
- {qontract_reconcile-0.10.2.dev191.dist-info → qontract_reconcile-0.10.2.dev192.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev191.dist-info → qontract_reconcile-0.10.2.dev192.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev191.dist-info → qontract_reconcile-0.10.2.dev192.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.2.
|
3
|
+
Version: 0.10.2.dev192
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Project-URL: homepage, https://github.com/app-sre/qontract-reconcile
|
6
6
|
Project-URL: repository, https://github.com/app-sre/qontract-reconcile
|
{qontract_reconcile-0.10.2.dev191.dist-info → qontract_reconcile-0.10.2.dev192.dist-info}/RECORD
RENAMED
@@ -29,7 +29,7 @@ reconcile/github_repo_permissions_validator.py,sha256=PNqL4dqa2OaNBy-NmLVN-t1HZa
|
|
29
29
|
reconcile/github_users.py,sha256=ZeYNMyvZPVMx6mh5TiKEUQy4W1uw3VmUZOHiXus5I0Y,5073
|
30
30
|
reconcile/github_validator.py,sha256=-j17tn3csFVjPMSPL3te48iWVkPZCncRXdeKeLdGjjQ,931
|
31
31
|
reconcile/gitlab_fork_compliance.py,sha256=RbHckzLnE9zkOFHJANzoejEMMbMAivmqJVs3Suvp9lU,4591
|
32
|
-
reconcile/gitlab_housekeeping.py,sha256=
|
32
|
+
reconcile/gitlab_housekeeping.py,sha256=U8DKWsFZe7Q3ArN5WSlrPM8Pxxf2_4V0KgvQAnm1mSQ,25550
|
33
33
|
reconcile/gitlab_labeler.py,sha256=BA2dbXsN9hErUwJl22qcxfeH7XiPCuQ9LN3NddWdnpo,4540
|
34
34
|
reconcile/gitlab_members.py,sha256=yRZOZqwB9_FJ5DWIFEod6hoG0X38z36atInNshAWddI,8263
|
35
35
|
reconcile/gitlab_mr_sqs_consumer.py,sha256=i_MDVfA3Uk_TJiNkfEJzhO6_rwR7z3I3dH9oEw686U4,2681
|
@@ -809,7 +809,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
809
809
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
|
810
810
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
811
811
|
tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
|
812
|
-
qontract_reconcile-0.10.2.
|
813
|
-
qontract_reconcile-0.10.2.
|
814
|
-
qontract_reconcile-0.10.2.
|
815
|
-
qontract_reconcile-0.10.2.
|
812
|
+
qontract_reconcile-0.10.2.dev192.dist-info/METADATA,sha256=k0G4P25wbsCOkHg4TS0eD_mHgGuihKi2U1BvpwEh8HA,24555
|
813
|
+
qontract_reconcile-0.10.2.dev192.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
814
|
+
qontract_reconcile-0.10.2.dev192.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
815
|
+
qontract_reconcile-0.10.2.dev192.dist-info/RECORD,,
|
reconcile/gitlab_housekeeping.py
CHANGED
@@ -72,6 +72,7 @@ HOLD_LABELS = [
|
|
72
72
|
QONTRACT_INTEGRATION = "gitlab-housekeeping"
|
73
73
|
DATE_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ"
|
74
74
|
EXPIRATION_DATE_FORMAT = "%Y-%m-%d"
|
75
|
+
SQUASH_OPTION_ALWAYS = "always"
|
75
76
|
|
76
77
|
merged_merge_requests = Counter(
|
77
78
|
name="qontract_reconcile_merged_merge_requests",
|
@@ -613,7 +614,8 @@ def merge_merge_requests(
|
|
613
614
|
logging.info(["merge", gl.project.name, mr.iid])
|
614
615
|
if not dry_run and merges < merge_limit:
|
615
616
|
try:
|
616
|
-
mr.
|
617
|
+
squash = (gl.project.squash_option == SQUASH_OPTION_ALWAYS) or mr.squash
|
618
|
+
mr.merge(squash=squash)
|
617
619
|
labels = mr.labels
|
618
620
|
merged_merge_requests.labels(
|
619
621
|
project_id=mr.target_project_id,
|
{qontract_reconcile-0.10.2.dev191.dist-info → qontract_reconcile-0.10.2.dev192.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|