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

Too many levels of symbolic links #108

Open
shirtsofholl opened this issue Mar 4, 2016 · 3 comments
Open

Too many levels of symbolic links #108

shirtsofholl opened this issue Mar 4, 2016 · 3 comments

Comments

@shirtsofholl
Copy link

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

@colinmollenhour
Copy link
Owner

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/

@shirtsofholl
Copy link
Author

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


[email protected] | 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 [email protected]:

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)
.

@colinmollenhour
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants