No more messy commit logs, starting from a simple git hook
Devlog: 2026-07
Clean commit logs shouldn't require heavy dependencies.
On July 28 I opened (and merged) PR #965 to enforce Conventional Commits across the team with a native, zero-dependency Git hook.
If you're not familiar with it, Conventional Commits is a lightweight convention on top of commit messages. Instead of vague logs like "fix stuff" or "wip", every commit follows a structured pattern:
<type>(optional scope): <description>
feat(map): add elevation profile toggle
fix(editing): prevent duplicate feature creation
chore(githooks): enforce conventional commits
Consistent messages make the history readable at a glance and open the door to automated changelogs and semantic versioning.
No Husky, no third-party tooling. Everything is wired into plain git: running npm install triggers a prepare script that sets core.hooksPath to .githooks, where a lightweight commit-msg script validates each message against a regex before git records it.
flowchart LR
A["git commit"] --> B[".githooks/commit-msg"]
B -->|Valid| C["✅ Commit"]
B -->|Invalid| D["❌ Rejected"]
No extra npm bloat. Just git doing what it already knows how to do.
Meanwhile, I tagged leaflet-elevation v2.6.0.
In g3w-admin, I worked on two big ones:
- PR #1348: A major stack bump moving from Django 4.2 to 5.2, Python 3.14, and Qt6 (alongside replacing
django-bleachwithdjango-nh3). I pushed a few commits; it merged in October. - PR #1435: Server-side pagination for alphanumeric layers in the editing table, so layers with thousands of features stop freezing the browser. Merged in September.