diff --git a/README.md b/README.md
index dcf05ad..50950f7 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,8 @@ It shall NOT be edited by hand.
# Gitea for YunoHost
-[![Integration level](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Working status](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg)
+[![Integration level](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Working status](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg)
+
[![Install Gitea with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea)
*[Lire ce readme en français.](./README_fr.md)*
@@ -18,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub.
-**Shipped version:** 1.17.4~ynh1
+**Shipped version:** 1.19.0~ynh1
## Screenshots
diff --git a/README_fr.md b/README_fr.md
index 6959cc8..435d40d 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -5,24 +5,25 @@ It shall NOT be edited by hand.
# Gitea pour YunoHost
-[![Niveau d'intégration](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg)
+[![Niveau d’intégration](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg)
+
[![Installer Gitea avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea)
*[Read this readme in english.](./README.md)*
-> *Ce package vous permet d'installer Gitea rapidement et simplement sur un serveur YunoHost.
-Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
+> *Ce package vous permet d’installer Gitea rapidement et simplement sur un serveur YunoHost.
+Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.*
-## Vue d'ensemble
+## Vue d’ensemble
Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub.
-**Version incluse :** 1.17.4~ynh1
+**Version incluse :** 1.19.0~ynh1
-## Captures d'écran
+## Captures d’écran
-![Capture d'écran de Gitea](./doc/screenshots/screenshot.png)
+![Capture d’écran de Gitea](./doc/screenshots/screenshot.png)
## Avertissements / informations importantes
@@ -106,9 +107,9 @@ If you want to use the Git command (like `git clone`, `git pull`, `git push`), y
## Documentations et ressources
-* Site officiel de l'app :
-* Documentation officielle de l'admin :
-* Dépôt de code officiel de l'app :
+* Site officiel de l’app :
+* Documentation officielle de l’admin :
+* Dépôt de code officiel de l’app :
* Documentation YunoHost pour cette app :
* Signaler un bug :
@@ -124,4 +125,4 @@ ou
sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug
```
-**Plus d'infos sur le packaging d'applications :**
+**Plus d’infos sur le packaging d’applications :**
\ No newline at end of file
diff --git a/check_process b/check_process
index 1acdd87..308b465 100644
--- a/check_process
+++ b/check_process
@@ -15,16 +15,13 @@
#1.14.5
upgrade=1 from_commit=7ea357724f2371aa1173f15ba5a7502609a0a131
upgrade=1 from_commit=bd3fe9a8467864391ffaf96426036ab731833f99
- upgrade=1 from_commit=4e078e91129725c8b09ba551ab2a04e0328a45b3
backup_restore=1
multi_instance=1
incorrect_path=0
port_already_use=1 (6000)
change_url=1
;;; Upgrade options
- ; commit=7ea357724f2371aa1173f15ba5a7502609a0a131
- name=1.14.5
+ ; commit=7ea357724f2371aa1173f15ba5a7502609a0a131
+ name=1.14.5
; commit=bd3fe9a8467864391ffaf96426036ab731833f99
name=Just after group permission support
- ; commit=4e078e91129725c8b09ba551ab2a04e0328a45b3
- name=Gogs code, check migration from gogs
diff --git a/conf/app.ini b/conf/app.ini
index c954f1d..81be54d 100644
--- a/conf/app.ini
+++ b/conf/app.ini
@@ -32,7 +32,8 @@ LFS_JWT_SECRET = __LFS_KEY__
[mailer]
ENABLED = true
-HOST = 127.0.0.1:25
+SMTP_ADDR = 127.0.0.1
+SMTP_PORT = 25
FROM = "Gitea"
SKIP_VERIFY = true
diff --git a/conf/source/arm.src b/conf/source/arm.src
index f891578..0fdf212 100644
--- a/conf/source/arm.src
+++ b/conf/source/arm.src
@@ -1,5 +1,5 @@
-SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.17.4/gitea-1.17.4-linux-arm-6
-SOURCE_SUM=771abb512809d8ddbc12381c58b42cc9b2e3569101d9a6e42fdf9195c584bfc1
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.0/gitea-1.19.0-linux-arm-6
+SOURCE_SUM=83e7820ec90d3b52d964fefef1bd0999f5812e07415403ea9718a07932d878f4
SOURCE_SUM_PRG=sha256sum
SOURCE_FILENAME=gitea
SOURCE_EXTRACT=false
diff --git a/conf/source/arm64.src b/conf/source/arm64.src
index d898a69..a587c04 100644
--- a/conf/source/arm64.src
+++ b/conf/source/arm64.src
@@ -1,5 +1,5 @@
-SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.17.4/gitea-1.17.4-linux-arm64
-SOURCE_SUM=f3d430855071ffe771fb2f28ddb47f25e99b5c2b6450d7c0225961a8d7baac71
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.0/gitea-1.19.0-linux-arm64
+SOURCE_SUM=db938a4ffa1e0e54d636f6da2b55bb37a3f8970a87a4ead76dd526846ec8222b
SOURCE_SUM_PRG=sha256sum
SOURCE_FILENAME=gitea
SOURCE_EXTRACT=false
diff --git a/conf/source/arm64_1.17.src b/conf/source/arm64_1.17.src
new file mode 100644
index 0000000..d898a69
--- /dev/null
+++ b/conf/source/arm64_1.17.src
@@ -0,0 +1,5 @@
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.17.4/gitea-1.17.4-linux-arm64
+SOURCE_SUM=f3d430855071ffe771fb2f28ddb47f25e99b5c2b6450d7c0225961a8d7baac71
+SOURCE_SUM_PRG=sha256sum
+SOURCE_FILENAME=gitea
+SOURCE_EXTRACT=false
diff --git a/conf/source/arm64_1.18.src b/conf/source/arm64_1.18.src
new file mode 100644
index 0000000..5963cc4
--- /dev/null
+++ b/conf/source/arm64_1.18.src
@@ -0,0 +1,5 @@
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.18.5/gitea-1.18.5-linux-arm64
+SOURCE_SUM=0792eec1005588d7ddb3fa0263bfd0dd90aeef1ba9ef9a93be6a3e763328fbaf
+SOURCE_SUM_PRG=sha256sum
+SOURCE_FILENAME=gitea
+SOURCE_EXTRACT=false
diff --git a/conf/source/arm_1.17.src b/conf/source/arm_1.17.src
new file mode 100644
index 0000000..f891578
--- /dev/null
+++ b/conf/source/arm_1.17.src
@@ -0,0 +1,5 @@
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.17.4/gitea-1.17.4-linux-arm-6
+SOURCE_SUM=771abb512809d8ddbc12381c58b42cc9b2e3569101d9a6e42fdf9195c584bfc1
+SOURCE_SUM_PRG=sha256sum
+SOURCE_FILENAME=gitea
+SOURCE_EXTRACT=false
diff --git a/conf/source/arm_1.18.src b/conf/source/arm_1.18.src
new file mode 100644
index 0000000..12cf10a
--- /dev/null
+++ b/conf/source/arm_1.18.src
@@ -0,0 +1,5 @@
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.18.5/gitea-1.18.5-linux-arm-6
+SOURCE_SUM=1663a366a7ee2741bec0378c559df33643451d081882ed03ee6a6f0684d5766c
+SOURCE_SUM_PRG=sha256sum
+SOURCE_FILENAME=gitea
+SOURCE_EXTRACT=false
diff --git a/conf/source/armv7.src b/conf/source/armv7.src
index a2a0daa..2350a1b 100644
--- a/conf/source/armv7.src
+++ b/conf/source/armv7.src
@@ -1,8 +1,8 @@
# The armv7 build is brocken
# See : https://github.com/go-gitea/gitea/issues/6700
# Use temporary the armv6 binary
-SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.17.4/gitea-1.17.4-linux-arm-6
-SOURCE_SUM=771abb512809d8ddbc12381c58b42cc9b2e3569101d9a6e42fdf9195c584bfc1
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.0/gitea-1.19.0-linux-arm-6
+SOURCE_SUM=83e7820ec90d3b52d964fefef1bd0999f5812e07415403ea9718a07932d878f4
SOURCE_SUM_PRG=sha256sum
SOURCE_FILENAME=gitea
SOURCE_EXTRACT=false
diff --git a/conf/source/armv7_1.17.src b/conf/source/armv7_1.17.src
new file mode 100644
index 0000000..a2a0daa
--- /dev/null
+++ b/conf/source/armv7_1.17.src
@@ -0,0 +1,8 @@
+# The armv7 build is brocken
+# See : https://github.com/go-gitea/gitea/issues/6700
+# Use temporary the armv6 binary
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.17.4/gitea-1.17.4-linux-arm-6
+SOURCE_SUM=771abb512809d8ddbc12381c58b42cc9b2e3569101d9a6e42fdf9195c584bfc1
+SOURCE_SUM_PRG=sha256sum
+SOURCE_FILENAME=gitea
+SOURCE_EXTRACT=false
diff --git a/conf/source/armv7_1.18.src b/conf/source/armv7_1.18.src
new file mode 100644
index 0000000..cfdf794
--- /dev/null
+++ b/conf/source/armv7_1.18.src
@@ -0,0 +1,8 @@
+# The armv7 build is brocken
+# See : https://github.com/go-gitea/gitea/issues/6700
+# Use temporary the armv6 binary
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.18.5/gitea-1.18.5-linux-arm-6
+SOURCE_SUM=1663a366a7ee2741bec0378c559df33643451d081882ed03ee6a6f0684d5766c
+SOURCE_SUM_PRG=sha256sum
+SOURCE_FILENAME=gitea
+SOURCE_EXTRACT=false
diff --git a/conf/source/i386.src b/conf/source/i386.src
index b768e97..852ef55 100644
--- a/conf/source/i386.src
+++ b/conf/source/i386.src
@@ -1,5 +1,5 @@
-SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.17.4/gitea-1.17.4-linux-386
-SOURCE_SUM=f18ebd43e87de83b681149e1802e0650fa29b6e25c4f6e1625899c6709706db3
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.0/gitea-1.19.0-linux-386
+SOURCE_SUM=f85fca601bf18666b0f4d30598539c1d05298ab677f85f3bd7db2d9908ef4b98
SOURCE_SUM_PRG=sha256sum
SOURCE_FILENAME=gitea
SOURCE_EXTRACT=false
diff --git a/conf/source/i386_1.17.src b/conf/source/i386_1.17.src
new file mode 100644
index 0000000..b768e97
--- /dev/null
+++ b/conf/source/i386_1.17.src
@@ -0,0 +1,5 @@
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.17.4/gitea-1.17.4-linux-386
+SOURCE_SUM=f18ebd43e87de83b681149e1802e0650fa29b6e25c4f6e1625899c6709706db3
+SOURCE_SUM_PRG=sha256sum
+SOURCE_FILENAME=gitea
+SOURCE_EXTRACT=false
diff --git a/conf/source/i386_1.18.src b/conf/source/i386_1.18.src
new file mode 100644
index 0000000..2f7c738
--- /dev/null
+++ b/conf/source/i386_1.18.src
@@ -0,0 +1,5 @@
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.18.5/gitea-1.18.5-linux-386
+SOURCE_SUM=0fab5fafa55370593ccaf1be2833cff95834ea006502112189973d229893b50c
+SOURCE_SUM_PRG=sha256sum
+SOURCE_FILENAME=gitea
+SOURCE_EXTRACT=false
diff --git a/conf/source/x86-64.src b/conf/source/x86-64.src
index 7a35e99..8bddea6 100644
--- a/conf/source/x86-64.src
+++ b/conf/source/x86-64.src
@@ -1,5 +1,5 @@
-SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.17.4/gitea-1.17.4-linux-amd64
-SOURCE_SUM=a720c1e87748e4fc5e37f4079ad0f8369d3c6d63e274856eb04201857c98ca2b
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.0/gitea-1.19.0-linux-amd64
+SOURCE_SUM=51e8d46a2634e5b5f4266eee8ca4689b5932caf692f23d06cbe5d2eaffe56079
SOURCE_SUM_PRG=sha256sum
SOURCE_FILENAME=gitea
SOURCE_EXTRACT=false
diff --git a/conf/source/x86-64_1.17.src b/conf/source/x86-64_1.17.src
new file mode 100644
index 0000000..7a35e99
--- /dev/null
+++ b/conf/source/x86-64_1.17.src
@@ -0,0 +1,5 @@
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.17.4/gitea-1.17.4-linux-amd64
+SOURCE_SUM=a720c1e87748e4fc5e37f4079ad0f8369d3c6d63e274856eb04201857c98ca2b
+SOURCE_SUM_PRG=sha256sum
+SOURCE_FILENAME=gitea
+SOURCE_EXTRACT=false
diff --git a/conf/source/x86-64_1.18.src b/conf/source/x86-64_1.18.src
new file mode 100644
index 0000000..682d51a
--- /dev/null
+++ b/conf/source/x86-64_1.18.src
@@ -0,0 +1,5 @@
+SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.18.5/gitea-1.18.5-linux-amd64
+SOURCE_SUM=4766ad9310bd39d50676f8199563292ae0bab3a1922b461ece0feb4611e867f2
+SOURCE_SUM_PRG=sha256sum
+SOURCE_FILENAME=gitea
+SOURCE_EXTRACT=false
diff --git a/manifest.json b/manifest.json
index d687470..4b00d7d 100644
--- a/manifest.json
+++ b/manifest.json
@@ -14,7 +14,7 @@
},
"url": "http://gitea.io",
"license": "MIT",
- "version": "1.17.4~ynh1",
+ "version": "1.19.0~ynh1",
"maintainer": {
"name": "Josué Tille",
"email": "josue@tille.ch"
diff --git a/scripts/upgrade b/scripts/upgrade
index e6ffa01..5ba4591 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -234,7 +234,11 @@ case $upstream_version in
restart_gitea
;&
"1.16."* )
- ynh_setup_source $final_path source/${architecture}_1.16
+ ynh_setup_source $final_path source/${architecture}_1.17
+ restart_gitea
+;&
+"1.17."* )
+ ynh_setup_source $final_path source/${architecture}_1.18
restart_gitea
;&
esac