From 8b7b517769145db521cb39ab95cb2d3092ec86b3 Mon Sep 17 00:00:00 2001 From: "J. C. Hammons" Date: Sun, 27 Feb 2022 15:26:21 -0500 Subject: [PATCH 1/4] Upgrade pict-rs to v0.3.0-rc2 with working rust-s3 --- conf/pict-rs.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/pict-rs.src b/conf/pict-rs.src index b7d8ce6..f927331 100644 --- a/conf/pict-rs.src +++ b/conf/pict-rs.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://git.asonix.dog/asonix/pict-rs/archive/v0.3.0-beta.19.tar.gz -SOURCE_SUM=0c53ba162c999375e9688024ffc77b783a0cc07c4928d44d753b052c09995bba +SOURCE_URL=https://git.asonix.dog/asonix/pict-rs/archive/v0.3.0-rc.2.tar.gz +SOURCE_SUM=b2dadfbb42c57d4abb6129aa07af8f208557cc948c0915aa8fcd3292cc8999b6 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true From 1e7362b9fb92c3ab5521145aed37bd94ec8df8a5 Mon Sep 17 00:00:00 2001 From: "J. C. Hammons" Date: Sun, 27 Feb 2022 16:46:56 -0500 Subject: [PATCH 2/4] Create pgcrypto extension if needed. --- scripts/upgrade | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index f268612..ce9dbbd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -208,6 +208,13 @@ ynh_add_config --template="../conf/lemmy.hjson" --destination="$final_path/confi chmod 400 "$final_path/config/config.hjson" chown $app:$app "$final_path/config/config.hjson" +#================================================= +# CREATE EXTENSION IF NOT EXISTS pgcrypto +#================================================= +ynh_script_progression --message="Creating pgcrypto extension if needed..." + +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pgcrypto;" --database="$db_name" + #================================================= # SETUP SYSTEMD #================================================= @@ -223,6 +230,7 @@ ynh_add_systemd_config --service="$app-pict-rs" --template="pict-rs.service" #================================================= # SETUP LOGROTATE #================================================= + ynh_script_progression --message="Upgrading logrotate configuration..." mkdir -p "/var/log/$app" From 858559bc62c215ec8645ff112f1e5b4bf96d844c Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 3 Mar 2022 02:07:19 +0100 Subject: [PATCH 3/4] Increase version number --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 0873e5f..b4402c7 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "description": { "en": "A link aggregator / Reddit clone for the fediverse." }, - "version": "0.15.2~ynh1", + "version": "0.15.2~ynh2", "url": "https://join.lemmy.ml/", "upstream": { "license": "GPL-3.0", From d30007d77bf702f0d3771e68ed5f46fd46614290 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Thu, 3 Mar 2022 01:07:26 +0000 Subject: [PATCH 4/4] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7ade38..f719329 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in [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). -**Shipped version:** 0.15.2~ynh1 +**Shipped version:** 0.15.2~ynh2 **Demo:** https://lemmy.ml/ diff --git a/README_fr.md b/README_fr.md index f679447..96fd81b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour [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). -**Version incluse :** 0.15.2~ynh1 +**Version incluse :** 0.15.2~ynh2 **Démo :** https://lemmy.ml/