https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42764
Bug ID: 42764
Summary: codespell.t fails after container OS upgrade due to
newer codespell dictionary
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Test Suite
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
When the KTD container OS is upgraded (e.g. Debian Bookworm -> Trixie), two
things happen simultaneously that cause xt/author/codespell.t to fail:
1. The OS codename changes, so Koha::Devel::CI::IncrementalRuns finds no
history in the ci-results repository for the new codename and falls back
to a full scan of all tracked files.
2. The newer OS ships a newer codespell version (installed unversioned from
apt in package-config.yaml). Each codespell release expands its misspelling
dictionary, so words silently accepted by the old version are now flagged.
The combination means the first full scan on a new container OS fails on
pre-existing code that was never touched since the old codespell version
accepted it. The .codespell-ignore file (currently 20 entries) was developed
against older codespell versions and does not cover terms newly flagged by the
upgraded version.
Test plan:
1. Apply patch
2. Run xt/author/codespell.t inside the new KTD container
=> All tests pass
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/