[release_table] Add debug logs
This commit is contained in:
@@ -113,13 +113,18 @@ class Field:
|
|||||||
def extract_from(self, raw_value: str) -> str | datetime | None:
|
def extract_from(self, raw_value: str) -> str | datetime | None:
|
||||||
for exclude_pattern in self.exclude_version_patterns:
|
for exclude_pattern in self.exclude_version_patterns:
|
||||||
if exclude_pattern.match(raw_value):
|
if exclude_pattern.match(raw_value):
|
||||||
|
logging.debug(f"Excluding '{raw_value}': matches exclude pattern {exclude_pattern}")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
logging.debug(f"'{raw_value}' does not match exclude pattern {exclude_pattern}")
|
||||||
|
|
||||||
for include_pattern in self.include_version_patterns:
|
for include_pattern in self.include_version_patterns:
|
||||||
match = include_pattern.match(raw_value)
|
match = include_pattern.match(raw_value)
|
||||||
if not match:
|
if not match:
|
||||||
|
logging.debug(f"'{raw_value}' does not match include pattern {include_pattern}")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
logging.debug(f"Processing '{raw_value}': matches include pattern {include_pattern}")
|
||||||
return self.__process_value(match, raw_value)
|
return self.__process_value(match, raw_value)
|
||||||
|
|
||||||
if self.name == "releaseCycle":
|
if self.name == "releaseCycle":
|
||||||
|
|||||||
Reference in New Issue
Block a user