Closed alexAubin closed 5 years ago
We have to remove the source list from the people who have installed these app and remove any other php version then php7.0 too.
Flagging as ready to merge, please feel free to complain if you think this is a bad idea :stuck_out_tongue_winking_eye:
I get the idea, and I agree that adding manually a custom repo is a bad thing. But I think this PR break something.
As far there is no helper yet to add a new repo, we have to copy paste the experimental one in _common.sh. And package_linter doesn't like it :'(
https://github.com/YunoHost-Apps/gitlab-runner_ynh/blob/master/scripts/_common.sh
last build:
Uh yeah I don't know exactly the practices nowadays, but I see many people including the helper in a separate file, so that would not be in _common.sh ? The idea was to test also _common.sh for the presence of stuff playing with sources.list because many apps do this in there (and not in the actual script)
Alright folks, I really fed up about still seeing damn yunohost instance being destroyed with crazy issues related to apps who installed php 7.x via a custom repo ... Latest example being https://forum.yunohost.org/t/erreur-dinstallation-wallabag-probleme-avec-php7-0-tidy/7724
Most probably caused by Monica, but could have been any app.
So this PR improves the detection of apps messing with
/etc/apt/sources.list*
and reports it as an error, effectively downgrading them to level 4 (or 3 ?) though if it was me I would even just downgrade them to level 0 and tell the maintainer to just use the new helpers ...