Re: git: 2aa09e577ed8 - main - www/forgejo: Switch to using "FORGEJO_" prefixed environment variables
Date: Fri, 22 Nov 2024 16:30:55 UTC
21.11.2024 22:28, Cy Schubert пишет: > In message <202411211621.4ALGLphJ029643@gitrepo.freebsd.org>, Vladimir > Druzenko > writes: >> The branch main has been updated by vvd: >> >> URL: https://cgit.FreeBSD.org/ports/commit/?id=2aa09e577ed8f1a0c1e79abd183677 >> 9cb8ca9411 >> >> commit 2aa09e577ed8f1a0c1e79abd1836779cb8ca9411 >> Author: Rudolph <rudolphfroger@dreamsolution.nl> >> AuthorDate: 2024-11-21 15:49:59 +0000 >> Commit: Vladimir Druzenko <vvd@FreeBSD.org> >> CommitDate: 2024-11-21 16:17:04 +0000 >> >> www/forgejo: Switch to using "FORGEJO_" prefixed environment variables >> >> Switch the environment variables specified in the Forgejo RC file from >> "GITEA_" to "FORGEJO_". >> The old variables are still work, but new are preffered: >> https://codeberg.org/forgejo/forgejo/src/commit/7015bdfa480e717299377b454 >> 7320ae6d70e9da2/modules/setting/path.go#L123 >> Also, the Forgejo documentation uses new names: >> https://forgejo.org/docs/latest/admin/config-cheat-sheet/ >> >> PR: 282771 >> Approved by: Stefan Bethke <stb@lassitu.de> (maintainer) >> --- >> www/forgejo/files/forgejo.in | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/www/forgejo/files/forgejo.in b/www/forgejo/files/forgejo.in >> index c635f3a9a9b1..2879239c7d68 100644 >> --- a/www/forgejo/files/forgejo.in >> +++ b/www/forgejo/files/forgejo.in >> @@ -42,8 +42,8 @@ forgejo_start() { >> /usr/sbin/daemon %%DAEMONARGS%% \ >> -u ${forgejo_user} -p ${pidfile} \ >> /usr/bin/env -i \ >> - "GITEA_WORK_DIR=${forgejo_shared}" \ >> - "GITEA_CUSTOM=${forgejo_custom}" \ >> + "FORGEJO_WORK_DIR=${forgejo_shared}" \ >> + "FORGEJO_CUSTOM=${forgejo_custom}" \ >> "HOME=${githome}" \ >> "PATH=%%PREFIX%%/bin:${PATH}" \ >> "USER=${forgejo_user}" \ >> > This needs a PORTREVISION bump. Don't think so. This commit didn't change runtime. -- Best regards, Vladimir Druzenko