Summary: | Tidy the whole codebase | ||
---|---|---|---|
Product: | Koha | Reporter: | Martin Renvoize (ashimema) <martin.renvoize> |
Component: | Architecture, internals, and plumbing | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | dcook, domm, emily.lamancusa, jonathan.druart, julian.maurice, katrin.fischer, koha, lucas, martin.renvoize, nick, oleonard, paul.derscheid, pedro.amorim, testopia, tomascohen, victor |
Version: | 24.11 | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: |
This is an improvement to the internals of Koha, which will not cause any changes to library workflows. Release notes for developers:
Most of the codebase is now tidy.
.pm, .pl, .t, .tt, .inc, .vue, and .js files are, and will continue to be, kept tidy!
Update your ktd to get:
The new images with a pre-commit Git hook, which will be installed at ktd startup.
The updated QA script.
A Prettier plugin for tidying Template Toolkit files: https://gitlab.com/koha-community/prettier-plugin-template-toolkit
For new patches you don’t need to do anything special:
The pre-commit hook will automatically tidy files when you commit your changes.
The QA script will check that your commits contain tidy versions of the files.
There are two new scripts available for developers:
misc/devel/tidy.pl - Used to tidy files.
misc/devel/auto_rebase.pl - Automatically attempts to rebase your patches.
|
|
Version(s) released in: | Circulation function: |
Description
Martin Renvoize (ashimema)
2025-07-10 08:33:22 UTC
Makes sense. The queue for 24.11 is very full and backports are often time consuming. I'll be pushing a branch up shortly.. it wasn't too too terrible.. but it'll be worthwhile getting some testing on some focus area's. |