You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by sencenan <gi...@git.apache.org> on 2015/06/10 17:32:14 UTC

[GitHub] cordova-lib pull request: Use cp instead of mv, as it would fail i...

GitHub user sencenan opened a pull request:

    https://github.com/apache/cordova-lib/pull/245

    Use cp instead of mv, as it would fail if tmp_dir is mounted on a dif…

    Use cp instead of mv, as it would fail if tmp_dir is mounted on a different device from the plugin_dir. The tmp_dir is cleaned after copy already.
    
    This fixes:
    ```
    EXDEV, cross-device link not permitted '/tmp/git/1433949300428/Example'
    ```
    when installing from git repository

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sencenan/cordova-lib master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/245.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #245
    
----
commit 9c8f11d123138e224aa81497fad3d2ca92f93f9a
Author: sen.cenan@gmail.com <se...@gmail.com>
Date:   2015-06-10T15:29:03Z

    Use cp instead of mv, as it would fail if tmp_dir is mounted on a different device from the plugin_dir. The tmp_dir is cleaned after copy already.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-lib pull request: Use cp instead of mv, as it would fail i...

Posted by sencenan <gi...@git.apache.org>.
Github user sencenan commented on the pull request:

    https://github.com/apache/cordova-lib/pull/245#issuecomment-111574603
  
    @omefire my workspace and /tmp are mounted on different harddrives.
    
    Please also see this comment:
    
    https://github.com/apache/cordova-lib/blob/024b970b26d3d8b7f9a6b2f0eab2325d7716deef/cordova-lib/src/cordova/lazy_load.js#L299
    
    This is a known issue.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-lib pull request: Use cp instead of mv, as it would fail i...

Posted by omefire <gi...@git.apache.org>.
Github user omefire commented on the pull request:

    https://github.com/apache/cordova-lib/pull/245#issuecomment-111337985
  
    I'm trying to reproduce this error. @sencenan does this happen as well when you use different partitions of the same device ? or is it only on totally different devices ?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-lib pull request: Use cp instead of mv, as it would fail i...

Posted by omefire <gi...@git.apache.org>.
Github user omefire commented on the pull request:

    https://github.com/apache/cordova-lib/pull/245#issuecomment-111646555
  
    LGTM !


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-lib pull request: Use cp instead of mv, as it would fail i...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-lib/pull/245


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-lib pull request: Use cp instead of mv, as it would fail i...

Posted by nikhilkh <gi...@git.apache.org>.
Github user nikhilkh commented on the pull request:

    https://github.com/apache/cordova-lib/pull/245#issuecomment-111305397
  
    @TimBarham @omefire to take a quick look


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org