Skip to content
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

Add full path to activate for conda activate command in windows. #2773

Merged
merged 3 commits into from
Oct 4, 2018

Conversation

d3r3kk
Copy link

@d3r3kk d3r3kk commented Oct 3, 2018

For #2753

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • Has a news entry file (remember to thank yourself!)
  • Unit tests & system/integration tests are added/updated
  • Any new/changed dependencies in package.json are pinned (e.g. "1.2.3", not "^1.2.3" for the specified version)
  • package-lock.json has been regenerated by running npm install (if dependencies have changed)

@d3r3kk

This comment has been minimized.

Copy link

@DonJayamanne DonJayamanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps post release we could create two separate files, one for Windows and other for Unix.
Its looking a little messy now as the code diverges more due to OS differences... Post release, or now if you feel upto it. Either way, it'll need to be split up for maintenance and testability.

- add unit tests for the new functionality
- handle 'conda' specified as the conda path (not a abs path)
@d3r3kk d3r3kk changed the title [WIP] Add full path to activate for conda activate command in windows. Add full path to activate for conda activate command in windows. Oct 4, 2018
@d3r3kk
Copy link
Author

d3r3kk commented Oct 4, 2018

@DonJayamanne please review again.

Note: Tested on powershell, pwsh, and cmd on Windows 10. Works as expected. One funny behaviour we have introduced though is the use of 'exit' commands from the terminal window. Users who use this method of closing the terminal will have to type it 3 times.

@d3r3kk d3r3kk merged commit a964526 into microsoft:master Oct 4, 2018
@d3r3kk d3r3kk deleted the 2753_conda_activate_win branch October 4, 2018 16:15
@lock lock bot locked as resolved and limited conversation to collaborators Jul 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants