1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/elasticsearch8_ynh.git synced 2024-09-03 18:26:26 +02:00

Merge pull request #38 from YunoHost-Apps/testing

Testing
This commit is contained in:
Florent 2024-03-18 10:51:41 +01:00 committed by GitHub
commit bb2c2db73e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 30 additions and 26 deletions

View file

@ -1,5 +1,5 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
@ -19,21 +19,20 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Elasticsearch is the distributed, RESTful search and analytics engine at the heart of the [Elastic Stack](https://www.elastic.co/products). You can use Elasticsearch to store, search, and manage data for logs, metrics, search backend, application monitoring, Endpoint security. Elasticsearch is the distributed, RESTful search and analytics engine at the heart of the [Elastic Stack](https://www.elastic.co/products). You can use Elasticsearch to store, search, and manage data for logs, metrics, search backend, application monitoring, Endpoint security.
To learn more about Elasticsearchs features and capabilities, see the [product page](https://www.elastic.co/products/elasticsearch). To learn more about Elasticsearchs features and capabilities, see the [product page](https://www.elastic.co/products/elasticsearch).
**Shipped version:** 8.11.1~ynh3
**Shipped version:** 8.11.1~ynh2 **Demo:** <https://www.elastic.co/demos>
**Demo:** https://www.elastic.co/demos
## :red_circle: Antifeatures ## :red_circle: Antifeatures
- **Not totally free upstream**: The packaged app is under an overall free licence, but with clauses that restrict its use. - **Not totally free upstream**: The packaged app is under an overall free licence, but with clauses that restrict its use.
## Documentation and resources ## Documentation and resources
* Official app website: <https://elastic.co> - Official app website: <https://elastic.co>
* Official admin documentation: <https://www.elastic.co/guide/en/elasticsearch/reference/8.11/elasticsearch-intro.html> - Official admin documentation: <https://www.elastic.co/guide/en/elasticsearch/reference/8.11/elasticsearch-intro.html>
* Upstream app code repository: <https://github.com/elastic/elasticsearch> - Upstream app code repository: <https://github.com/elastic/elasticsearch>
* YunoHost Store: <https://apps.yunohost.org/app/elasticsearch8> - YunoHost Store: <https://apps.yunohost.org/app/elasticsearch8>
* Report a bug: <https://github.com/YunoHost-Apps/elasticsearch8_ynh/issues> - Report a bug: <https://github.com/YunoHost-Apps/elasticsearch8_ynh/issues>
## Developer info ## Developer info
@ -41,7 +40,7 @@ Please send your pull request to the [testing branch](https://github.com/YunoHos
To try the testing branch, please proceed like that. To try the testing branch, please proceed like that.
``` bash ```bash
sudo yunohost app install https://github.com/YunoHost-Apps/elasticsearch8_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/elasticsearch8_ynh/tree/testing --debug
or or
sudo yunohost app upgrade elasticsearch8 -u https://github.com/YunoHost-Apps/elasticsearch8_ynh/tree/testing --debug sudo yunohost app upgrade elasticsearch8 -u https://github.com/YunoHost-Apps/elasticsearch8_ynh/tree/testing --debug

View file

@ -1,5 +1,5 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/readme_generator
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
@ -18,21 +18,20 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Elasticsearch est le moteur de recherche et d'analyse distribué et RESTful au cœur de la [Elastic Stack](https://www.elastic.co/products). Vous pouvez utiliser Elasticsearch pour stocker, rechercher et gérer des données pour les journaux, les métriques, le backend de recherche, la surveillance des applications et la sécurité des points de terminaison. Elasticsearch est le moteur de recherche et d'analyse distribué et RESTful au cœur de la [Elastic Stack](https://www.elastic.co/products). Vous pouvez utiliser Elasticsearch pour stocker, rechercher et gérer des données pour les journaux, les métriques, le backend de recherche, la surveillance des applications et la sécurité des points de terminaison.
Pour en savoir plus sur les fonctionnalités et capacités d'Elasticsearch, consultez la [page produit](https://www.elastic.co/products/elasticsearch). Pour en savoir plus sur les fonctionnalités et capacités d'Elasticsearch, consultez la [page produit](https://www.elastic.co/products/elasticsearch).
**Version incluse :** 8.11.1~ynh3
**Version incluse :** 8.11.1~ynh2 **Démo :** <https://www.elastic.co/demos>
## :red_circle: Anti-fonctionnalités
**Démo :** https://www.elastic.co/demos - **Application sous licence libre restreinte** : L'application packagée est sous une licence globalement libre, mais avec des clauses qui pourraient restreindre son utilisation.
## :red_circle: Fonctions indésirables
- **Not totally free upstream**: The packaged app is under an overall free licence, but with clauses that restrict its use.
## Documentations et ressources ## Documentations et ressources
* Site officiel de lapp : <https://elastic.co> - Site officiel de lapp : <https://elastic.co>
* Documentation officielle de ladmin : <https://www.elastic.co/guide/en/elasticsearch/reference/8.11/elasticsearch-intro.html> - Documentation officielle de ladmin : <https://www.elastic.co/guide/en/elasticsearch/reference/8.11/elasticsearch-intro.html>
* Dépôt de code officiel de lapp : <https://github.com/elastic/elasticsearch> - Dépôt de code officiel de lapp : <https://github.com/elastic/elasticsearch>
* YunoHost Store: <https://apps.yunohost.org/app/elasticsearch8> - YunoHost Store : <https://apps.yunohost.org/app/elasticsearch8>
* Signaler un bug : <https://github.com/YunoHost-Apps/elasticsearch8_ynh/issues> - Signaler un bug : <https://github.com/YunoHost-Apps/elasticsearch8_ynh/issues>
## Informations pour les développeurs ## Informations pour les développeurs
@ -40,10 +39,10 @@ Merci de faire vos pull request sur la [branche testing](https://github.com/Yuno
Pour essayer la branche testing, procédez comme suit. Pour essayer la branche testing, procédez comme suit.
``` bash ```bash
sudo yunohost app install https://github.com/YunoHost-Apps/elasticsearch8_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/elasticsearch8_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade elasticsearch8 -u https://github.com/YunoHost-Apps/elasticsearch8_ynh/tree/testing --debug sudo yunohost app upgrade elasticsearch8 -u https://github.com/YunoHost-Apps/elasticsearch8_ynh/tree/testing --debug
``` ```
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -5,7 +5,7 @@ name = "ElasticSearch 8"
description.en = "Distributed and RESTful search engine" description.en = "Distributed and RESTful search engine"
description.fr = "Moteur de recherche RESTful" description.fr = "Moteur de recherche RESTful"
version = "8.11.1~ynh2" version = "8.11.1~ynh3"
maintainers = ["fflorent"] maintainers = ["fflorent"]
@ -35,9 +35,13 @@ ram.runtime = "50M"
[resources.sources.main] [resources.sources.main]
arm64.url = "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.11.1-linux-aarch64.tar.gz" arm64.url = "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.11.1-linux-aarch64.tar.gz"
arm64.sha256 = "1728d26f398b58156411f80b871a2d5a0825ae446a8bec70a01a952fe7c707cb" arm64.sha256 = "1728d26f398b58156411f80b871a2d5a0825ae446a8bec70a01a952fe7c707cb"
autoupdate.asset.arm64 = ".*\\.tar\\.gz$"
amd64.url = "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.11.1-linux-x86_64.tar.gz" amd64.url = "https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.11.1-linux-x86_64.tar.gz"
amd64.sha256 = "dd8572e4f50ffbe4079cce315b17c25e3cebaa02fd7eb134d2aa222703459780" amd64.sha256 = "dd8572e4f50ffbe4079cce315b17c25e3cebaa02fd7eb134d2aa222703459780"
autoupdate.strategy = "latest_github_tag" autoupdate.asset.amd64 = ".*\\.tar\\.gz$"
autoupdate.upstream = "https://github.com/elastic/elasticsearch/"
autoupdate.strategy = "latest_github_release"
[resources.system_user] [resources.system_user]

View file

@ -38,7 +38,9 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=20 ynh_script_progression --message="Upgrading source files..." --weight=20
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="config/elasticsearch.yml config/jvm.options.d/yunohost.conf" # The keep option prevents this warning:
# "File .... has been manually modified since the installation or last upgrade."
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/elasticsearch.yml"
fi fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"