diff --git a/check_process b/check_process index b263d1a..21e3926 100644 --- a/check_process +++ b/check_process @@ -1,14 +1,9 @@ -# See here for more informations -# https://github.com/YunoHost/package_check#syntax-check_process-file - -# Move this file from check_process.default to check_process when you have filled it. - ;; Test complet ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - admin="john" (USER) - is_public=1 (PUBLIC|public=1|private=0) + domain="domain.tld" + path="/path" + admin="john" + is_public=1 password="pass" ; Checks pkg_linter=1 @@ -23,19 +18,7 @@ incorrect_path=0 port_already_use=0 change_url=0 -;;; Levels - Level 1=auto - Level 2=auto - Level 3=auto -# Level 4: - Level 4=0 -# Level 5: - Level 5=auto - Level 6=auto - Level 7=auto - Level 8=0 - Level 9=0 - Level 10=0 + ;;; Options Email=jean-baptiste@holcroft.fr Notification=all diff --git a/manifest.json b/manifest.json index acf2ce4..71e9f62 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "pagure", "packaging_format": 1, "requirements": { - "yunohost": ">= 3.2.0" + "yunohost": ">= 4.2.4" }, "description": { "en": "Pagure is a git-centered forge, python based using pygit2." @@ -24,17 +24,11 @@ { "name": "domain", "type": "domain", - "ask": { - "en": "Choose a domain for Pagure:" - }, "example": "domain.org" }, { "name": "path", "type": "path", - "ask": { - "en": "Choose a path for Pagure:" - }, "example": "/pagure", "default": "/pagure" }, @@ -44,14 +38,11 @@ "ask": { "en": "Should Pagure be publicly accessible?" }, - "default": "0" + "default": true }, { "name": "admin", "type": "user", - "ask": { - "en": "Choose an admin user for Pagure" - }, "example": "simon" } ] diff --git a/scripts/install b/scripts/install index b7f56af..72a7dee 100755 --- a/scripts/install +++ b/scripts/install @@ -25,16 +25,6 @@ path_url=$YNH_APP_ARG_PATH admin=$YNH_APP_ARG_ADMIN is_public=$YNH_APP_ARG_IS_PUBLIC -# This is a multi-instance app, meaning it can be installed several times independently -# The id of the app as stated in the manifest is available as $YNH_APP_ID -# The instance number is available as $YNH_APP_INSTANCE_NUMBER (equals "1", "2", ...) -# The app instance name is available as $YNH_APP_INSTANCE_NAME -# - the first time the app is installed, YNH_APP_INSTANCE_NAME = ynhexample -# - the second time the app is installed, YNH_APP_INSTANCE_NAME = ynhexample__2 -# - ynhexample__{N} for the subsequent installations, with N=3,4, ... -# The app instance name is probably what you are interested the most, since this is -# guaranteed to be unique. This is a good unique identifier to define installation path, -# db names, ... app=$YNH_APP_INSTANCE_NAME #=================================================