-
Notifications
You must be signed in to change notification settings - Fork 852
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
Adding support of negative patterns for DownloadBuildArtifacts and DownloadPipelineArtifacts tasks in scenarios with using file share #3666
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EzzhevNikita
approved these changes
Dec 16, 2021
anatolybolshakov
approved these changes
Dec 22, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks! Could you please take a look at one last comment also?
Sure. Answered to this. |
denis-tikhomirov
changed the base branch from
users/denis-tikhomirov/issue2017
to
master
December 22, 2021 12:54
denis-tikhomirov
changed the title
Adding support of negative patterns for DownloadBuildArtifacts task in scenarios with using file share
Adding support of negative patterns for DownloadBuildArtifacts and DownloadPipelineArtifacts tasks in scenarios with using file share
Jan 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added support of pre-handling minimatch patterns from azure-pipelines-task-lib (PS version / TS version) to DownloadBuildArtifacts and DownloadPipelineArtifacts tasks in scenarios with using file share.
The logic allows to handle negative minimatch patterns correctly.
Checked cases:
**
)**
) except 1or 2 file (like!**/file.1.nupkg
)**
) except group of files (like!**/file.*.nupkg
)**
) except directory (like!**/folder1/**
)**/folder1/**
) except 1 file (like!**/folder1/file.1.nupkg
)**/file.*.nupkg
) except 1 file (like!**/file.1.nupkg
)**
) except directory (like!**/folder1/**
) but with downloading 1 file from the directory (like!!**/folder1/file.1.nupkg
)#
) in patternChecklist:
There’s no risky dependency updates
Changes has been tested
Enough test coverage for changes, and current test coverage for task doesn't look poor
We understand how tasks is working, how changes affect task behavior
There is no breaking changes
There is no any other concerns
I have not discovered any new uncovered test/use cases