question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v2 put/get don't perform tilde homedir expansion

See original GitHub issue

i have set remote= '~/temp' put api translated it to '/home/user/~/temp' that caused the process to fail .

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
bitprophetcommented, Jul 24, 2018

@pint12 to be super clear so you don’t have to read all the above: please try simply using temp/ instead of ~/temp/, if you hadn’t already. Should work fine!

0reactions
bitprophetcommented, Jul 24, 2018

Went with “just update the docs informing users to use relative paths only”.

Should somebody come along with an amazing reason why I’m an idiot (meaning both a use case requiring tildes instead of relative paths, and a method of performing expansion which is lightweight enough to be worth using) we can always revisit.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tilde in path doesn't expand to home directory - Stack Overflow
When the shell evaluates the string cd $a , it first performs tilde expansion (which is a no-op, since $a does not contain...
Read more >
Why isn't tilde recognised as home folder in this case?
22. @Pilot6 No, in both examples shown, the path is quoted. · 2. The expansion of ~ to your home directory is a...
Read more >
Tilde Expansion (Bash Reference Manual) - GNU.org
If this login name is the null string, the tilde is replaced with the value of the HOME shell variable. If HOME is...
Read more >
REST Resources Provided By: Bitbucket Server - REST
If the user has not been deleted first then this endpoint will return a bad request and no erasure will be performed. Erasing...
Read more >
rfc4825.txt - » RFC Editor
47 Rosenberg Standards Track [Page 2] RFC 4825 XCAP May 2007 10. ... XCAP resources do not represent processing scripts; as a result,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found