Bug Fixes
- Support commit messages that contain :::
([`2a2df42`](https://github.com/kantord/SeaGOAT/commit/2a2df42cd84ebd4be9484a1c2a2c87903d7304b1))
* Fix exception in repositories with commits containing ':::' in commit message
Setting [maxsplit](https://docs.python.org/3/library/stdtypes.html#str.split).
The following exception was thrown:
Exception in thread Thread-1 (_worker_function): Traceback (most recent call last): File
"/home/user/.local/pipx/venvs/seagoat/lib/python3.11/site-packages/seagoat/queue/base_queue.py",
line 76, in _worker_function task = self._task_queue.get(timeout=1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/queue.py", line 179, in get raise Empty
_queue.Empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1038, in
_bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs) File
"/home/user/.local/pipx/venvs/seagoat/lib/python3.11/site-packages/seagoat/queue/base_queue.py",
line 81, in _worker_function self.handle_maintenance(context) File
"/home/user/.local/pipx/venvs/seagoat/lib/python3.11/site-packages/seagoat/queue/task_queue.py",
line 50, in handle_maintenance remaining_chunks_to_analyze =
context["seagoat_engine"].analyze_codebase( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File
"/home/user/.local/pipx/venvs/seagoat/lib/python3.11/site-packages/seagoat/engine.py", line 82, in
analyze_codebase self.repository.analyze_files() File
"/home/user/.local/pipx/venvs/seagoat/lib/python3.11/site-packages/seagoat/repository.py", line
46, in analyze_files current_commit_info = parse_commit_info(line) ^^^^^^^^^^^^^^^^^^^^^^^ File
"/home/user/.local/pipx/venvs/seagoat/lib/python3.11/site-packages/seagoat/repository.py", line
12, in parse_commit_info commit_hash, date_str, author, commit_subject = raw_line.split(":::")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: too many values to unpack (expected 4)
* Test commit messages with three or more colons
* style: fix code style issues
---------
Co-authored-by: Daniel Kantor <gitdaniel-kantor.com>
Chores
- **deps**: Update dependency mkdocs-material to v9.4.1
([239](https://github.com/kantord/SeaGOAT/pull/239),
[`3af3112`](https://github.com/kantord/SeaGOAT/commit/3af311251506f5d99f319b493f20a258e2625e4c))
Co-authored-by: renovate[bot] <29139614+renovate[bot]users.noreply.github.com>