Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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.

Require a linked issue when a change request opens

0789f22ea633bf995417893c0052abb6a36d5520 · Keenan Nemetz · 9d ago · parent 1265ea55

Require a linked issue when a change request opens

Add a per-repository policy for teams that want every proposed update to trace back to an issue. The browser marks Closes as required, and the pre-receive hook applies the same rule to requests added through the CLI or a hand-written metadata commit. Existing requests stay editable and landable.

server/web/requests.go +6−4

@@ -278,13 +278,15 @@ func (w *Web) NewChangePage(rw http.ResponseWriter, r *http.Request) {
278 278 form := w.requestForm(r, m)
279 279 w.render(rw, "request_new", struct {
280 280 Page
281 Name string
282 Base string
283 BaseBranches []string
284 HeadBranches []string
281 Name string
282 Base string
283 BaseBranches []string
284 HeadBranches []string
285 RequiresLinkedIssue bool
285 286 }{
286 287 Page: w.page(r, m.Name+" · new change"), Name: m.Name,
287 288 Base: form.Base, BaseBranches: form.BaseBranches, HeadBranches: form.HeadBranches,
289 RequiresLinkedIssue: acl.RequiresLinkedIssue(),
288 290 }, 0)
289 291 }
290 292