Commit 50e0165
Sync eng/common directory with azure-sdk-tools for PR 14461 (#45646)
* Add DirectoryFilterPattern parameter to regeneration pipeline
Add DirectoryFilterPattern parameter to archetype-typespec-emitter.yml
and New-RegenerateMatrix.ps1 to allow filtering the regeneration matrix
by package directory name pattern.
This enables azure-sdk-for-net's http-client-csharp-mgmt CI to only
regenerate Azure.ResourceManager* SDKs instead of all TypeSpec SDKs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Handle empty filter results with array wrapping and early error
Address review feedback: wrap filtered results in @() to ensure
reliable .Count, and fail fast with a clear error when no directories
match the filter pattern.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Support comma-separated filter patterns
Update DirectoryFilterPattern to split on commas and match any pattern,
so callers can filter to multiple SDK prefixes (e.g.,
'Azure.ResourceManager*,Azure.Provisioning*').
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Wei Hu <live1206@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5333117 commit 50e0165
2 files changed
Lines changed: 29 additions & 1 deletion
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| |||
352 | 357 | | |
353 | 358 | | |
354 | 359 | | |
| 360 | + | |
355 | 361 | | |
356 | 362 | | |
357 | 363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
69 | 91 | | |
70 | 92 | | |
71 | 93 | | |
| |||
0 commit comments