c2cciutils 1.6.24.dev295__tar.gz → 1.6.24.dev304__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.
Files changed (41) hide show
  1. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/PKG-INFO +1 -1
  2. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/applications_definition.py +3 -0
  3. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/configuration.py +163 -11
  4. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/pyproject.toml +3 -3
  5. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/LICENSE +0 -0
  6. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/README.md +0 -0
  7. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/__init__.py +0 -0
  8. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/applications-versions.yaml +0 -0
  9. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/applications.yaml +0 -0
  10. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/audit.py +0 -0
  11. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/branches.graphql +0 -0
  12. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/commits.graphql +0 -0
  13. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/default_branch.graphql +0 -0
  14. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/env.py +0 -0
  15. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/lib/docker.py +0 -0
  16. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/package-lock.json +0 -0
  17. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/package.json +0 -0
  18. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/pr_checks.py +0 -0
  19. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/publish.py +0 -0
  20. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/schema-applications.json +0 -0
  21. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/schema.json +0 -0
  22. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/__init__.py +0 -0
  23. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/audit.py +0 -0
  24. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/clean.py +0 -0
  25. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/docker_logs.py +0 -0
  26. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/docker_versions_gen.py +0 -0
  27. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/docker_versions_update.py +0 -0
  28. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/download_applications.py +0 -0
  29. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/env.py +0 -0
  30. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/k8s/__init__.py +0 -0
  31. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/k8s/db.py +0 -0
  32. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/k8s/install.py +0 -0
  33. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/k8s/logs.py +0 -0
  34. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/k8s/wait.py +0 -0
  35. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/main.py +0 -0
  36. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/pin_pipenv.py +0 -0
  37. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/pr_checks.py +0 -0
  38. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/publish.py +0 -0
  39. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/trigger_image_update.py +0 -0
  40. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/scripts/version.py +0 -0
  41. {c2cciutils-1.6.24.dev295 → c2cciutils-1.6.24.dev304}/c2cciutils/security.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: c2cciutils
3
- Version: 1.6.24.dev295
3
+ Version: 1.6.24.dev304
4
4
  Summary: Common utilities for Camptocamp CI
5
5
  Home-page: https://github.com/camptocamp/c2cciutils
6
6
  License: FreeBSD
@@ -15,6 +15,9 @@ ApplicationConfiguration = TypedDict(
15
15
  #
16
16
  # URL pattern, to be used for files that didn't come from GitHub release, available arguments: {version}
17
17
  "url-pattern": str,
18
+ # The type of file.
19
+ #
20
+ # The type of file
18
21
  "type": "TheTypeOfFile",
19
22
  # The filename to get.
20
23
  #
@@ -49,7 +49,20 @@ class Audit(TypedDict, total=False):
49
49
  """
50
50
 
51
51
  outdated_versions: "AuditOutdatedVersions"
52
+ """
53
+ Audit outdated versions.
54
+
55
+ Audit of outdated version
56
+ """
57
+
52
58
  snyk: "AuditWithSnyk"
59
+ """
60
+ Audit with snyk.
61
+
62
+ The audit snyk configuration
63
+
64
+ Aggregation type: oneOf
65
+ """
53
66
 
54
67
 
55
68
  AuditOutdatedVersions = bool
@@ -147,7 +160,7 @@ Audit with snyk.
147
160
 
148
161
  The audit snyk configuration
149
162
 
150
- oneOf
163
+ Aggregation type: oneOf
151
164
  """
152
165
 
153
166
 
@@ -215,13 +228,61 @@ class Codespell(TypedDict, total=False):
215
228
  Configuration = TypedDict(
216
229
  "Configuration",
217
230
  {
231
+ # Print versions.
232
+ #
233
+ # The print versions configuration
218
234
  "print_versions": "PrintVersions",
235
+ # Codespell.
236
+ #
237
+ # The codespell check configuration
219
238
  "codespell": "Codespell",
239
+ # Audit.
240
+ #
241
+ # The audit configuration
242
+ #
243
+ # default:
244
+ # outdated_versions: true
245
+ # snyk: true
220
246
  "audit": "Audit",
247
+ # Pull request checks.
248
+ #
249
+ # The PR check configuration
250
+ #
251
+ # default:
252
+ # add_issue_link: true
253
+ # commits_messages: true
254
+ # commits_spell: true
255
+ # pull_request_labels: true
256
+ # pull_request_spell: true
221
257
  "pr-checks": "PullRequestChecks",
258
+ # Publish.
259
+ #
260
+ # The publishing configurations
261
+ #
262
+ # default:
263
+ # docker:
264
+ # images: <auto-detected>
265
+ # helm:
266
+ # folders: <auto-detected>
267
+ # versions:
268
+ # - version_tag
269
+ # pypi:
270
+ # packages: <auto-detected>
271
+ # versions:
272
+ # - version_tag
222
273
  "publish": "Publish",
274
+ # Version.
275
+ #
276
+ # The version configurations
223
277
  "version": "Version",
278
+ # K8s configuration.
279
+ #
280
+ # default:
281
+ # {}
224
282
  "k8s": "K8SConfiguration",
283
+ # dpkg.
284
+ #
285
+ # The configuration use t manage the dpkg packages
225
286
  "dpkg": "Dpkg",
226
287
  },
227
288
  total=False,
@@ -354,7 +415,22 @@ class K8SConfiguration(TypedDict, total=False):
354
415
  """
355
416
 
356
417
  k3d: "K3DConfiguration"
418
+ """
419
+ K3d configuration.
420
+
421
+ default:
422
+ {}
423
+ """
424
+
357
425
  db: "DbConfiguration"
426
+ """
427
+ DB configuration.
428
+
429
+ Database configuration
430
+
431
+ default:
432
+ {}
433
+ """
358
434
 
359
435
 
360
436
  K8S_CONFIGURATION_DEFAULT: dict[str, Any] = {}
@@ -562,9 +638,46 @@ class Publish(TypedDict, total=False):
562
638
  """
563
639
 
564
640
  docker: "PublishDocker"
641
+ """
642
+ Publish Docker.
643
+
644
+ The configuration used to publish on Docker
645
+
646
+ Aggregation type: oneOf
647
+ """
648
+
565
649
  pypi: "PublishPypi"
650
+ """
651
+ publish pypi.
652
+
653
+ Configuration to publish on pypi
654
+
655
+ default:
656
+ {}
657
+
658
+ Aggregation type: oneOf
659
+ """
660
+
566
661
  helm: "PublishHelm"
662
+ """
663
+ publish helm.
664
+
665
+ Configuration to publish Helm charts on GitHub release
666
+
667
+ Aggregation type: oneOf
668
+ """
669
+
567
670
  google_calendar: "PublishGoogleCalendar"
671
+ """
672
+ Publish Google calendar.
673
+
674
+ The configuration to publish on Google Calendar
675
+
676
+ default:
677
+ {}
678
+
679
+ Aggregation type: oneOf
680
+ """
568
681
 
569
682
 
570
683
  PublishDocker = Union["PublishDockerConfig", Literal[False]]
@@ -573,7 +686,7 @@ Publish Docker.
573
686
 
574
687
  The configuration used to publish on Docker
575
688
 
576
- oneOf
689
+ Aggregation type: oneOf
577
690
  """
578
691
 
579
692
 
@@ -619,10 +732,11 @@ class PublishDockerConfig(TypedDict, total=False):
619
732
  default:
620
733
  {}
621
734
 
622
- oneOf
735
+ Aggregation type: oneOf
623
736
  """
624
737
 
625
738
  snyk: "_PublishDockerConfigSnyk"
739
+ """ Checks the published images with Snyk """
626
740
 
627
741
 
628
742
  class PublishDockerImage(TypedDict, total=False):
@@ -680,7 +794,7 @@ The configuration to publish on Google Calendar
680
794
  default:
681
795
  {}
682
796
 
683
- oneOf
797
+ Aggregation type: oneOf
684
798
  """
685
799
 
686
800
 
@@ -708,7 +822,7 @@ publish helm.
708
822
 
709
823
  Configuration to publish Helm charts on GitHub release
710
824
 
711
- oneOf
825
+ Aggregation type: oneOf
712
826
  """
713
827
 
714
828
 
@@ -735,7 +849,7 @@ Configuration to publish on pypi
735
849
  default:
736
850
  {}
737
851
 
738
- oneOf
852
+ Aggregation type: oneOf
739
853
  """
740
854
 
741
855
 
@@ -791,10 +905,37 @@ class PullRequestChecks(TypedDict, total=False):
791
905
  """
792
906
 
793
907
  commits_messages: "PullRequestChecksCommitsMessages"
908
+ """
909
+ pull request checks commits messages.
910
+
911
+ Check the pull request commits messages
912
+
913
+ Aggregation type: oneOf
914
+ """
915
+
794
916
  commits_spell: "PullRequestChecksCommitsSpelling"
917
+ """
918
+ pull request checks commits spelling.
919
+
920
+ Aggregation type: oneOf
921
+ """
922
+
795
923
  pull_request_spell: "PullRequestChecksPullRequestSpelling"
924
+ """
925
+ pull request checks pull request spelling.
926
+
927
+ Aggregation type: oneOf
928
+ """
929
+
796
930
  pull_request_labels: "PullRequestChecksRequestLabels"
931
+ """
932
+ pull request checks request labels.
933
+
934
+ According the create changelog configuration
935
+ """
936
+
797
937
  add_issue_link: "PullRequestChecksAddIssueLink"
938
+ """ pull request checks add issue link. """
798
939
 
799
940
 
800
941
  PullRequestChecksAddIssueLink = bool
@@ -807,7 +948,7 @@ pull request checks commits messages.
807
948
 
808
949
  Check the pull request commits messages
809
950
 
810
- oneOf
951
+ Aggregation type: oneOf
811
952
  """
812
953
 
813
954
 
@@ -877,7 +1018,7 @@ PullRequestChecksCommitsSpelling = Union["PullRequestChecksCommitsSpellingConfig
877
1018
  """
878
1019
  pull request checks commits spelling.
879
1020
 
880
- oneOf
1021
+ Aggregation type: oneOf
881
1022
  """
882
1023
 
883
1024
 
@@ -900,7 +1041,7 @@ PullRequestChecksPullRequestSpelling = Union["PullRequestChecksPullRequestSpelli
900
1041
  """
901
1042
  pull request checks pull request spelling.
902
1043
 
903
- oneOf
1044
+ Aggregation type: oneOf
904
1045
  """
905
1046
 
906
1047
 
@@ -935,7 +1076,18 @@ class Version(TypedDict, total=False):
935
1076
  """
936
1077
 
937
1078
  branch_to_version_re: "VersionTransform"
1079
+ """
1080
+ Version transform.
1081
+
1082
+ A version transformer definition
1083
+ """
1084
+
938
1085
  tag_to_version_re: "VersionTransform"
1086
+ """
1087
+ Version transform.
1088
+
1089
+ A version transformer definition
1090
+ """
939
1091
 
940
1092
 
941
1093
  VersionTransform = list["_VersionTransformItem"]
@@ -973,7 +1125,7 @@ class _PublishDockerConfigSnyk(TypedDict, total=False):
973
1125
  default:
974
1126
  - --app-vulns
975
1127
 
976
- oneOf
1128
+ Aggregation type: oneOf
977
1129
  """
978
1130
 
979
1131
  test_args: Union[list[str], Literal[False]]
@@ -986,7 +1138,7 @@ class _PublishDockerConfigSnyk(TypedDict, total=False):
986
1138
  - --app-vulns
987
1139
  - --severity-threshold=critical
988
1140
 
989
- oneOf
1141
+ Aggregation type: oneOf
990
1142
  """
991
1143
 
992
1144
 
@@ -19,7 +19,7 @@ strict = true
19
19
 
20
20
  [tool.poetry]
21
21
  name = "c2cciutils"
22
- version = "1.6.24.dev295"
22
+ version = "1.6.24.dev304"
23
23
  description = "Common utilities for Camptocamp CI"
24
24
  readme = "README.md"
25
25
  authors = ["Camptocamp <info@camptocamp.com>"]
@@ -85,7 +85,7 @@ PyYAML = "6.0.2"
85
85
  importlib-metadata = { version = "6.8.0", optional = true }
86
86
  tomlkit = { version = "0.12.5", optional = true }
87
87
  multi-repo-automation = { version="0.3.1", optional = true }
88
- cryptography = "45.0.7"
88
+ cryptography = "46.0.1"
89
89
  urllib3 = "2.5.0"
90
90
  idna = { version="3.7", optional = true }
91
91
  certifi = "2025.8.3"
@@ -108,7 +108,7 @@ types-pyyaml = "6.0.12.20250402"
108
108
  types-setuptools = "68.0.0.3"
109
109
  types-markdown = "3.4.2.10"
110
110
  types-toml = "0.10.8.20240310"
111
- typing-extensions = "4.7.1"
111
+ typing-extensions = "4.13.2"
112
112
  prospector-profile-duplicated = "0.1.0"
113
113
 
114
114
  [build-system]