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

Upgrade to 0.15.2~ynh1

This commit is contained in:
yalh76 2022-02-04 00:26:58 +01:00
parent 1681bfab08
commit c5032860d5
10 changed files with 26 additions and 28 deletions

View file

@ -12,7 +12,8 @@
setup_private=0
setup_public=1
upgrade=1
#upgrade=1 from_commit=CommitHash
# 0.11.3~ynh1
upgrade=1 from_commit=1681bfab08bdc5e943d5fdaf5b5069066f84d35d
backup_restore=1
multi_instance=0
port_already_use=0
@ -22,5 +23,4 @@ Email=
Notification=none
;;; Upgrade options
; commit=CommitHash
name=Name and date of the commit.
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&
name=0.11.3~ynh1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.0.10-62.tar.gz
SOURCE_SUM=84442158aea070095efa832cfe868fd99d6befdf609444f0c9e9f1b4f25480cd
SOURCE_URL=https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.0-22.tar.gz
SOURCE_SUM=9cf8407c59ddb596f3ef39a1d50a113bb7d0a723a4693efc066ff8c6b789c5f6
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://codeload.github.com/LemmyNet/lemmy-translations/tar.gz/9e3dfebe14693553f1002ef06f02201ca1d52863
SOURCE_SUM=1693789ac4d6a3905530b2cf76ad50151082f5e96d1639dc06e30219649a6c87
SOURCE_URL=https://codeload.github.com/LemmyNet/lemmy-translations/tar.gz/00e4efbef6c3ac34cd2f5f444a95eddce9ec12d7
SOURCE_SUM=0587c1867c785e6d229d1519a37fc9a280e78f356d919f868f21a896abddff71
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://git.asonix.dog/asonix/pict-rs/archive/v0.2.6-r2.tar.gz
SOURCE_SUM=c8542ff79fc2f0699b33994d6718a9f8f4bfc94e6c7c7e1e5dc13911afd40d10
SOURCE_URL=https://git.asonix.dog/asonix/pict-rs/archive/v0.3.0-beta.12-r1.tar.gz
SOURCE_SUM=63eb0c0c9038e200dbcd3f708cbc29ba1761e7af789efa3ab84cc2709c14cba6
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

1
doc/DESCRIPTION.md Normal file
View file

@ -0,0 +1 @@
[Lemmy](https://github.com/LemmyNet/lemmy) is similar to sites like [Reddit](https://reddit.com), [Lobste.rs](https://lobste.rs), or [Hacker News](https://news.ycombinator.com/): you subscribe to forums you're interested in, post links and discussions, then vote, and comment on them. Behind the scenes, it is very different; anyone can easily run a server, and all these servers are federated (think email), and connected to the same universe, called the [Fediverse](https://en.wikipedia.org/wiki/Fediverse).

View file

@ -1,3 +1,2 @@
* Any known limitations, constrains or stuff not working, such as (but not limited to):
* Lemmy require full domain path to be installed. Eg. lemmy.domain.tld
* The admin username and password will be sent to the admin of the YunoHost through mail.

View file

@ -5,7 +5,7 @@
"description": {
"en": "A link aggregator / Reddit clone for the fediverse."
},
"version": "0.11.3~ynh1",
"version": "0.15.2~ynh1",
"url": "https://join.lemmy.ml/",
"upstream": {
"license": "GPL-3.0",

View file

@ -18,11 +18,11 @@ pkg_build_dependencies="$imagemagick_build_dependencies $pictrs_build_dependenci
NODEJS_VERSION=12
LEMMY_VERSION=0.11.3
LEMMY_VERSION=0.15.2
LEMMYUI_VERSION=0.11.3
LEMMYUI_VERSION=0.15.2
PICTRS_VERSION=v0.2.6-r2
PICTRS_VERSION=0.3.0-beta.12-r1
IFRAMELY_VERSION=latest

View file

@ -91,16 +91,6 @@ popd
ynh_secure_remove --file="$final_path/build-imagemagick"
#=================================================
# REMOVE DEPENDENCIES
#=================================================
ynh_script_progression --message="Removing dependencies..."
# Remove metapackage and its dependencies
ynh_remove_nodejs
ynh_remove_app_dependencies
ynh_secure_remove --file="/lib/libc.musl-x86_64.so.1"
#=================================================
# REMOVE APP MAIN DIR
#=================================================
@ -117,6 +107,16 @@ ynh_script_progression --message="Removing NGINX web server configuration..."
# Remove the dedicated NGINX config
ynh_remove_nginx_config
#=================================================
# REMOVE DEPENDENCIES
#=================================================
ynh_script_progression --message="Removing dependencies..."
# Remove metapackage and its dependencies
ynh_remove_nodejs
ynh_remove_app_dependencies
ynh_secure_remove --file="/lib/libc.musl-x86_64.so.1"
#=================================================
# SPECIFIC REMOVE
#=================================================

View file

@ -40,8 +40,6 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir)
#=================================================
ynh_script_progression --message="Validating restoration parameters..."
ynh_webpath_available --domain=$domain --path_url=$path_url \
|| ynh_die --message="Path not available: ${domain}${path_url}"
test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path "