A Gerrit plugin that does TVL-specific things.
You probably want to take inspiration from this rather than using it directly, as it has a variety of TVL-ish assumptions baked into it.