YunoHost-Apps / shiori_ynh

Shiori package for YunoHost
GNU General Public License v3.0
3 stars 3 forks source link

Fix autoupdate #45

Closed CodeShakingSheep closed 2 months ago

CodeShakingSheep commented 4 months ago

Problem

Autoupdate is failing. See https://paste.yunohost.org/raw/obuximumef

Traceback (most recent call last):
  File "/var/www/app_yunohost/apps/tools/autoupdate_app_sources/autoupdate_app_sources.py", line 637, in run_autoupdate_for_multiprocessing
    result = AppAutoUpdater(app).run(edit=edit, commit=commit, pr=pr)
  File "/var/www/app_yunohost/apps/tools/autoupdate_app_sources/autoupdate_app_sources.py", line 233, in run
    update = self.get_source_update(source, infos)
  File "/var/www/app_yunohost/apps/tools/autoupdate_app_sources/autoupdate_app_sources.py", line 387, in get_source_update
    result = self.get_latest_version_and_asset(strategy, asset, autoupdate)
  File "/var/www/app_yunohost/apps/tools/autoupdate_app_sources/autoupdate_app_sources.py", line 518, in get_latest_version_and_asset
    raise RuntimeError(
RuntimeError: No assets matching regex '^shiori_Linux_x86_64_*.tar.gz$' in ['checksums.txt', 'shiori_Darwin_aarch64_1.7.0.tar.gz', 'shiori_Darwin_x86_64_1.7.0.tar.gz', 'shiori_Linux_aarch64_1.7.0.tar.gz', 'shiori_Linux_arm_1.7.0.tar.gz', 'shiori_Linux_x86_64_1.7.0.tar.gz', 'shiori_Windows_x86_64_1.7.0.zip'].
Full release details on https://github.com/go-shiori/shiori/releases/tag/v1.7.0.

Solution

There was a . missing before the *.

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

ericgaspar commented 2 months ago

Fixed with #48