Merge pull request #66 from YunoHost-Apps/testing

Testing
This commit is contained in:
Josue-T 2023-03-21 20:43:10 +01:00 committed by GitHub
commit f7bdfd7085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 91 additions and 31 deletions

View File

@ -6,6 +6,7 @@ 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)
[![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

View File

@ -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 dinté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 dinstaller Gitea rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble
## Vue densemble
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 : <https://gitea.io/>
* Documentation officielle de l'admin : <https://docs.gitea.io/>
* Dépôt de code officiel de l'app : <https://github.com/go-gitea/gitea>
* Site officiel de lapp : <https://gitea.io/>
* Documentation officielle de ladmin : <https://docs.gitea.io/>
* Dépôt de code officiel de lapp : <https://github.com/go-gitea/gitea>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_gitea>
* Signaler un bug : <https://github.com/YunoHost-Apps/gitea_ynh/issues>
@ -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 :** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View File

@ -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

View File

@ -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" <gitea-noreply@__DOMAIN__>
SKIP_VERIFY = true

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

5
conf/source/arm_1.17.src Normal file
View File

@ -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

5
conf/source/arm_1.18.src Normal file
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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