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

Find .delivery config even when traversing symlinks #34

Open
patcon opened this issue Mar 9, 2017 · 2 comments
Open

Find .delivery config even when traversing symlinks #34

patcon opened this issue Mar 9, 2017 · 2 comments

Comments

@patcon
Copy link

patcon commented Mar 9, 2017

Due to issues with an encrypted home directory, I sometime am in a workspace that lives outside $HOME, but is symlinked into it. pwd command still tracks where I am properly.

~/repos/confluence (automate-master ✔) ᐅ ll ~ | grep repos
lrwxrwxrwx  1 patcon     20 Apr 25  2014 repos -> /non_encrypted/repos
~/repos/confluence (automate-master ✔) ᐅ pwd              
/home/patcon/repos/confluence

But it seems that delivery gets confused and can't load config. This caused me to lose quite a bit of time, and would be wonderful if it could orient itself :)

@afiune
Copy link

afiune commented Apr 18, 2017

@patcon This is an interesting setup. Where is your .delivery/cli.toml?

@patcon
Copy link
Author

patcon commented Apr 20, 2017

$HOME
├── cookbooks -> /foo/cookbooks
└── .delivery
    ├── api-tokens
    └── cli.toml

Thanks @afiune :) For simplicity, it's akin to the above. Work happens in cookbooks dir, but config not picked up.

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