Skip to content

Pub should notify that symlinks cannot be created on network shares #415

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

Closed
DartBot opened this issue Jun 5, 2015 · 10 comments
Closed

Pub should notify that symlinks cannot be created on network shares #415

DartBot opened this issue Jun 5, 2015 · 10 comments
Assignees
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/8518285?v=3" align="left" width="96" height="96"hspace="10"> Issue by stevemessick
Originally opened as dart-lang/sdk#8037


Pub install does not work for project on network drive.

packages dosn't contain any directories
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.2.10_r16761 (2013-01-07)
OS: Windows Vista - x86 (6.0)
JVM: 1.6.0_22

projects: 1

open dart files: 7

auto-run pub: true
mem max/total/free: 967 / 297 / 66 MB
thread count: 30
analysis: 0 tasks, 11 libraries, 1 contexts
index: 58567 relationships and 0 attributes in 12565 elements in 124 resources stored in 2 MB on disk

SDK installed: true
Dartium installed: true

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/2192312?v=3" align="left" width="48" height="48"hspace="10"> Comment by keertip


Set owner to @munificent.
Removed this from the M4 milestone.
Removed Area-Editor label.
Added Area-Pub label.

@DartBot DartBot added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) closed-not-planned Closed as we don't intend to take action on the reported issue Priority-Medium labels Jun 5, 2015
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


Unfortunately, this is a consequence of the fact that pub uses NTFS junction points to do symlinks on Windows. Those only work on local drives.

We won't be able to make this work, but we should notify the user of an error instead of silently failing. I'm repurposing this bug to that effect.


Added this to the Later milestone.
Changed the title to: "Pub should notify that symlinks cannot be created on network shares".

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


Issue #483 has been merged into this issue.


cc @sgjesse.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


Marked this as being blocked by #727.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


Added OpSys-Windows label.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


Issue #893 has been merged into this issue.


cc @keertip.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This comment was originally written by [email protected]


see my suggestion in the initial issue

2014-04-02 19:35 GMT+02:00 <[email protected]>:

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


Issue #893 has been merged into this issue.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


Issue #893 has been merged into this issue.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent


We're planning to move away from using symlinks at all, so we don't intend to put time into handle the lack of them more gracefully.


Added NotPlanned label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-not-planned Closed as we don't intend to take action on the reported issue type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants