vole
Clone
Read only, no credentials:
https://rodent.software/git/vole.git
Write over SSH with a registered key:
git clone ssh://git@0.0.0.0:2222/vole.git
A free and open-source forge that lives in your Git repo.
Add event, schedule and manual workflow triggers
eb07ff5696e0d83201215966e3ea1e6a24467581 · Keenan Nemetz · 8d ago · parent 1cde8b9e
Add event, schedule and manual workflow triggers Workflows can now react to change requests, issues, comments, cron schedules and manual runs, and a push trigger can filter by the paths it changed. Branch and tag patterns gain ! exclusion. Event runs are pinned with a JSON payload and the runner exposes it as VOLE_EVENT, VOLE_EVENT_ACTION and VOLE_EVENT_PATH. Change-request runs check out the base tip and carry the head and changed files, so an event never executes an unapproved contributor commit. Workflow dispatch resolves typed inputs and is available from the workflows page and `vole workflow dispatch`. Deduplication now includes an occurrence so the same commit can run for a later event or schedule slot while a push remains idempotent. Part of: #138
server/web/web.go +6
| @@ -53,6 +53,12 @@ type Web struct { | |||
| 53 | 53 | // merge handler calls it before arming so the first look does not wait for the | |
| 54 | 54 | // reconciler, and so a Merge click is useful even before the next tick. | |
| 55 | 55 | EnsureCandidate func(repo, request string) error | |
| 56 | // MetadataChanged wakes the metadata event loop after a browser write, which does | ||
| 57 | // not go through a Git push and therefore has no spool entry. | ||
| 58 | MetadataChanged func(repo string) | ||
| 59 | // DispatchWorkflow queues a manual run of a workflow that declares | ||
| 60 | // workflow-dispatch. The web owns the form and the ACL check. | ||
| 61 | DispatchWorkflow func(repo, workflow, ref string, inputs map[string]string, actor string) (int, error) | ||
| 56 | 62 | // RenameRepo and DeleteRepo are the instance operations that also move the | |
| 57 | 63 | // index, queue, LFS namespace, and locks. The web owns the form and ACL check. | |
| 58 | 64 | // DeleteRepo takes the account so the deletion is recorded against it. | |