WIP: Read {ISSUE,MERGE_REQUESTS}_TEMPLATE from repository head
Put the ISSUE_TEMPLATE or MERGE_REQUESTS_TEMPLATE and the description field of issues or merge requests will be filled with that content.
Merge request reports
Activity
Some more ideas:
- Support the optional
.github
folder, as well as.gitlab
(because why not) - Support
PULL_REQUEST_TEMPLATE
- Take a look at http://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/models/repository.rb#L325 for inspiration. I think these methods are nicer on
repository
thanproject
- Support the optional
@DouweM Good idea :)
@ayufan thanks, I agree with the comments of @rspeicher and @DouweM
mentioned in issue #9088 (closed)
In the vein of alternative locations: it seems like it would be feasible to source these files from a separate metadata branch. This would be preferable in cases where procedure is not necessarily linked to the state of the primary branch.
A particular case I had in mind: keeping issue templates together with code seems very questionable when using git to generate release tarballs.
Added 1 commit:
- 48daab5f - Use repository and redis cache
@rspeicher @DouweM Second go :)
Added 1 commit:
- 0ef796d6 - Fix regexp
Milestone changed to 8.6
Milestone changed to 8.7
Milestone changed to 8.8
Obsoleted by !4981 (merged)?
Let's close it in favor of !4981 (merged), /cc @felipe_artur.