Repository navigation
Allow filtered updates of packages matching a regex - #1178
Conversation
|
do you have a small sample for this? Then I could add a regression test |
|
Of course. Given dependency file: Then:
Without the |
There was a problem hiding this comment.
can we remove that case and express it as UpdateFiltered of GroupName * PackageFilter?
There was a problem hiding this comment.
As in, escape .s and treat it as a filter? I think it would work. Hope your regression tests are good up to date though! :D
There was a problem hiding this comment.
Give me a few minutes and I'll see if all the tests pass.
|
My code obviously rules :) |
|
Mind pushing that test to my master branch? I'll add it to the pull request. |
|
Ah, ok - I'll grab it. |
|
you need to run |
|
Should having working unit and integration tests now |
There was a problem hiding this comment.
I removed this test as it's expectation didn't seem meaningful anymore. With pattern based updates, a pattern that didn't match any packages should be a no-op, not an exception.
The update package command still checks that the specific named package exists before calling UpdateFiltered
|
Could also please write one or two samples in the docs of the update command? |
|
@forki crap. Push to wrong remote by mistake. Sorry. |
|
/me goes off to change default push repository |
|
no worries ;-) |

Especially useful for situations like "update all packages that start with my organisations prefix"