1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/immich_ynh.git synced 2024-09-03 20:36:24 +02:00

Merge pull request #27 from YunoHost-Apps/master-promotion

Upgrade master from testing
This commit is contained in:
ewilly 2024-04-03 21:21:26 +00:00 committed by GitHub
commit 752bef8530
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 16 additions and 31 deletions

View file

@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
- Easy-to-use and friendly interface ;
**Shipped version:** 1.100.0~ynh1
**Shipped version:** 1.100.0~ynh2
## Screenshots

View file

@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
- Easy-to-use and friendly interface ;
**Paketatutako bertsioa:** 1.100.0~ynh1
**Paketatutako bertsioa:** 1.100.0~ynh2
## Pantaila-argazkiak

View file

@ -24,7 +24,7 @@ Solution d'autohébergement pour a gestion de vos photos et vidéos.
- Interface conviviale et egronomique ;
**Version incluse:** 1.100.0~ynh1
**Version incluse:** 1.100.0~ynh2
## Captures décran

View file

@ -24,7 +24,7 @@ Self-hosted photo and video management solution.
- Easy-to-use and friendly interface ;
**Versión proporcionada:** 1.100.0~ynh1
**Versión proporcionada:** 1.100.0~ynh2
## Capturas de pantalla

View file

@ -9,7 +9,7 @@ SERVER_PORT=__PORT__
MICROSERVICES_PORT=__PORT_MICROSERVICES__
MACHINE_LEARNING_HOST=127.0.0.1
MACHINE_LEARNING_PORT=__PORT_MACHINELEARNING__
IMMICH_MACHINE_LEARNING_URL=127.0.0.1:__PORT_MACHINELEARNING__
IMMICH_MACHINE_LEARNING_URL=http://127.0.0.1:__PORT_MACHINELEARNING__
## Database
DB_HOSTNAME=127.0.0.1

View file

@ -7,7 +7,7 @@ name = "Immich"
description.en = "Photo and video backup solution directly from your mobile phone"
description.fr = "Sauvegarde de photos et de vidéos directement depuis votre mobile"
version = "1.100.0~ynh1"
version = "1.100.0~ynh2"
maintainers = ["ewilly"]
@ -47,21 +47,6 @@ ram.runtime = "500M"
autoupdate.strategy = "latest_github_release"
[resources.sources.geonames_cities]
url = "https://download.geonames.org/export/dump/cities500.zip"
sha256 = "afec3356a980771f20c5e96f4a877d33c97fcc331dfc6b02d6bf8a492ec43828"
in_subdir = false
[resources.sources.geonames_divisions]
url = "https://download.geonames.org/export/dump/admin1CodesASCII.txt"
sha256 = "6eace8b269cd4c9635d8f8631857c0be2cb3fb6362495f77f17f266ef7328f11"
rename = "admin1CodesASCII.txt"
[resources.sources.geonames_subdivisions]
url = "https://download.geonames.org/export/dump/admin2Codes.txt"
sha256 = "defbd99329530fa6b06e154662fb16a51a0c12caf41636be17597c58c5374f1c"
rename = "admin2Codes.txt"
[resources.ports]
main.default = 3001
microservices.default = 3002

View file

@ -191,9 +191,15 @@ myynh_install_immich() {
sed -i -e "s@app.listen(port)@app.listen(port, '127.0.0.1')@g" "$install_dir/app/dist/main.js"
# Install geonames
cp -a "$source_dir/geonames_cities/cities500.txt" "$install_dir/resources/"
cp -a "$source_dir/geonames_divisions/admin1CodesASCII.txt" "$install_dir/resources/"
cp -a "$source_dir/geonames_subdivisions/admin2Codes.txt" "$install_dir/resources/"
mkdir -p "$source_dir/geonames"
cd "$source_dir/geonames"
curl -LO "https://download.geonames.org/export/dump/cities500.zip" 2>&1
curl -LO "https://download.geonames.org/export/dump/admin1CodesASCII.txt" 2>&1
curl -LO "https://download.geonames.org/export/dump/admin2Codes.txt" 2>&1
unzip "cities500.zip"
cp -a "$source_dir/geonames/cities500.txt" "$install_dir/resources/"
cp -a "$source_dir/geonames/admin1CodesASCII.txt" "$install_dir/resources/"
cp -a "$source_dir/geonames/admin2Codes.txt" "$install_dir/resources/"
date --iso-8601=seconds | tr -d "\n" > "$install_dir/resources/geodata-date.txt"
# Cleanup

View file

@ -15,9 +15,6 @@ ynh_script_progression --message="Setting up source files..." --weight=1
source_dir="$install_dir/source"
ynh_setup_source --source_id="main" --dest_dir="$source_dir"
ynh_setup_source --source_id="geonames_cities" --dest_dir="$source_dir/geonames_cities/"
ynh_setup_source --source_id="geonames_divisions" --dest_dir="$source_dir/geonames_divisions/"
ynh_setup_source --source_id="geonames_subdivisions" --dest_dir="$source_dir/geonames_subdivisions/"
#=================================================
# CHECK PYTHON VERSION AND COMPILE IF NEEDED

View file

@ -27,9 +27,6 @@ ynh_script_progression --message="Upgrading source files..." --weight=1
source_dir="$install_dir/source"
ynh_setup_source --source_id="main" --dest_dir="$source_dir" --full_replace=1
ynh_setup_source --source_id="geonames_cities" --dest_dir="$source_dir/geonames_cities/" --full_replace=1
ynh_setup_source --source_id="geonames_divisions" --dest_dir="$source_dir/geonames_divisions/" --full_replace=1
ynh_setup_source --source_id="geonames_subdivisions" --dest_dir="$source_dir/geonames_subdivisions/" --full_replace=1
#=================================================
# CHECK PYTHON VERSION AND COMPILE IF NEEDED