Skip to content

Commit f7c8594

Browse files
authored
Merge pull request #12 from YunoHost-Apps/testing
Testing
2 parents 0e2b145 + 741242c commit f7c8594

30 files changed

+475
-612
lines changed

ALL_README.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@
55
- [Irakurri README euskaraz](README_eu.md)
66
- [Lire le README en français](README_fr.md)
77
- [Le o README en galego](README_gl.md)
8+
- [Baca README dalam bahasa bahasa Indonesia](README_id.md)
9+
- [Lees de README in het Nederlands](README_nl.md)
10+
- [Przeczytaj README w języku polski](README_pl.md)
11+
- [Прочитать README на русский](README_ru.md)
812
- [阅读中文(简体)的 README](README_zh_Hans.md)

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ It shall NOT be edited by hand.
55

66
# XWiki for YunoHost
77

8-
[![Integration level](https://dash.yunohost.org/integration/xwiki.svg)](https://ci-apps.yunohost.org/ci/apps/xwiki/) ![Working status](https://ci-apps.yunohost.org/ci/badges/xwiki.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/xwiki.maintain.svg)
8+
[![Integration level](https://apps.yunohost.org/badge/integration/xwiki)](https://ci-apps.yunohost.org/ci/apps/xwiki/)
9+
![Working status](https://apps.yunohost.org/badge/state/xwiki)
10+
![Maintenance status](https://apps.yunohost.org/badge/maintained/xwiki)
911

1012
[![Install XWiki with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=xwiki)
1113

@@ -18,7 +20,7 @@ It shall NOT be edited by hand.
1820

1921
XWiki is an Open Source wiki engine (LGPLv2) suitable for use by workgroups (associations, companies, etc.). The software allows the rapid creation of small applications to meet different information management needs.
2022

21-
**Shipped version:** 16.5.0~ynh1
23+
**Shipped version:** 16.10.2~ynh1
2224

2325
**Demo:** <https://playground.xwiki.org/xwiki/bin/view/Main/WebHome>
2426

README_es.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ No se debe editar a mano.
55

66
# XWiki para Yunohost
77

8-
[![Nivel de integración](https://dash.yunohost.org/integration/xwiki.svg)](https://ci-apps.yunohost.org/ci/apps/xwiki/) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/xwiki.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/xwiki.maintain.svg)
8+
[![Nivel de integración](https://apps.yunohost.org/badge/integration/xwiki)](https://ci-apps.yunohost.org/ci/apps/xwiki/)
9+
![Estado funcional](https://apps.yunohost.org/badge/state/xwiki)
10+
![Estado En Mantención](https://apps.yunohost.org/badge/maintained/xwiki)
911

1012
[![Instalar XWiki con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=xwiki)
1113

@@ -18,7 +20,7 @@ No se debe editar a mano.
1820

1921
XWiki is an Open Source wiki engine (LGPLv2) suitable for use by workgroups (associations, companies, etc.). The software allows the rapid creation of small applications to meet different information management needs.
2022

21-
**Versión actual:** 16.5.0~ynh1
23+
**Versión actual:** 16.10.2~ynh1
2224

2325
**Demo:** <https://playground.xwiki.org/xwiki/bin/view/Main/WebHome>
2426

@@ -37,7 +39,7 @@ XWiki is an Open Source wiki engine (LGPLv2) suitable for use by workgroups (ass
3739

3840
## Información para desarrolladores
3941

40-
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing
42+
Por favor enviar sus correcciones a la [rama `testing`](https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing).
4143

4244
Para probar la rama `testing`, sigue asÍ:
4345

README_eu.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ EZ editatu eskuz.
55

66
# XWiki YunoHost-erako
77

8-
[![Integrazio maila](https://dash.yunohost.org/integration/xwiki.svg)](https://ci-apps.yunohost.org/ci/apps/xwiki/) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/xwiki.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/xwiki.maintain.svg)
8+
[![Integrazio maila](https://apps.yunohost.org/badge/integration/xwiki)](https://ci-apps.yunohost.org/ci/apps/xwiki/)
9+
![Funtzionamendu egoera](https://apps.yunohost.org/badge/state/xwiki)
10+
![Mantentze egoera](https://apps.yunohost.org/badge/maintained/xwiki)
911

1012
[![Instalatu XWiki YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=xwiki)
1113

@@ -18,7 +20,7 @@ EZ editatu eskuz.
1820

1921
XWiki is an Open Source wiki engine (LGPLv2) suitable for use by workgroups (associations, companies, etc.). The software allows the rapid creation of small applications to meet different information management needs.
2022

21-
**Paketatutako bertsioa:** 16.5.0~ynh1
23+
**Paketatutako bertsioa:** 16.10.2~ynh1
2224

2325
**Demoa:** <https://playground.xwiki.org/xwiki/bin/view/Main/WebHome>
2426

README_fr.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ Il NE doit PAS être modifié à la main.
55

66
# XWiki pour YunoHost
77

8-
[![Niveau d’intégration](https://dash.yunohost.org/integration/xwiki.svg)](https://ci-apps.yunohost.org/ci/apps/xwiki/) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/xwiki.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/xwiki.maintain.svg)
8+
[![Niveau d’intégration](https://apps.yunohost.org/badge/integration/xwiki)](https://ci-apps.yunohost.org/ci/apps/xwiki/)
9+
![Statut du fonctionnement](https://apps.yunohost.org/badge/state/xwiki)
10+
![Statut de maintenance](https://apps.yunohost.org/badge/maintained/xwiki)
911

1012
[![Installer XWiki avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=xwiki)
1113

@@ -18,7 +20,7 @@ Il NE doit PAS être modifié à la main.
1820

1921
XWiki est un moteur de wiki Open Source (LGPLv2) adapté à un usage pour des groupes de travail (associations, entreprises…). Le logiciel permet la création rapide de petites applications pour répondre à différents besoins de gestion de l'information.
2022

21-
**Version incluse :** 16.5.0~ynh1
23+
**Version incluse :** 16.10.2~ynh1
2224

2325
**Démo :** <https://playground.xwiki.org/xwiki/bin/view/Main/WebHome>
2426

README_gl.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ NON debe editarse manualmente.
55

66
# XWiki para YunoHost
77

8-
[![Nivel de integración](https://dash.yunohost.org/integration/xwiki.svg)](https://ci-apps.yunohost.org/ci/apps/xwiki/) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/xwiki.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/xwiki.maintain.svg)
8+
[![Nivel de integración](https://apps.yunohost.org/badge/integration/xwiki)](https://ci-apps.yunohost.org/ci/apps/xwiki/)
9+
![Estado de funcionamento](https://apps.yunohost.org/badge/state/xwiki)
10+
![Estado de mantemento](https://apps.yunohost.org/badge/maintained/xwiki)
911

1012
[![Instalar XWiki con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=xwiki)
1113

@@ -18,7 +20,7 @@ NON debe editarse manualmente.
1820

1921
XWiki is an Open Source wiki engine (LGPLv2) suitable for use by workgroups (associations, companies, etc.). The software allows the rapid creation of small applications to meet different information management needs.
2022

21-
**Versión proporcionada:** 16.5.0~ynh1
23+
**Versión proporcionada:** 16.10.2~ynh1
2224

2325
**Demo:** <https://playground.xwiki.org/xwiki/bin/view/Main/WebHome>
2426

README_id.md

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!--
2+
N.B.: README ini dibuat secara otomatis oleh <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
3+
Ini TIDAK boleh diedit dengan tangan.
4+
-->
5+
6+
# XWiki untuk YunoHost
7+
8+
[![Tingkat integrasi](https://apps.yunohost.org/badge/integration/xwiki)](https://ci-apps.yunohost.org/ci/apps/xwiki/)
9+
![Status kerja](https://apps.yunohost.org/badge/state/xwiki)
10+
![Status pemeliharaan](https://apps.yunohost.org/badge/maintained/xwiki)
11+
12+
[![Pasang XWiki dengan YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=xwiki)
13+
14+
*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)*
15+
16+
> *Paket ini memperbolehkan Anda untuk memasang XWiki secara cepat dan mudah pada server YunoHost.*
17+
> *Bila Anda tidak mempunyai YunoHost, silakan berkonsultasi dengan [panduan](https://yunohost.org/install) untuk mempelajari bagaimana untuk memasangnya.*
18+
19+
## Ringkasan
20+
21+
XWiki is an Open Source wiki engine (LGPLv2) suitable for use by workgroups (associations, companies, etc.). The software allows the rapid creation of small applications to meet different information management needs.
22+
23+
**Versi terkirim:** 16.10.2~ynh1
24+
25+
**Demo:** <https://playground.xwiki.org/xwiki/bin/view/Main/WebHome>
26+
27+
## Tangkapan Layar
28+
29+
![Tangkapan Layar pada XWiki](./doc/screenshots/XWiki-standard-help.jpg)
30+
31+
## Dokumentasi dan sumber daya
32+
33+
- Website aplikasi resmi: <https://www.xwiki.org/>
34+
- Dokumentasi pengguna resmi: <https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/>
35+
- Dokumentasi admin resmi: <https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/>
36+
- Depot kode aplikasi hulu: <https://github.com/xwiki/xwiki-platform>
37+
- Gudang YunoHost: <https://apps.yunohost.org/app/xwiki>
38+
- Laporkan bug: <https://github.com/YunoHost-Apps/xwiki_ynh/issues>
39+
40+
## Info developer
41+
42+
Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing).
43+
44+
Untuk mencoba branch `testing`, silakan dilanjutkan seperti:
45+
46+
```bash
47+
sudo yunohost app install https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing --debug
48+
atau
49+
sudo yunohost app upgrade xwiki -u https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing --debug
50+
```
51+
52+
**Info lebih lanjut mengenai pemaketan aplikasi:** <https://yunohost.org/packaging_apps>

README_nl.md

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!--
2+
NB: Deze README is automatisch gegenereerd door <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
3+
Hij mag NIET handmatig aangepast worden.
4+
-->
5+
6+
# XWiki voor Yunohost
7+
8+
[![Integratieniveau](https://apps.yunohost.org/badge/integration/xwiki)](https://ci-apps.yunohost.org/ci/apps/xwiki/)
9+
![Mate van functioneren](https://apps.yunohost.org/badge/state/xwiki)
10+
![Onderhoudsstatus](https://apps.yunohost.org/badge/maintained/xwiki)
11+
12+
[![XWiki met Yunohost installeren](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=xwiki)
13+
14+
*[Deze README in een andere taal lezen.](./ALL_README.md)*
15+
16+
> *Met dit pakket kun je XWiki snel en eenvoudig op een YunoHost-server installeren.*
17+
> *Als je nog geen YunoHost hebt, lees dan [de installatiehandleiding](https://yunohost.org/install), om te zien hoe je 'm installeert.*
18+
19+
## Overzicht
20+
21+
XWiki is an Open Source wiki engine (LGPLv2) suitable for use by workgroups (associations, companies, etc.). The software allows the rapid creation of small applications to meet different information management needs.
22+
23+
**Geleverde versie:** 16.10.2~ynh1
24+
25+
**Demo:** <https://playground.xwiki.org/xwiki/bin/view/Main/WebHome>
26+
27+
## Schermafdrukken
28+
29+
![Schermafdrukken van XWiki](./doc/screenshots/XWiki-standard-help.jpg)
30+
31+
## Documentatie en bronnen
32+
33+
- Officiele website van de app: <https://www.xwiki.org/>
34+
- Officiele gebruikersdocumentatie: <https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/>
35+
- Officiele beheerdersdocumentatie: <https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/>
36+
- Upstream app codedepot: <https://github.com/xwiki/xwiki-platform>
37+
- YunoHost-store: <https://apps.yunohost.org/app/xwiki>
38+
- Meld een bug: <https://github.com/YunoHost-Apps/xwiki_ynh/issues>
39+
40+
## Ontwikkelaarsinformatie
41+
42+
Stuur je pull request alsjeblieft naar de [`testing`-branch](https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing).
43+
44+
Om de `testing`-branch uit te proberen, ga als volgt te werk:
45+
46+
```bash
47+
sudo yunohost app install https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing --debug
48+
of
49+
sudo yunohost app upgrade xwiki -u https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing --debug
50+
```
51+
52+
**Verdere informatie over app-packaging:** <https://yunohost.org/packaging_apps>

README_pl.md

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!--
2+
To README zostało automatycznie wygenerowane przez <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
3+
Nie powinno być ono edytowane ręcznie.
4+
-->
5+
6+
# XWiki dla YunoHost
7+
8+
[![Poziom integracji](https://apps.yunohost.org/badge/integration/xwiki)](https://ci-apps.yunohost.org/ci/apps/xwiki/)
9+
![Status działania](https://apps.yunohost.org/badge/state/xwiki)
10+
![Status utrzymania](https://apps.yunohost.org/badge/maintained/xwiki)
11+
12+
[![Zainstaluj XWiki z YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=xwiki)
13+
14+
*[Przeczytaj plik README w innym języku.](./ALL_README.md)*
15+
16+
> *Ta aplikacja pozwala na szybką i prostą instalację XWiki na serwerze YunoHost.*
17+
> *Jeżeli nie masz YunoHost zapoznaj się z [poradnikiem](https://yunohost.org/install) instalacji.*
18+
19+
## Przegląd
20+
21+
XWiki is an Open Source wiki engine (LGPLv2) suitable for use by workgroups (associations, companies, etc.). The software allows the rapid creation of small applications to meet different information management needs.
22+
23+
**Dostarczona wersja:** 16.10.2~ynh1
24+
25+
**Demo:** <https://playground.xwiki.org/xwiki/bin/view/Main/WebHome>
26+
27+
## Zrzuty ekranu
28+
29+
![Zrzut ekranu z XWiki](./doc/screenshots/XWiki-standard-help.jpg)
30+
31+
## Dokumentacja i zasoby
32+
33+
- Oficjalna strona aplikacji: <https://www.xwiki.org/>
34+
- Oficjalna dokumentacja: <https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/>
35+
- Oficjalna dokumentacja dla administratora: <https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/>
36+
- Repozytorium z kodem źródłowym: <https://github.com/xwiki/xwiki-platform>
37+
- Sklep YunoHost: <https://apps.yunohost.org/app/xwiki>
38+
- Zgłaszanie błędów: <https://github.com/YunoHost-Apps/xwiki_ynh/issues>
39+
40+
## Informacje od twórców
41+
42+
Wyślij swój pull request do [gałęzi `testing`](https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing).
43+
44+
Aby wypróbować gałąź `testing` postępuj zgodnie z instrukcjami:
45+
46+
```bash
47+
sudo yunohost app install https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing --debug
48+
lub
49+
sudo yunohost app upgrade xwiki -u https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing --debug
50+
```
51+
52+
**Więcej informacji o tworzeniu paczek aplikacji:** <https://yunohost.org/packaging_apps>

README_ru.md

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!--
2+
Важно: этот README был автоматически сгенерирован <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
3+
Он НЕ ДОЛЖЕН редактироваться вручную.
4+
-->
5+
6+
# XWiki для YunoHost
7+
8+
[![Уровень интеграции](https://apps.yunohost.org/badge/integration/xwiki)](https://ci-apps.yunohost.org/ci/apps/xwiki/)
9+
![Состояние работы](https://apps.yunohost.org/badge/state/xwiki)
10+
![Состояние сопровождения](https://apps.yunohost.org/badge/maintained/xwiki)
11+
12+
[![Установите XWiki с YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=xwiki)
13+
14+
*[Прочтите этот README на других языках.](./ALL_README.md)*
15+
16+
> *Этот пакет позволяет Вам установить XWiki быстро и просто на YunoHost-сервер.*
17+
> *Если у Вас нет YunoHost, пожалуйста, посмотрите [инструкцию](https://yunohost.org/install), чтобы узнать, как установить его.*
18+
19+
## Обзор
20+
21+
XWiki is an Open Source wiki engine (LGPLv2) suitable for use by workgroups (associations, companies, etc.). The software allows the rapid creation of small applications to meet different information management needs.
22+
23+
**Поставляемая версия:** 16.10.2~ynh1
24+
25+
**Демо-версия:** <https://playground.xwiki.org/xwiki/bin/view/Main/WebHome>
26+
27+
## Снимки экрана
28+
29+
![Снимок экрана XWiki](./doc/screenshots/XWiki-standard-help.jpg)
30+
31+
## Документация и ресурсы
32+
33+
- Официальный веб-сайт приложения: <https://www.xwiki.org/>
34+
- Официальная документация пользователя: <https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/>
35+
- Официальная документация администратора: <https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/>
36+
- Репозиторий кода главной ветки приложения: <https://github.com/xwiki/xwiki-platform>
37+
- Магазин YunoHost: <https://apps.yunohost.org/app/xwiki>
38+
- Сообщите об ошибке: <https://github.com/YunoHost-Apps/xwiki_ynh/issues>
39+
40+
## Информация для разработчиков
41+
42+
Пришлите Ваш запрос на слияние в [ветку `testing`](https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing).
43+
44+
Чтобы попробовать ветку `testing`, пожалуйста, сделайте что-то вроде этого:
45+
46+
```bash
47+
sudo yunohost app install https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing --debug
48+
или
49+
sudo yunohost app upgrade xwiki -u https://github.com/YunoHost-Apps/xwiki_ynh/tree/testing --debug
50+
```
51+
52+
**Больше информации о пакетировании приложений:** <https://yunohost.org/packaging_apps>

README_zh_Hans.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
# YunoHost 上的 XWiki
77

8-
[![集成程度](https://dash.yunohost.org/integration/xwiki.svg)](https://ci-apps.yunohost.org/ci/apps/xwiki/) ![工作状态](https://ci-apps.yunohost.org/ci/badges/xwiki.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/xwiki.maintain.svg)
8+
[![集成程度](https://apps.yunohost.org/badge/integration/xwiki)](https://ci-apps.yunohost.org/ci/apps/xwiki/)
9+
![工作状态](https://apps.yunohost.org/badge/state/xwiki)
10+
![维护状态](https://apps.yunohost.org/badge/maintained/xwiki)
911

1012
[![使用 YunoHost 安装 XWiki](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=xwiki)
1113

@@ -18,7 +20,7 @@
1820

1921
XWiki is an Open Source wiki engine (LGPLv2) suitable for use by workgroups (associations, companies, etc.). The software allows the rapid creation of small applications to meet different information management needs.
2022

21-
**分发版本:** 16.5.0~ynh1
23+
**分发版本:** 16.10.2~ynh1
2224

2325
**演示:** <https://playground.xwiki.org/xwiki/bin/view/Main/WebHome>
2426

auto_update/auto_update.sh

+14-9
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,23 @@ EOL
2020
echo "$result" | jq -r "$1"
2121
}
2222

23-
check_app_version() {
24-
local app_remote_version=$(curl https://nexus.xwiki.org/nexus/content/groups/public/org/xwiki/platform/xwiki-platform-distribution-jetty-hsqldb/maven-metadata.xml |
25-
xq -x '//metadata/versioning/versions' |
26-
sed -E 's|\s*(.*)\s*|\1|g' |
27-
grep -v '\-rc-' |
28-
grep -v '\-milestone-' |
29-
grep -v '^$' |
30-
python3 -c 'import sys
23+
get_remote_version_from_nexus() {
24+
curl https://nexus.xwiki.org/nexus/content/groups/public/"$1" |
25+
xq -x '//metadata/versioning/versions' |
26+
sed -E 's|\s*(.*)\s*|\1|g' |
27+
grep -v '\-rc-' |
28+
grep -v '\-milestone-' |
29+
grep -v '^$' |
30+
python3 -c 'import sys
3131
from packaging.version import Version
3232
versions = sys.stdin.read().splitlines()
3333
versions.sort(key=Version)
34-
print(versions[-1])')
34+
print(versions[-1])'
35+
}
3536

37+
check_app_version() {
38+
local app_remote_version=$(get_remote_version_from_nexus org/xwiki/platform/xwiki-platform-distribution-jetty-hsqldb/maven-metadata.xml)
39+
ldap_version=$(get_remote_version_from_nexus org/xwiki/contrib/ldap/ldap-authenticator/maven-metadata.xml)
3640
jdbc_version=$(curl 'https://api.github.com/repos/pgjdbc/pgjdbc/releases/latest' -H 'Host: api.github.com' --compressed | jq -r ".tag_name" | cut -dL -f2)
3741

3842
## Check if new build is needed
@@ -64,6 +68,7 @@ upgrade_app() {
6468
sed -r -i 's|postgresql-[[:alnum:].]{4,10}\.jar|postgresql-'"${jdbc_version}"'.jar|' ../manifest.toml
6569
sed -r -i "s|$prev_sha256sum_main|$sha256sum_main|" ../manifest.toml
6670
sed -r -i "s|$prev_sha256sum_jdbc|$sha256sum_jdbc|" ../manifest.toml
71+
sed -r -i "s|ldap_version='[[:alnum:].]{3,9}'|ldap_version='$ldap_version'|" ../scripts/_common.sh
6772

6873
git commit -a -m "Upgrade $app_name to $app_version"
6974
git push gitea auto_update:auto_update

conf/hibernate.cfg.xml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
1818
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
1919
-->
20+
<!-- WARNING: Don't edit this file. All change will be removed after each app upgrade -->
2021
<hibernate-configuration>
2122
<session-factory>
2223
<!-- Please refer to the installation guide on

0 commit comments

Comments
 (0)