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

Fs cloning api handler #163

Merged
merged 8 commits into from
Aug 5, 2019
Merged

Conversation

mpacer
Copy link
Member

@mpacer mpacer commented Aug 5, 2019

This adds the handler needed to get file system cloning to work.

I will create a separate PR just for adding the handler to the routes and testing the routes.

NB: This is a bit of a bigger PR, but I didn't want to submit a PR for functionality without tests for that functionality.

@mpacer mpacer mentioned this pull request Aug 5, 2019
@codecov
Copy link

codecov bot commented Aug 5, 2019

Codecov Report

Merging #163 into master will decrease coverage by 1.15%.
The diff coverage is 66.66%.

@@           Coverage Diff            @@
##           master   #163      +/-   ##
========================================
- Coverage   81.15%    80%   -1.16%     
========================================
  Files          10     10              
  Lines         467    505      +38     
========================================
+ Hits          379    404      +25     
- Misses         88    101      +13

@codecov
Copy link

codecov bot commented Aug 5, 2019

Codecov Report

Merging #163 into master will increase coverage by 1.41%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
+ Coverage   81.15%   82.57%   +1.41%     
==========================================
  Files          10       10              
  Lines         467      505      +38     
==========================================
+ Hits          379      417      +38     
  Misses         88       88

Copy link
Member

@willingc willingc left a comment

Choose a reason for hiding this comment

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

Looks good. I've made a few suggested doc changes.

bookstore/clone.py Outdated Show resolved Hide resolved
bookstore/clone.py Outdated Show resolved Hide resolved
bookstore/clone.py Outdated Show resolved Hide resolved
bookstore/clone.py Outdated Show resolved Hide resolved
bookstore/clone.py Outdated Show resolved Hide resolved
bookstore/clone.py Outdated Show resolved Hide resolved
Returns
--------
dict
Jupyter Contents API compatible model
Copy link
Member

Choose a reason for hiding this comment

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

mpacer and others added 2 commits August 5, 2019 11:02
Copy link
Member

@willingc willingc left a comment

Choose a reason for hiding this comment

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

Thanks @mpacer 😄


{
"relpath": string,
"target_path": string #optional
Copy link
Member Author

Choose a reason for hiding this comment

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

@willingc
Does this successfully capture the idea in a way that would make sense from a python perspective?

@mpacer mpacer merged commit ca2ab09 into nteract:master Aug 5, 2019
@mpacer mpacer added this to the 2.4.0 milestone Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants