logdetective 1.0.0__py3-none-any.whl → 1.0.1__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.
@@ -118,7 +118,7 @@ def is_eligible_package(project_name: str):
118
118
  # First check the allow-list. If it's not allowed, we deny.
119
119
  allowed = False
120
120
  for pattern in SERVER_CONFIG.general.packages:
121
- print(f"include {pattern}")
121
+ LOG.debug("include %s", pattern)
122
122
  if re.search(pattern, project_name):
123
123
  allowed = True
124
124
  break
@@ -128,7 +128,7 @@ def is_eligible_package(project_name: str):
128
128
 
129
129
  # Next, check the deny-list. If it was allowed before, but denied here, we deny.
130
130
  for pattern in SERVER_CONFIG.general.excluded_packages:
131
- print(f"Exclude {pattern}")
131
+ LOG.debug("exclude %s", pattern)
132
132
  if re.search(pattern, project_name):
133
133
  return False
134
134
 
@@ -254,6 +254,7 @@ class GeneralConfig(BaseModel):
254
254
  """General config options for Log Detective"""
255
255
 
256
256
  packages: List[str] = None
257
+ excluded_packages: List[str] = None
257
258
  devmode: bool = False
258
259
  sentry_dsn: HttpUrl | None = None
259
260
 
@@ -263,6 +264,7 @@ class GeneralConfig(BaseModel):
263
264
  return
264
265
 
265
266
  self.packages = data.get("packages", [])
267
+ self.excluded_packages = data.get("excluded_packages", [])
266
268
  self.devmode = data.get("devmode", False)
267
269
  self.sentry_dsn = data.get("sentry_dsn")
268
270
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: logdetective
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Log using LLM AI to search for build/test failures and provide ideas for fixing these.
5
5
  License: Apache-2.0
6
6
  Author: Jiri Podivin
@@ -15,17 +15,17 @@ logdetective/server/database/models/__init__.py,sha256=xy2hkygyw6_87zPKkG20i7g7_
15
15
  logdetective/server/database/models/merge_request_jobs.py,sha256=hw88wV1-3x7i53sX7ZotKClc6OsH1njPpbRSZofnqr4,18670
16
16
  logdetective/server/database/models/metrics.py,sha256=yl9fS4IPVFWDeFvPAxO6zOVu6oLF319ApvVLAgnD5yU,13928
17
17
  logdetective/server/emoji.py,sha256=g9GtMChwznD8g1xonsh-I_3xqRn6LBeg3sjPJWcI0Yg,3333
18
- logdetective/server/gitlab.py,sha256=ovVkg35pr5IYnKf9_cTSBM0SKqp2D2ED2yP7MlaQg6U,16223
18
+ logdetective/server/gitlab.py,sha256=1Qz62I8xIjwdk7vPhGTTPFkeWVrany8-GV5hfK6weNI,16233
19
19
  logdetective/server/llm.py,sha256=JtSCZj8SLnoyTCUdhA0TwcsMZfmHFFru2bJ9txI3GuU,8727
20
20
  logdetective/server/metric.py,sha256=B3ew_qSmtEMj6xl-FoOtS4F_bkplp-shhtfHF1cG_Io,4010
21
- logdetective/server/models.py,sha256=eNEB3WJWeZ9Pe6qsmTKQwAE8wu8u51OwLILzV9__YJM,11248
21
+ logdetective/server/models.py,sha256=mUBGzc0w6l-v1Q9lwDEcISn6SlFrrwbF3ypSmjNXbbs,11355
22
22
  logdetective/server/plot.py,sha256=eZs4r9gua-nW3yymSMIz1leL9mb4QKlh6FJZSeOfZ5M,14872
23
23
  logdetective/server/server.py,sha256=9shFgRkWcJVM2L7HHoQBMCfKuJamh2L4tC96duFPEOA,18127
24
24
  logdetective/server/templates/gitlab_full_comment.md.j2,sha256=DQZ2WVFedpuXI6znbHIW4wpF9BmFS8FaUkowh8AnGhE,1627
25
25
  logdetective/server/templates/gitlab_short_comment.md.j2,sha256=fzScpayv2vpRLczP_0O0YxtA8rsKvR6gSv4ntNdWb98,1443
26
26
  logdetective/utils.py,sha256=hdExAC8FtDIxvdgIq-Ro6LVM-JZ-k_UofaMzaDAHvzM,6088
27
- logdetective-1.0.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
28
- logdetective-1.0.0.dist-info/METADATA,sha256=ldbn_TIgNp53Af1B_vqImOee3Q3djxWmcKNMNOthbKk,17136
29
- logdetective-1.0.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
30
- logdetective-1.0.0.dist-info/entry_points.txt,sha256=3K_vXja6PmcA8sNdUi63WdImeiNhVZcEGPTaoJmltfA,63
31
- logdetective-1.0.0.dist-info/RECORD,,
27
+ logdetective-1.0.1.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
28
+ logdetective-1.0.1.dist-info/METADATA,sha256=dkso00EVQfwxoBekYT6KW48WvFdFqlBjTPw9U5S0wCg,17136
29
+ logdetective-1.0.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
30
+ logdetective-1.0.1.dist-info/entry_points.txt,sha256=3K_vXja6PmcA8sNdUi63WdImeiNhVZcEGPTaoJmltfA,63
31
+ logdetective-1.0.1.dist-info/RECORD,,