colinmollenhour/modman

Too many levels of symbolic links

Opened this issue · 3 comments

Hi, when working with modman we often see this for every country/locale subdirectory that we have. They are symlinked dirs to a different folder. Is there any way of preventing the below?

Can we change something? Or learn modman to exclude thesse dirs?

[server]$ modman remove package
find: ./nl/nl': Too many levels of symbolic links find:./nl/errors/errors': Too many levels of symbolic links
find: `./nl/lib/lib': Too many levels of symbolic links

Not sure exactly what the issue is but in general you want to make sure that modman is always creating symlinks in real directories in the root and not symlinks to directories in other modman modules. Usually this means if multiple modules have locale files then the rules should be like:

locale/en_US/* app/locale/en_US/
locale/nl_NL/* app/locale/nl_NL/

the rules per extension are correct

it is just on our server we have /public_html where magento lives

then we symlink /en or /de to the root to support multilingual mulistores
... and then we see this message

I was wondering if modman itself is capable of detecting this (or learning
it not to go into the /de or /en folders)

Wij maken het graag voor je in orde.

met groeten, Mark


info@shirtsofholland.com | KvK 60827378 | https://shirtsofholland.com

[image: ShirtsofHolland - dé specialist in Oranje kleding]
http://shirtsofholland.com/

2016-03-04 17:24 GMT+01:00 Colin Mollenhour notifications@github.com:

Not sure exactly what the issue is but in general you want to make sure
that modman is always creating symlinks in real directories in the root and
not symlinks to directories in other modman modules. Usually this means if
multiple modules have locale files then the rules should be like:

locale/en_US/* app/locale/en_US/
locale/nl_NL/* app/locale/nl_NL/


Reply to this email directly or view it on GitHub
#108 (comment)
.

It sounds like currently modman does not fully support your situation. Perhaps you cold change the way you symlink the core files and make /en and /de actual directories and then add symlinks to the contents rather than having symlinks to the directories themselves.