/[ports]
ViewVC logotype

Revision 533935


Jump to revision: Previous Next
Author: adamw
Date: Mon May 4 18:16:37 2020 UTC (4 years, 1 month ago)
Changed paths: 2
Log Message:
gitea: Fix wiki page display

From the PR:

Right now, the version of gitea shipped in ports fails to display wiki
pages. 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))>: can'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].

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.

Cheers,
Sascha

[1] https://github.com/go-gitea/gitea/issues/10552
[2] https://github.com/zeripath/gitea/commit/1830d0ed5f4a67e3360ecbb55933b5540b6affce

PR:		246020
Submitted by:	Sascha Biberhofer
Approved by:	maintainer


Changed paths

Path Details
Directoryhead/www/gitea/Makefile modified , text changed
Directoryhead/www/gitea/files/patch-templates_repo_wiki_view.tmpl added

  ViewVC Help
Powered by ViewVC 1.1.27