-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Add azure regen preview local script #53624
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
Add azure regen preview local script #53624
Conversation
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.
Pull Request Overview
This PR introduces a new script system for automating the validation of TypeSpec generator changes by building local generator packages and regenerating libraries in the Azure SDK for .NET repository. The changes provide both comprehensive automation and interactive selection capabilities.
Key changes:
- Adds comprehensive PowerShell automation for building and packaging local generators with versioned artifacts
- Implements interactive library selection with support for filtering by generator type (Azure, Unbranded, Management)
- Includes parallel regeneration with automatic artifact cleanup on success
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| eng/packages/http-client-csharp/eng/scripts/docs/RegenPreview.md | Documentation for the RegenPreview.ps1 script, including usage examples, parameters, and workflow descriptions |
| eng/packages/http-client-csharp/eng/scripts/RegenPreview.psm1 | Module providing helper functions for generator packaging, filtering, and NuGet configuration |
| eng/packages/http-client-csharp/eng/scripts/RegenPreview.ps1 | Main script implementing the validation workflow with library regeneration and artifact management |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* build: add azure regen preview local script * Update eng/packages/http-client-csharp/eng/scripts/RegenPreview.ps1 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * nits * fix text --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This PR adds a regen script to enable local code generation validation of azure libraries.
fixes: #52234