YunoHost-Apps / gitea_ynh

Gitea is a fork of Gogs. A git platform, Mirror of https://framagit.org/YunoHost-Apps/gitea_ynh
https://gitea.io
MIT License
22 stars 17 forks source link

Replace SKIP_VERIFY with FORCE_TRUST_SERVER_CERT in app.ini #90

Closed CodeShakingSheep closed 9 months ago

CodeShakingSheep commented 9 months ago

Problem

After upgrading to Gitea 1.21.0 there was another deprecation notice on Site Administration page.

Deprecated config option `[mailer]` `SKIP_VERIFY` present. Use `[mailer]` `FORCE_TRUST_SERVER_CERT` instead. This fallback will be/has been removed in v1.19.0

image

Solution

As written here https://blog.gitea.com/release-of-1.18.0/ SKIP_VERIFY has been replaced with FORCE_TRUST_SERVER_CERT. So, I replaced it in app.ini.

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)

Josue-T commented 9 months ago

!testme

yunohost-bot commented 9 months ago

:v: Test Badge