Skip to content

Comments

PR: Handle merging directories containing same-named read-only files#56

Open
apteryks wants to merge 1 commit intospyder-ide:masterfrom
apteryks:bugfix-54
Open

PR: Handle merging directories containing same-named read-only files#56
apteryks wants to merge 1 commit intospyder-ide:masterfrom
apteryks:bugfix-54

Conversation

@apteryks
Copy link

Fixes #54.

  • docrepr/utils.py (merge_directories): Also handle 'shutil.Error'
    exceptions.

@ccordoba12 ccordoba12 added this to the v0.2.1 milestone May 28, 2022
@ccordoba12 ccordoba12 changed the title utils: Handle merging directories containing same-named read-only files. PR: Handle merging directories containing same-named read-only files May 28, 2022
@ccordoba12 ccordoba12 requested a review from CAM-Gerlach May 28, 2022 16:42
@CAM-Gerlach
Copy link
Member

Please update reference screenshots

CAM-Gerlach
CAM-Gerlach previously approved these changes Jun 11, 2022
Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Choose a reason for hiding this comment

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

Seems reasonable, thanks. LGTM.

Funny enough, I just had to deal with a similar problem in another package I maintain, and fell back to writing my own error-tolerant copytree routine, only to later discover there was already one here, heh.

@CAM-Gerlach
Copy link
Member

For whatever reason, the checks aren't retriggering here even though I re-ran them. @apteryks , could you e.g. git commit --amend your first commit (e.g. tweak the commit message to remove the period in the summary line, which doesn't belong in titles) and then force push to do so? Or would you mind if I did so for you, just to get the CI s to trigger?

Fixes spyder-ide#54.

* docrepr/utils.py (merge_directories): Also handle 'shutil.Error'
exceptions.
@apteryks
Copy link
Author

Done! But feel free to adjust the way you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Permission denied error when sphinx template files are read-only

3 participants