YunoHost-Apps / wallabag2_ynh

Wallabag v2 package for YunoHost
https://www.wallabag.org/
GNU Affero General Public License v3.0
63 stars 13 forks source link

Do not backup image cache - Implement Backup core only #160

Open lapineige opened 1 year ago

lapineige commented 1 year ago

Problem

If you choose to download articles images in your Wallabag, this "cache" is taking a lot of space. Users might want to backup everything but these images (as your can "download" them again later) to save space.

Solution

Implement BACKUP_CORE_ONLY : in that case the image cache is not saved.

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)

lapineige commented 1 year ago

!testme

yunohost-bot commented 1 year ago

Fingers crossed! Test Badge

lapineige commented 1 year ago

I don't really know how to exclude this folder from the backup… If Yunohost backup helper (https://yunohost.org/en/packaging_apps_helpers#ynh-backup) had an option for that it would be better :sweat_smile:

I'm not happy with the current solution... if /tmp is not in the same partition it can be a real trouble.

lapineige commented 1 year ago

CI is not working right now.

lapineige commented 1 year ago

CI fails because the directory does not exist… I need to had a condition.

lapineige commented 1 year ago

No time to work on this right now, help appreciated :)

Salamandar commented 4 months ago

rebased.

lapineige commented 4 months ago

!testme

yunohost-bot commented 4 months ago

:carousel_horse: Test Badge