From 9570e6352cd5cd2b4b698543477cb88fb8d054c5 Mon Sep 17 00:00:00 2001 From: linsui Date: Sun, 12 Nov 2023 19:45:16 +0800 Subject: [PATCH] update merge request template --- .../merge_request_templates/App inclusion.md | 20 ++++++++++++++----- .gitlab/merge_request_templates/App update.md | 7 ++++++- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/.gitlab/merge_request_templates/App inclusion.md b/.gitlab/merge_request_templates/App inclusion.md index 191faa3d3b..f0b75da8fb 100644 --- a/.gitlab/merge_request_templates/App inclusion.md +++ b/.gitlab/merge_request_templates/App inclusion.md @@ -1,21 +1,31 @@ - +**Please make sure your repo is public and your branch is not protected. See https://docs.gitlab.com/ee/user/project/protected_branches.html. We enable fast-forward merges by default. If your branch is protected, we can't rebase it before merge it.** + +**Please read [the guide](https://gitlab.com/fdroid/fdroiddata/-/blob/master/CONTRIBUTING.md) first if this is your first contribution. Please make sure your metadata follows the best practice in [our templates](https://gitlab.com/fdroid/fdroiddata/tree/master/templates).** + +**Please try your best to make sure all pipelines passed before open a merge request. If a test pipeline fails please check the log. Please check that the build pipeline does build your app. If the build pipeline succeeds but there is no APK files produced then you may have a mistake. Please check if you disable the build. Do not submit a metadata generated with `fdroid import` directly, please remove the disable line at least. Please check if the metadata file is in the correct path. It must be put in `metadata/` and the extension must be `.yml`.** + +**After all pipelines pass you can trigger the issue bot manually but do not trigger it too much which bloats the merge request.** + +**Please remove above lines!** + + ## Required * [ ] The app complies with the [inclusion criteria](https://f-droid.org/docs/Inclusion_Policy) * [ ] The original app author has been notified (and does not oppose the inclusion) * [ ] All related [fdroiddata](https://gitlab.com/fdroid/fdroiddata/issues) and [RFP issues](https://gitlab.com/fdroid/rfp/issues) have been referenced in this merge request -* [ ] Builds with `fdroid build` +* [ ] Builds with `fdroid build` and all pipelines pass ## Strongly Recommended - + * [ ] The upstream app source code repo contains the app metadata _(summary/description/images/changelog/etc)_ in a [Fastlane](https://gitlab.com/snippets/1895688) or [Triple-T](https://gitlab.com/snippets/1901490) folder structure * [ ] Releases are tagged ## Suggested * [ ] External repos are added as git submodules instead of srclibs -* [ ] Enable [Reproducible Builds](https://f-droid.org/docs/Reproducible_Builds) -* [ ] Multiple apks for native code +* [ ] Enable [Reproducible Builds](https://f-droid.org/docs/Reproducible_Builds) +* [ ] Multiple apks for native code --------------------- diff --git a/.gitlab/merge_request_templates/App update.md b/.gitlab/merge_request_templates/App update.md index 19aa84e32d..9fb76d0e2d 100644 --- a/.gitlab/merge_request_templates/App update.md +++ b/.gitlab/merge_request_templates/App update.md @@ -1,4 +1,9 @@ - +**Please make sure your repo is public and your branch is not protected. See https://docs.gitlab.com/ee/user/project/protected_branches.html. We enable fast-forward merges by default. If your branch is protected, we can't rebase it before merge it.** + +**Please read [the guide](https://gitlab.com/fdroid/fdroiddata/-/blob/master/CONTRIBUTING.md) first if this is your first contribution. Please make sure your metadata follows the best practice in [our templates](https://gitlab.com/fdroid/fdroiddata/tree/master/templates).** + +**Please remove above lines!** + ## Required * [ ] The app complies with the [inclusion criteria](https://f-droid.org/docs/Inclusion_Policy)