★ wanayoo — archive 1999 https://github.com/PowerShell/PowerShell/pull/7676Nouvelle recherche | Portail wanayoo
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

Fix file blocking issue with webcmdlets #7676

Merged
merged 2 commits into from Sep 1, 2018

Conversation

@Claustn
Copy link
Contributor

commented Aug 31, 2018 •

PR Summary

Resolve #7669.

Allows multiple uploads of the same file in parallel

This PR changes how -InFile parameter on the Web cmdlets open file handles. Previously the file was opened with ShareAccess None, meaning that the file was locked, resulting in that you, for instance, was not able to upload the same file to multiple destinations in parallel.

PR Checklist

@iSazonov iSazonov requested a review from markekraus Aug 31, 2018

@iSazonov iSazonov self-assigned this Aug 31, 2018

@iSazonov iSazonov changed the title Fix file blocking issue with webcmdlets using -InFile Issue #7669 Fix file blocking issue with webcmdlets Aug 31, 2018

@iSazonov

This comment has been minimized.

Copy link
Collaborator

commented Aug 31, 2018

@Claustn Thanks! I slightly corrected the PR title and description.

@iSazonov iSazonov requested a review from SteveL-MSFT Aug 31, 2018

@iSazonov

This comment has been minimized.

Copy link
Collaborator

commented Aug 31, 2018

@Claustn Please rename your commit - start title with [Feature] or add new empty commit with title [Feature] - this will run full test set.

@powercode
Copy link
Collaborator

left a comment

LGTM!

@iSazonov

This comment has been minimized.

Copy link
Collaborator

commented Aug 31, 2018

CI Appveyor temporary failed.

@PaulHigin
Copy link
Contributor

left a comment

LGTM

@markekraus
Copy link
Collaborator

left a comment

LGTM. My approval is pending successful completion of all [feature] tests.

@Claustn Claustn force-pushed the Claustn:fix/webcmdlets_infile_blocking branch to 5f70274 Sep 1, 2018

Claus T Nielsen

@iSazonov iSazonov merged commit eb92b14 into PowerShell:master Sep 1, 2018

8 checks passed

CodeFactor No issues found.
Details
PowerShell-CI-linux #PR-7676-20180901.02 succeeded with issues
Details
PowerShell-CI-macos #PR-7676-20180901.02 succeeded
Details
PowerShell-CI-windows #PR-7676-20180901.02 succeeded
Details
WIP ready for review
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
license/cla All CLA requirements met.
@iSazonov

This comment has been minimized.

Copy link
Collaborator

commented Sep 1, 2018

@Claustn Thanks for discovering the issue and fixing it!

TravisEz13 added a commit that referenced this pull request Sep 5, 2018

@TravisEz13 TravisEz13 added this to the v6.1.0 milestone Sep 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.