Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing #30

Merged
merged 14 commits into from
Jan 3, 2025
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@ It shall NOT be edited by hand.

_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!

### ⚠️ PLEASE READ CAREFULLY ⚠️

**Sharkey** requires **redis** version **7**, but YunoHost does not currently support this version.
Some functions will not be available if you install this package.

I advise you to wait for the release of _Bookworm_ Debian 12.


**Shipped version:** 2024.9.4~ynh1
**Shipped version:** 2024.11.2~ynh1

## Screenshots

Expand Down
9 changes: 1 addition & 8 deletions README_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@ No se debe editar a mano.

_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!

### ⚠️ PLEASE READ CAREFULLY ⚠️

**Sharkey** requires **redis** version **7**, but YunoHost does not currently support this version.
Some functions will not be available if you install this package.

I advise you to wait for the release of _Bookworm_ Debian 12.


**Versión actual:** 2024.9.4~ynh1
**Versión actual:** 2024.11.2~ynh1

## Capturas

Expand Down
9 changes: 1 addition & 8 deletions README_eu.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@ EZ editatu eskuz.

_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!

### ⚠️ PLEASE READ CAREFULLY ⚠️

**Sharkey** requires **redis** version **7**, but YunoHost does not currently support this version.
Some functions will not be available if you install this package.

I advise you to wait for the release of _Bookworm_ Debian 12.


**Paketatutako bertsioa:** 2024.9.4~ynh1
**Paketatutako bertsioa:** 2024.11.2~ynh1

## Pantaila-argazkiak

Expand Down
9 changes: 1 addition & 8 deletions README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@ Il NE doit PAS être modifié à la main.

_Sharkey_ est un fork de Misskey qui suit les changements en amont lorsque c'est possible, avec des fonctionnalités supplémentaires !

### ⚠️ A LIRE ATTENTIVEMENT ⚠️

Attention **Sharkey** nécessite la version **7** de **redis** hors YunoHost ne permet pas actuellement de bénéficier de cette version.
Certaines fonctions ne seront pas disponible si vous installez ce package.

Je vous conseille d'attendre la sortie de _Bookworm_ Debian 12.


**Version incluse :** 2024.9.4~ynh1
**Version incluse :** 2024.11.2~ynh1

## Captures d’écran

Expand Down
9 changes: 1 addition & 8 deletions README_gl.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@ NON debe editarse manualmente.

_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!

### ⚠️ PLEASE READ CAREFULLY ⚠️

**Sharkey** requires **redis** version **7**, but YunoHost does not currently support this version.
Some functions will not be available if you install this package.

I advise you to wait for the release of _Bookworm_ Debian 12.


**Versión proporcionada:** 2024.9.4~ynh1
**Versión proporcionada:** 2024.11.2~ynh1

## Capturas de pantalla

Expand Down
9 changes: 1 addition & 8 deletions README_id.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@ Ini TIDAK boleh diedit dengan tangan.

_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!

### ⚠️ PLEASE READ CAREFULLY ⚠️

**Sharkey** requires **redis** version **7**, but YunoHost does not currently support this version.
Some functions will not be available if you install this package.

I advise you to wait for the release of _Bookworm_ Debian 12.


**Versi terkirim:** 2024.9.4~ynh1
**Versi terkirim:** 2024.11.2~ynh1

## Tangkapan Layar

Expand Down
9 changes: 1 addition & 8 deletions README_nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@ Hij mag NIET handmatig aangepast worden.

_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!

### ⚠️ PLEASE READ CAREFULLY ⚠️

**Sharkey** requires **redis** version **7**, but YunoHost does not currently support this version.
Some functions will not be available if you install this package.

I advise you to wait for the release of _Bookworm_ Debian 12.


**Geleverde versie:** 2024.9.4~ynh1
**Geleverde versie:** 2024.11.2~ynh1

## Schermafdrukken

Expand Down
9 changes: 1 addition & 8 deletions README_pl.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@ Nie powinno być ono edytowane ręcznie.

_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!

### ⚠️ PLEASE READ CAREFULLY ⚠️

**Sharkey** requires **redis** version **7**, but YunoHost does not currently support this version.
Some functions will not be available if you install this package.

I advise you to wait for the release of _Bookworm_ Debian 12.


**Dostarczona wersja:** 2024.9.4~ynh1
**Dostarczona wersja:** 2024.11.2~ynh1

## Zrzuty ekranu

Expand Down
9 changes: 1 addition & 8 deletions README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@

_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!

### ⚠️ PLEASE READ CAREFULLY ⚠️

**Sharkey** requires **redis** version **7**, but YunoHost does not currently support this version.
Some functions will not be available if you install this package.

I advise you to wait for the release of _Bookworm_ Debian 12.


**Поставляемая версия:** 2024.9.4~ynh1
**Поставляемая версия:** 2024.11.2~ynh1

## Снимки экрана

Expand Down
9 changes: 1 addition & 8 deletions README_zh_Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,8 @@

_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!

### ⚠️ PLEASE READ CAREFULLY ⚠️

**Sharkey** requires **redis** version **7**, but YunoHost does not currently support this version.
Some functions will not be available if you install this package.

I advise you to wait for the release of _Bookworm_ Debian 12.


**分发版本:** 2024.9.4~ynh1
**分发版本:** 2024.11.2~ynh1

## 截图

Expand Down
4 changes: 2 additions & 2 deletions conf/systemd.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WorkingDirectory=__INSTALL_DIR__/
Environment="PATH=__PATH_WITH_NODEJS__"
Environment="NODE_OPTIONS=--max-old-space-size=8192"
Environment="NODE_ENV=production"
ExecStart=__NODEJS_DIR__/npm start
ExecStart=__NODEJS_DIR__/pnpm start
TimeoutSec=60
Restart=always

Expand All @@ -34,7 +34,7 @@ ProtectKernelModules=yes
ProtectKernelTunables=yes
LockPersonality=yes
SystemCallArchitectures=native
SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation @privileged
SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation

# Denying access to capabilities that should not be relevant for webapps
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
Expand Down
7 changes: 0 additions & 7 deletions doc/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
## 🌎 A Sharkish microblogging platform 🦈🚀

_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!

### ⚠️ PLEASE READ CAREFULLY ⚠️

**Sharkey** requires **redis** version **7**, but YunoHost does not currently support this version.
Some functions will not be available if you install this package.

I advise you to wait for the release of _Bookworm_ Debian 12.
7 changes: 0 additions & 7 deletions doc/DESCRIPTION_fr.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
## 🌎 Une plateforme de microblogging 🦈🚀

_Sharkey_ est un fork de Misskey qui suit les changements en amont lorsque c'est possible, avec des fonctionnalités supplémentaires !

### ⚠️ A LIRE ATTENTIVEMENT ⚠️

Attention **Sharkey** nécessite la version **7** de **redis** hors YunoHost ne permet pas actuellement de bénéficier de cette version.
Certaines fonctions ne seront pas disponible si vous installez ce package.

Je vous conseille d'attendre la sortie de _Bookworm_ Debian 12.
10 changes: 6 additions & 4 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "Sharkey"
description.en = "Microblogging platform"
description.fr = "Platforme de Microblogging"

version = "2024.9.4~ynh1"
version = "2024.11.2~ynh1"

maintainers = ["oufmilo"]

Expand All @@ -15,12 +15,14 @@ website = "https://git.joinsharkey.org/Sharkey"
code = "https://activitypub.software/TransFem-org/Sharkey"

[integration]
yunohost = ">= 11.2.30"
yunohost = ">= 12.0.9"
helpers_version = "2.1"
architectures = "all"
multi_instance = false

ldap = false
sso = false

disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
Expand All @@ -38,8 +40,8 @@ ram.runtime = "50M"
[resources]

[resources.sources.main]
url = "https://activitypub.software/TransFem-org/Sharkey/-/archive/2024.9.4/Sharkey-2024.9.4.tar.bz2"
sha256 = "c6a14b9608aab2721a3fb8cf62c469826ab6c915c4062675dde82bb753161cb2"
url = "https://activitypub.software/TransFem-org/Sharkey/-/archive/2024.11.2/Sharkey-2024.11.2.tar.bz2"
sha256 = "c3c02cf8458481ef8a7eb60f56b24b4e3dd51b230541e17dc11d1a2beb481792"

autoupdate.strategy = "latest_gitlab_release"

Expand Down
4 changes: 2 additions & 2 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ ynh_script_progression "Building $app..."

pushd "$install_dir"
ynh_hide_warnings corepack enable && corepack prepare pnpm@latest --activate
ynh_hide_warnings ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install --frozen-lockfile
ynh_hide_warnings ynh_exec_as_app NODE_ENV=production pnpm build
ynh_hide_warnings ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 NODE_OPTIONS="--max-old-space-size=3000" pnpm install --frozen-lockfile
ynh_hide_warnings ynh_exec_as_app NODE_ENV=production NODE_OPTIONS="--max-old-space-size=3000" pnpm build
ynh_hide_warnings ynh_exec_as_app pnpm run init
popd

Expand Down
4 changes: 2 additions & 2 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ ynh_script_progression "Building app..."

pushd "$install_dir"
ynh_hide_warnings corepack enable && corepack prepare pnpm@latest --activate
ynh_hide_warnings ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install --frozen-lockfile
ynh_hide_warnings ynh_exec_as_app NODE_ENV=production pnpm build
ynh_hide_warnings ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 NODE_OPTIONS="--max-old-space-size=3000" pnpm install --frozen-lockfile
ynh_hide_warnings ynh_exec_as_app NODE_ENV=production NODE_OPTIONS="--max-old-space-size=3000" pnpm build
ynh_hide_warnings ynh_exec_as_app pnpm migrate
popd

Expand Down