Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.7: bin/grav yamllinter -a and -f do not follow symlinks #3080

Closed
pamtbaau opened this issue Nov 24, 2020 · 0 comments
Closed

1.7: bin/grav yamllinter -a and -f do not follow symlinks #3080

pamtbaau opened this issue Nov 24, 2020 · 0 comments
Assignees

Comments

@pamtbaau
Copy link
Contributor

pamtbaau commented Nov 24, 2020

My localhost dev sites use symlinks to link to a Grav installation (to share installation and easy switching 1.6/1.7), and symlinks to their themes and plugins.

Running bin/grav yamllinter -a and bin/grav yamllinter -f do not seem to be following symlinks to themes/plugins.

Environment:

  • Windows 10
  • Windows Subsystem for Linux
  • Ubuntu 20.04.1 LTS
  • PHP 7.4.3
  • Grav 1.7.0-rc.17 / Grav 1.7.0-rc.18

Repro:

  • Create issue in symlinked plugin's blueprints/default.yaml. E.g. @title: Carousel
  • Copy files of symlinked plugin folder into regular folder
  • Run bin/grav yamllinter -a
    • Regular plugin: throws error
    • Symlinked plugin: no error
  • Run bin/grav yamllinter -f user/plugins
    • Regular plugin: throws error
    • Symlinked plugin: no error
  • Run bin/grav yamllinter -f user/plugins/<symlink>
    • Symlinked plugin: throws error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants