| Summary: | opac/unapi type not detected by tidy.pl | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
| Component: | Test Suite | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
| Status: | RESOLVED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | david, Laura.escamilla, lucas, tomascohen |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: |
25.11.00
|
|
| Circulation function: | |||
| Bug Depends on: | 40163, 39876 | ||
| Bug Blocks: | |||
| Attachments: |
Bug 40872: List opac/unapi as a Perl file
Bug 40872: (follow-up) Tidy opac/unapi |
||
|
Description
Tomás Cohen Arazi (tcohen)
2025-09-24 15:00:01 UTC
Created attachment 186893 [details] [review] Bug 40872: List opac/unapi as a Perl file This patch makes `tidy.pl` treat the file as a Perl one. To test: 1. Run: $ ktd --shell k$ misc/devel/tidy.pl opac/unapi => FAIL: You get: ``` Cannot guess filetype for opac/unapi at /kohadevbox/koha/Koha/Devel/Files.pm line 241. ``` 2. Apply this patch 3. Repeat 1 => SUCCESS: The file is now tidy. 4. Sign off :-D Created attachment 186894 [details] [review] Bug 40872: (follow-up) Tidy opac/unapi This is trivial, I am moving straight to PQA. Nice work everyone! Pushed to main for 25.11 This is an enhancement and will not be backported to the 25.05.x branch. Test suite related, no change to the manual required. |