YunoHost-Apps / forgejo_ynh

Forgejo package for YunoHost
GNU General Public License v3.0
16 stars 5 forks source link

Install require 2GB or RAM whereas gitea needs 100Mb #113

Open flomine opened 1 month ago

flomine commented 1 month ago

Sorry, I looked everywhere but I couldn't find the explanation. Yunohost tells me that the Forgejo application needs 2GB of ram to install and/or update whereas Gitea only needs 100Mb of RAM. What is the reason for this significant difference between the 2 applications ? Is this warning related to the way yunoshot install/update apps ? I haven't found any information on the forgejo website. In my case, this prevent me to install this app on my yunohost instance.

julianfoad commented 1 month ago

The Yunohust warning thing is not very good. I asked about this in this message on 2024-10-15 in the Yunohost apps packaging matrix room and the subsequent discussion revealed the installer semi-deliberately mixes up the requirements for "run time" and "install time" usage, and doesn't take into account at the time of an upgrade that the app is already running. That's in addition to the issue of the "2G" in the manifest being likely a substantial over-estimate for run-time usage in most cases.

So there is no very good answer right now.

If using the command-line for installation and the update, adding the "--force" flag overrides the check. If using the GUI, I'm not sure.