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/templates/request_new.html +3−2

@@ -31,9 +31,10 @@
31 31 </label>
32 32 </div>
33 33 </div>
34 <label>Closes
35 <input type="text" name="closes" placeholder="Issue numbers such as #42, separated by spaces — closed when this lands">
34 <label>Closes{{if .RequiresLinkedIssue}} <span class="muted">(required)</span>{{end}}
35 <input type="text" name="closes" placeholder="Issue numbers such as #42, separated by spaces — closed when this lands"{{if .RequiresLinkedIssue}} required aria-required="true"{{end}}>
36 36 </label>
37 {{if .RequiresLinkedIssue}}<p class="muted">This repository requires a linked issue. Add the issue number here; it closes when this change lands.</p>{{end}}
37 38 <label>Description
38 39 <textarea name="body" placeholder="Why should this land?"></textarea>
39 40 </label>