getnikola/nikola

New plugin manager does not support symlinks

Kwpolska opened this issue · 0 comments

Environment

Python Version: 3.11

Nikola Version: 8.3.0

Operating System: openSUSE Tumbleweed

Description:

The new plugin manager does not detect plugins if the plugin folder is a symlink (e.g. ln -s ../nikola-plugins/v8/projectpages plugins/projectpages).

Apparently, pathlib.Path.rglob ignores symlinks. We’ll need a custom thing to scan directories that does not ignore symlinks.