Date: Wed, 29 Apr 2020 07:35:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 246020] www/gitea: Fix repo/wiki/view.tmpl template Message-ID: <bug-246020-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246020 Bug ID: 246020 Summary: www/gitea: Fix repo/wiki/view.tmpl template Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ports@skyforge.at CC: stb@lassitu.de CC: stb@lassitu.de Flags: maintainer-feedback?(stb@lassitu.de) Created attachment 213903 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213903&action= =3Dedit gitea: Add patch for repo/wiki/view.tmpl Right now, the version of gitea shipped in ports fails to display wiki page= s. Any wiki page opened results in the following error: template: repo/wiki/view:48:14: executing "repo/wiki/view" at <(not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))>: c= an't give argument to non-function not $.DisableHTTP This is due to extra parentheses in templates/repo/wiki/view.tmpl and has already been fixed upstream in [1], [2].=20 I've pulled the single line template fix from upstream and added the patch = to our port. As a workaround, users can also fix the problem by placing the corrected template in /usr/local/etc/gitea/templates/repo/wiki/view.tmpl. Port builds and runs fine for me. :) Cheers, Sascha [1] https://github.com/go-gitea/gitea/issues/10552 [2] https://github.com/zeripath/gitea/commit/1830d0ed5f4a67e3360ecbb55933b5540b= 6affce --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246020-7788>