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

Merge pull request #7 from YunoHost-Apps/testing

Testing 0.2.1~ynh3
This commit is contained in:
OniriCorpe 2022-03-19 00:34:01 +01:00 committed by GitHub
commit cf71d08caa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 49 additions and 7 deletions

View file

@ -24,7 +24,7 @@ With GoToSocial, you can keep in touch with your friends, post, read, and share
Documentation is at [docs.gotosocial.org](https://docs.gotosocial.org).
**Shipped version:** 0.2.1~ynh2
**Shipped version:** 0.2.1~ynh3
@ -34,11 +34,16 @@ Documentation is at [docs.gotosocial.org](https://docs.gotosocial.org).
## Disclaimers / important information
GoToSocial is still in alpha and **may be unstable**.
GoToSocial require a dedicated root domain, for example: gotosocial.domain.tld.
This package is not-working single-sign on or LDAP integration.
You will have a separate account from the rest of your Yunohost server, potentially with a different username and password.
GoToSocial **does not provide a user interface**.
You will need to use a Mastodon-compatible client such as [https://tusky.app/](Tusky) on Android or an instance of [https://pinafore.social/](Pinafore) on the Web.
You can login to [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) to administrate your GoToSocial instance.
The [source code of this administration panel](https://github.com/superseriousbusiness/gotosocial-admin) is available on github.

View file

@ -20,7 +20,7 @@ Avec GoToSocial, vous pouvez rester en contact avec vos amis, publier, lire et p
Vous pouvez consulter la documentation à l'adresse : [docs.gotosocial.org](https://docs.gotosocial.org).
**Version incluse :** 0.2.1~ynh2
**Version incluse :** 0.2.1~ynh3
@ -30,11 +30,16 @@ Vous pouvez consulter la documentation à l'adresse : [docs.gotosocial.org](http
## Avertissements / informations importantes
GoToSocial est encore en alpha et **peut etre instable**.
GoToSocial nécessite un nom de domaine dédié, par exemple : gotosocial.domain.tld.
Ce paquet ne fonctionne pas avec l'authentification unique (SSO) ou l'intégration LDAP.
Vous aurez un compte séparé du reste de votre serveur Yunohost, avec potentiellement un nom d'utilisateur et un mot de passe différent.
GoToSocial **ne dispose pas d'une interface utilisateur-ice**.
Vous devrez utiliser un client compatible avec Mastodon comme [https://tusky.app/](Tusky) sur Android ou une instance de [https://pinafore.social/](Pinafore) en Web.
Vous pouvez vous connecter sur [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) pour administrer votre insance GoToSocial.
Le [code source de cette interface d'administration](https://github.com/superseriousbusiness/gotosocial-admin) est consultable sur github.

View file

@ -53,7 +53,7 @@ account-domain: ""
# letsencrypt, it should still be https.
# Options: ["http","https"]
# Default: "https"
protocol: "http"
protocol: "https"
# String. Address to bind the GoToSocial server to.
# This can be an IPv4 address or an IPv6 address (surrounded in square brackets), or a hostname.

View file

@ -1,7 +1,12 @@
GoToSocial is still in alpha and **may be unstable**.
GoToSocial require a dedicated root domain, for example: gotosocial.domain.tld.
This package is not-working single-sign on or LDAP integration.
You will have a separate account from the rest of your Yunohost server, potentially with a different username and password.
GoToSocial **does not provide a user interface**.
You will need to use a Mastodon-compatible client such as [https://tusky.app/](Tusky) on Android or an instance of [https://pinafore.social/](Pinafore) on the Web.
You can login to [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) to administrate your GoToSocial instance.
The [source code of this administration panel](https://github.com/superseriousbusiness/gotosocial-admin) is available on github.

View file

@ -1,7 +1,12 @@
GoToSocial est encore en alpha et **peut etre instable**.
GoToSocial nécessite un nom de domaine dédié, par exemple : gotosocial.domain.tld.
Ce paquet ne fonctionne pas avec l'authentification unique (SSO) ou l'intégration LDAP.
Vous aurez un compte séparé du reste de votre serveur Yunohost, avec potentiellement un nom d'utilisateur et un mot de passe différent.
GoToSocial **ne dispose pas d'une interface utilisateur-ice**.
Vous devrez utiliser un client compatible avec Mastodon comme [https://tusky.app/](Tusky) sur Android ou une instance de [https://pinafore.social/](Pinafore) en Web.
Vous pouvez vous connecter sur [gts.superseriousbusiness.org/admin](https://gts.superseriousbusiness.org/admin/) pour administrer votre insance GoToSocial.
Le [code source de cette interface d'administration](https://github.com/superseriousbusiness/gotosocial-admin) est consultable sur github.

View file

@ -6,7 +6,7 @@
"en": "An ActivityPub social network server, written in Golang.",
"fr": "Un serveur de réseau social basé sur ActivityPub écrit en Golang."
},
"version": "0.2.1~ynh2",
"version": "0.2.1~ynh3",
"url": "https://github.com/superseriousbusiness/gotosocial",
"upstream": {
"license": " AGPL-3.0-only",

View file

@ -11,6 +11,26 @@ pkg_dependencies="postgresql postgresql-contrib"
# PERSONAL HELPERS
#=================================================
# custom function to detect armv6 and armv7
# ($YNH_ARCH returns armhf for both...)
detect_arch(){
local architecture
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then
architecture="arm64"
elif [ -n "$(uname -m | grep 64)" ]; then
architecture="x86-64"
elif [ -n "$(uname -m | grep 86)" ]; then
architecture="i386"
elif [ -n "$(uname -m | grep armv6)" ]; then
architecture="armv6"
elif [ -n "$(uname -m | grep armv7)" ]; then
architecture="armv7"
else
architecture="unknown"
fi
echo $architecture
}
#=================================================
# EXPERIMENTAL HELPERS
#=================================================

View file

@ -140,7 +140,8 @@ ynh_script_progression --message="Setting up source files..." --weight=1
### downloaded from an upstream source, like a git repository.
### `ynh_setup_source` use the file conf/app.src
architecture=$YNH_ARCH
# detect_arch comes from _common.sh / personnal helpers
architecture=$(detect_arch)
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --source_id=$architecture

View file

@ -83,8 +83,9 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..."
architecture=$YNH_ARCH
# detect_arch comes from _common.sh / personnal helpers
architecture=$(detect_arch)
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --source_id=$architecture --keep="config.yaml"
fi