Git Product home page Git Product logo

Comments (12)

takluyver avatar takluyver commented on August 15, 2024 1

Let's close it. It doesn't seem to have been a big issue in practice.

from notebook.

Carreau avatar Carreau commented on August 15, 2024

Can we have a third option like ifNotWindows (string of object) that would do the sane things and let extensions override that if they really wish to ?

from notebook.

takluyver avatar takluyver commented on August 15, 2024

We could. Though I think if we go that way, it should probably be ifPossible rather than ifNotWindows - in some cases it may be possible to make a symlink on Windows.

from notebook.

damianavila avatar damianavila commented on August 15, 2024

We could. Though I think if we go that way, it should probably be ifPossible

Yep... I think is a better name...

from notebook.

minrk avatar minrk commented on August 15, 2024

I'm not sure. I might be inclined to just force symlink=False on Windows (maybe warn). That seems relatively common practice for other projects. Windows may technically have symlinks now, but they don't seem reliably functional.

from notebook.

takluyver avatar takluyver commented on August 15, 2024

I believe that if you succeed in making them they work, but making them in the first place requires a permission bit that non-admin users don't have by default. But it's probably rare enough that we could just assume there's no symlinking on Windows.

from notebook.

minrk avatar minrk commented on August 15, 2024

We now force symlink=False when os.symlink is undefined (Windows Python 2). This may be sufficient, though we should think about what we do in the symlinks-available-but-not-allowed case.

from notebook.

damianavila avatar damianavila commented on August 15, 2024

This may be sufficient, though we should think about what we do in the symlinks-available-but-not-allowed case.

I guess some kind of warn and force to False...

from notebook.

minrk avatar minrk commented on August 15, 2024

I'm not sure we can reliably detect the case until we get to the end and it fails, though.

from notebook.

ellisonbg avatar ellisonbg commented on August 15, 2024

I know this one has been dormant for a while, but I don't think we should attempt to copy if a symlink fails and a user has requested symlink=True. Too much surprise.

from notebook.

JamiesHQ avatar JamiesHQ commented on August 15, 2024

Hi All: what is the next step on this issue? Should it be added to the backlog as a development item, be labeled as a reference, or closed? Thanks!

from notebook.

ellisonbg avatar ellisonbg commented on August 15, 2024

Not sure, thoughts @minrk @takluyver ?

from notebook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.