Koha-clms/docs
Martin Renvoize 73027e718a
Bug 41319: Automate sponsor tracking from git trailers
This patch replaces the hardcoded "Contributing companies and
institutions" list on the about page with an automated system that
extracts sponsor information from git commit trailers.

Changes:

1. about.pl: Load sponsor data from docs/sponsors.yaml using YAML::XS
2. about.tt: Replace hardcoded list with dynamic rendering from
   sponsors.yaml, displaying sponsors with their locations
3. docs/sponsors.yaml: Generated sponsor data file containing 212
   unique sponsors with contribution counts, locations, and URLs

The sponsor data is generated at release time using the
koha-update-sponsors script from release-tools (see release-tools
commit a30b8a3). The script:

- Extracts Sponsored-by: trailers from git history
- Applies alias resolution to consolidate duplicate names
- Preserves historical sponsors without git trailers
- Merges location and URL data from sponsor_map.yaml

This replaces the manual process of updating the sponsor list with
a maintainable approach that automatically captures all Sponsored-by:
entries from the git history while preventing duplicate entries through
alias resolution.

The about page now displays sponsors in the format:
"Organization Name, Country" instead of showing contribution counts.

To update the sponsor list at release time:
1. Run koha-update-sponsors from the Koha source directory
2. Review and commit the updated docs/sponsors.yaml

See release-tools README.md for detailed documentation.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e47511f889)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
2026-04-13 10:03:49 +01:00
..
CAS Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
development Bug 25067: Move PO file manipulation code into gulp tasks 2020-11-06 09:46:11 +01:00
contributors.yaml 25.11.00 Update contributors.yaml 2025-12-05 13:31:29 -07:00
history.txt 25.11.00: Update history.txt 2025-12-05 13:31:39 -07:00
sponsors.yaml Bug 41319: Automate sponsor tracking from git trailers 2026-04-13 10:03:49 +01:00
teams.yaml Bug 40022: Sync teams in Koha, Wiki and release-tools 2025-06-26 11:10:00 -06:00