-
Notifications
You must be signed in to change notification settings - Fork 179
Adds support for symlinked libraries/repos #526 #574
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Thanks!
Seems to still have borked my repo
|
@sg- Did you use the branch this PR is proposing for that test? I can't tell from the log (It will also show up as 1.2.2). |
Not sure but I think so. Here is what I did.
and then ran
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't seem to work for me but maybe I did something wrong?
5443c4d
to
86e85cd
Compare
@screamerbg While your fixing that commit, you misspelled symlink as |
This is a workaround to python's os.getcwd() which always returns the real path, not the logical one. Due to this os.getcwd() would never return the path inside a symlunk. This commit also introduces getcwd() implementation that uses _cwd.
86e85cd
to
c6ab9bd
Compare
@sg- I'm unable to reproduce this behavior.
The symlinked mbed-os manual clone is updated correctly. This is using mbed CLI from this PR with symlink support. @sg- could you provide from scratch command log so I can reproduce it? Thanks in advance. |
Also I tried updating
|
Hmm. I deleted all mbed-cli versions again and pulled a your neo fork of mbed-cli and all seems ok now. Maybe the merge of the remote branch and local install was messed up. I had also force pulled the remote and verified the sha with your branch but dont have that in the logs and didn't post here (I might not have cleaned cli installs or not installed). Anyways, seems we have different terminal versions
|
mbed/mbed.py
Outdated
@@ -1389,6 +1398,8 @@ def update_tools(self, path): | |||
with cd(os.path.join(path, tools_dir)): | |||
try: | |||
action("Updating the mbed 2.0 SDK tools...") | |||
print path | |||
print os.path.join(path, tools_dir) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These look like debug prints. If they are, could you remove them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spotting this.
Addresses #526. @sg- Please test on your setup.