ironic-python-agent/ironic_python_agent
Harald Jensås e7a048ecbe
Add support for CentOS SUM files
The CentOS Stream SUM files uses format:
  # FILENAME: <size> bytes
  ALGORITHM (FILENAME) = CHECKSUM

Compared to the more common format:
  CHECKSUM  *FILE_A
  CHECKSUM  FILE_B

Use regular expressions to check for filename both
in the middle with parentheses and at the end.
Similarly look for valid checksums at beginning or
end of line. Also look for know checsum patterns in
case file only contain the checksum iteself.

Change-Id: I9e49c1a6c66e51a7b884485f0bcaf7f1802bda33
2023-05-03 21:31:23 +02:00
..
2022-04-14 10:47:06 +00:00
2021-04-01 11:16:20 -07:00
2023-05-03 21:31:23 +02:00
2021-12-16 22:03:51 +01:00
2023-04-24 16:54:42 -07:00
2022-01-10 11:31:33 +01:00
2023-05-02 06:41:25 +00:00