Skip to content

Commit

Permalink
Merge pull request #68 from YunoHost-Apps/testing
Browse files Browse the repository at this point in the history
Testing
  • Loading branch information
ericgaspar authored Apr 2, 2023
2 parents 9cb130f + 1152599 commit af20145
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fetch the source code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run the updater script
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Create Pull Request
id: cpr
if: ${{ env.PROCEED == 'true' }}
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update to version ${{ env.VERSION }}
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ It shall NOT be edited by hand.

# Airsonic-Advanced for YunoHost

[![Integration level](https://dash.yunohost.org/integration/airsonic.svg)](https://dash.yunohost.org/appci/app/airsonic) ![Working status](https://ci-apps.yunohost.org/ci/badges/airsonic.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/airsonic.maintain.svg)
[![Integration level](https://dash.yunohost.org/integration/airsonic.svg)](https://dash.yunohost.org/appci/app/airsonic) ![Working status](https://ci-apps.yunohost.org/ci/badges/airsonic.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/airsonic.maintain.svg)

[![Install Airsonic-Advanced with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=airsonic)

*[Lire ce readme en français.](./README_fr.md)*
Expand All @@ -26,7 +27,7 @@ If you have constrained bandwidth, you may set an upper limit for the bit rate o
In addition to being a streaming media server, Airsonic works very well as a local jukebox. The intuitive web interface, as well as search and index facilities, are optimized for efficient browsing through large media libraries. Airsonic also comes with an integrated Podcast receiver, with many of the same features as you find in iTunes.


**Shipped version:** 11.0.0~ynh3
**Shipped version:** 11.0.0~ynh4

## Screenshots

Expand Down
21 changes: 11 additions & 10 deletions README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ It shall NOT be edited by hand.

# Airsonic-Advanced pour YunoHost

[![Niveau d'intégration](https://dash.yunohost.org/integration/airsonic.svg)](https://dash.yunohost.org/appci/app/airsonic) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/airsonic.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/airsonic.maintain.svg)
[![Niveau d’intégration](https://dash.yunohost.org/integration/airsonic.svg)](https://dash.yunohost.org/appci/app/airsonic) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/airsonic.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/airsonic.maintain.svg)

[![Installer Airsonic-Advanced avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=airsonic)

*[Read this readme in english.](./README.md)*

> *Ce package vous permet d'installer Airsonic-Advanced rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
> *Ce package vous permet dinstaller Airsonic-Advanced rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*

## Vue d'ensemble
## Vue densemble

Airsonic-Advanced est une implémentation plus moderne de la bifurcation d'Airsonic avec plusieurs améliorations clés en termes de performances et de fonctionnalités. Elle ajoute et remplace plusieurs fonctionnalités d'Airsonic.

Expand All @@ -26,11 +27,11 @@ Si vous avez une bande passante limitée, vous pouvez fixer une limite supérieu
En plus d'être un serveur de médias en streaming, Airsonic fonctionne très bien comme un jukebox local. L'interface web intuitive, ainsi que les fonctions de recherche et d'indexation, sont optimisées pour une navigation efficace dans les grandes bibliothèques de médias. Airsonic est également livré avec un récepteur de podcasts intégré, avec la plupart des fonctionnalités que vous trouvez dans iTunes.


**Version incluse :** 11.0.0~ynh3
**Version incluse :** 11.0.0~ynh4

## Captures d'écran
## Captures décran

![Capture d'écran de Airsonic-Advanced](./doc/screenshots/screenshot_01.png)
![Capture décran de Airsonic-Advanced](./doc/screenshots/screenshot_01.png)

## Avertissements / informations importantes

Expand All @@ -43,8 +44,8 @@ En plus d'être un serveur de médias en streaming, Airsonic fonctionne très bi

## Documentations et ressources

* Documentation officielle de l'admin : <https://airsonic.github.io/docs/>
* Dépôt de code officiel de l'app : <https://github.com/airsonic-advanced/airsonic-advanced>
* Documentation officielle de ladmin : <https://airsonic.github.io/docs/>
* Dépôt de code officiel de lapp : <https://github.com/airsonic-advanced/airsonic-advanced>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_airsonic>
* Signaler un bug : <https://github.com/YunoHost-Apps/airsonic_ynh/issues>

Expand All @@ -60,4 +61,4 @@ ou
sudo yunohost app upgrade airsonic -u https://github.com/YunoHost-Apps/airsonic_ynh/tree/testing --debug
```

**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>
5 changes: 2 additions & 3 deletions check_process
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
setup_private=1
setup_public=1
upgrade=1
upgrade=1 from_commit=72d530415c016b23b6ba62085272957b04d2cca6
# 10.6.2~ynh3
upgrade=1 from_commit=6ca76697a8f8da7419eb490aa435649f1b9d96c2
backup_restore=1
Expand All @@ -23,6 +22,6 @@
Email=
Notification=none
;;; Upgrade options
; commit=72d530415c016b23b6ba62085272957b04d2cca6
name=10.5.0~ynh2 on March 2020
; commit=6ca76697a8f8da7419eb490aa435649f1b9d96c2
name=10.6.2~ynh3
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&
4 changes: 2 additions & 2 deletions conf/app.src
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/airsonic-advanced/airsonic-advanced/releases/download/11.0.0-SNAPSHOT.20220625052932/airsonic.war
SOURCE_SUM=6be139912d0e15b97e454f52fa8a7bb2f511d177afe202f6e2f32dcd8a253cc8
SOURCE_URL=https://github.com/airsonic-advanced/airsonic-advanced/releases/download/11.0.0-SNAPSHOT.20230217142243/airsonic.war
SOURCE_SUM=84d37d34586aa2a6335a0214d743a0518e82d7d668e8cc142abb12e20211220f
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=war
SOURCE_IN_SUBDIR=false
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"en": "Stream and manage your music collection",
"fr": "Streamez et gérez votre collection de musique"
},
"version": "11.0.0~ynh3",
"version": "11.0.0~ynh4",
"url": "https://github.com/airsonic-advanced/airsonic-advanced",
"upstream": {
"license": "GPL-3.0-or-later",
Expand Down
14 changes: 7 additions & 7 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=94

# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
ynh_setup_source --dest_dir="$final_path" --keep="airsonic.properties"
fi

chmod 750 "$final_path"
Expand Down Expand Up @@ -184,13 +184,13 @@ chown $app $final_path/transcode
#=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1

ynh_add_config --template="../conf/systemd-sysconfig" --destination="/etc/default/$app"
chmod 600 "/etc/default/$app"
chown $app:$app "/etc/default/$app"
#ynh_add_config --template="../conf/systemd-sysconfig" --destination="/etc/default/$app"
#chmod 600 "/etc/default/$app"
#chown $app:$app "/etc/default/$app"

ynh_add_config --template="../conf/airsonic.properties" --destination="$final_path/airsonic.properties"
chmod 600 "$final_path/airsonic.properties"
chown $app:$app "$final_path/airsonic.properties"
#ynh_add_config --template="../conf/airsonic.properties" --destination="$final_path/airsonic.properties"
#chmod 600 "$final_path/airsonic.properties"
#chown $app:$app "$final_path/airsonic.properties"

#=================================================
# SETUP SYSTEMD
Expand Down

0 comments on commit af20145

Please sign in to comment.