From 63b2fa38bfeb7da8426951f4b199cde6880de937 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 26 Apr 2019 22:02:40 +0200 Subject: [PATCH 1/2] Update check_process --- check_process | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_process b/check_process index ed441aa..5e7c1e5 100644 --- a/check_process +++ b/check_process @@ -15,7 +15,7 @@ ; Checks pkg_linter=1 setup_sub_dir=0 - setup_root=0 + setup_root=1 setup_nourl=0 setup_private=0 setup_public=0 From c7e96d4565e802608f8fb211b24cc6719a4477e4 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 26 Apr 2019 22:04:06 +0200 Subject: [PATCH 2/2] Adding automation --- .travis.yml | 7 +++++++ check_process | 2 +- pull_request_template.md | 23 +++++++++++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .travis.yml create mode 100644 pull_request_template.md diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6133a24 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: python + +before_install: + - git clone https://github.com/YunoHost/package_linter /tmp/package_linter + +script: +- /tmp/package_linter/package_linter.py ./ \ No newline at end of file diff --git a/check_process b/check_process index 5e7c1e5..ed441aa 100644 --- a/check_process +++ b/check_process @@ -15,7 +15,7 @@ ; Checks pkg_linter=1 setup_sub_dir=0 - setup_root=1 + setup_root=0 setup_nourl=0 setup_private=0 setup_public=0 diff --git a/pull_request_template.md b/pull_request_template.md new file mode 100644 index 0000000..c4172ee --- /dev/null +++ b/pull_request_template.md @@ -0,0 +1,23 @@ +## Problem +- *Description of why you made this PR* + +## Solution +- *And how do you fix that problem* + +## PR Status +- [ ] Code finished. +- [ ] Tested with Package_check. +- [ ] Fix or enhancement tested. +- [ ] Upgrade from last version tested. +- [ ] Can be reviewed and tested. + +## Validation +--- +- [ ] **Code review** +- [ ] **Approval (LGTM)** +*Code review and approval have to be from a member of @YunoHost/apps group* +- **CI succeeded** : +[![Build Status](https://ci-apps-dev.yunohost.org/jenkins/job/drupal7_ynh%20-BRANCH-/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/drupal7_ynh%20-BRANCH-/) +*Please replace '-BRANCH-' in this link by the name of the branch used.* +*If the PR is from a forked repository. Please provide public results from package_check.* +When the PR is marked as ready to merge, you have to wait for 3 days before really merging it.