Each created commit is based on particular request. We could use type and source of every request and save it together with commit.
Where to save?
Header X-VP-ActionSource or somewhere else?
What?
GET x POST, AJAX, redirect, source (WP-CLI, iOS, WP-admin, REST API).
List of available values will have to be created.
Why?
- Developers could better overview commited changes.
- Track information about plugin behaviour (final goal is recognition of related commits).
- Users could see for example source of commited changes (WP-CLI, Calypso, WP-admin).
Where to show?
VersionPress administration page, every commit could be marked for example by color, text or something else.