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.
Show both target commit ids in the review labels
6db4cdbd38e9f87e3f89c437cf2061c1fe5d3150 · Keenan Nemetz · 11d ago · parent b74cb029
Show both target commit ids in the review labels The Head branch label names the commit under review, and Base branch names the current tip of the base. The base id is derived because the request stores only the branch name and the approval binds to that name plus the head.
server/web/templates/requests.html +4−4
| @@ -138,21 +138,21 @@ | |||
| 138 | 138 | <input type="hidden" name="csrf" value="{{.CSRF}}"> | |
| 139 | 139 | <div class="target-fields"> | |
| 140 | 140 | <label class="target-field"> | |
| 141 | <span class="target-label">Base branch</span> | ||
| 141 | <span class="target-label">Base branch{{with .BaseSHA}}<a class="sha" href="/r/{{$.Name}}/commit/{{.}}" title="current tip of {{$.Request.Base}}">{{short .}}</a>{{end}}</span> | ||
| 142 | 142 | <select name="base"> | |
| 143 | 143 | {{range .BaseOptions}}<option value="{{.Name}}"{{if .Selected}} selected{{end}}>{{.Name}}</option>{{end}} | |
| 144 | 144 | </select> | |
| 145 | 145 | </label> | |
| 146 | 146 | <label class="target-field"> | |
| 147 | <span class="target-label">Head branch</span> | ||
| 147 | <span class="target-label">Head branch<a class="sha" href="/r/{{.Name}}/commit/{{.Request.Head}}" title="commit under review">{{short .Request.Head}}</a></span> | ||
| 148 | 148 | <select name="head"> | |
| 149 | {{if not .Request.HeadRef}}<option value="" selected>commit {{short .Request.Head}} (pinned)</option>{{end}} | ||
| 149 | {{if not .Request.HeadRef}}<option value="" selected>pinned commit</option>{{end}} | ||
| 150 | 150 | {{range .HeadOptions}}<option value="{{.Name}}"{{if .Selected}} selected{{end}}>{{.Name}}</option>{{end}} | |
| 151 | 151 | </select> | |
| 152 | 152 | </label> | |
| 153 | 153 | </div> | |
| 154 | 154 | <div class="target-actions"> | |
| 155 | <p class="muted small">head <a class="sha" href="/r/{{.Name}}/commit/{{.Request.Head}}">{{short .Request.Head}}</a>{{if .HeadRefNote}} · {{.HeadRefNote}}{{end}}</p> | ||
| 155 | {{if .HeadRefNote}}<p class="muted small">{{.HeadRefNote}}.</p>{{end}} | ||
| 156 | 156 | <button class="secondary" type="submit" title="Update base and head" aria-label="Update base and head">{{icon "rotate-ccw"}}Update</button> | |
| 157 | 157 | </div> | |
| 158 | 158 | </form> | |