From 041ec1330a999aa77b6abc71f8b6f2f5204d0017 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 3 Apr 2025 18:54:56 +0800 Subject: HTML: Add contribution guidelines in the MR tab --- templates/repo_contrib_index.tmpl | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/repo_contrib_index.tmpl b/templates/repo_contrib_index.tmpl index a4c5098..c7ae45c 100644 --- a/templates/repo_contrib_index.tmpl +++ b/templates/repo_contrib_index.tmpl @@ -43,18 +43,26 @@ {{- .repo_description -}} +
+

How to submit a merge request

+
git clone {{ .ssh_clone_url }}
+cd powxy
+git checkout -b contrib/name_of_your_contribution
+# edit and commit stuff
+git push -u origin HEAD
+

Pushes that update branches in other namespaces, or pushes to existing contribution branches belonging to other SSH keys, will be automatically +rejected, unless you are an authenticated maintainer. Otherwise, a merge request is automatically opened, and the maintainers are notified via IRC.

+

Alternatively, you may email patches to {{ .repo_patch_mailing_list }}.

+
- - + + + + - - - - - {{- range .merge_requests -}} -- cgit v1.2.3
Merge requests
IDTitleStatus
IDTitleStatus