Skip to content

Update: support combining filter with specific version - #1580

Merged
forki merged 2 commits into
fsprojects:masterfrom
cdrnet:update-filter-version
Apr 7, 2016
Merged

Update: support combining filter with specific version#1580
forki merged 2 commits into
fsprojects:masterfrom
cdrnet:update-filter-version

Conversation

@cdrnet

@cdrnet cdrnet commented Apr 7, 2016

Copy link
Copy Markdown
Member

Update supports updating all packages matching a regex. It also supports providing a specific version to update to. What it did not support before is combining these two, i.e. updating all packages matching a regex to the same specific version. This PR adds the missing piece to support this combination.

@cdrnet

cdrnet commented Apr 7, 2016

Copy link
Copy Markdown
Member Author

NB: the matching logic seems somewhat risky to me, there is a chance for collisions with argument/option keywords. Isn't "nuget" required to be the first (index 0) and the package name the second token (index 1) for nuget dependencies, provided we specify StringSplitOptions.RemoveEmptyEntries?

@forki

forki commented Apr 7, 2016

Copy link
Copy Markdown
Member

yeah. can you fix that as well?

@cdrnet

cdrnet commented Apr 7, 2016

Copy link
Copy Markdown
Member Author

One integration test failed with a timed out (#1371 without download fail). Could this be related to my change?

@forki

forki commented Apr 7, 2016

Copy link
Copy Markdown
Member

probably not. that one is flaky.

@forki
forki merged commit 83cc7b5 into fsprojects:master Apr 7, 2016
@forki

forki commented Apr 7, 2016

Copy link
Copy Markdown
Member

thanks a lot

@cdrnet
cdrnet deleted the update-filter-version branch April 7, 2016 18:15
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