Add daily pipeline to register unregistered azure-mgmt-* package names#45485
Open
Add daily pipeline to register unregistered azure-mgmt-* package names#45485
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PowerShell does not support ** in -Path; use -Recurse -Filter instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new scheduled Azure DevOps pipeline to automatically detect newly introduced azure-mgmt-* packages that haven’t been registered on PyPI yet and trigger the existing name-reservation pipeline to reserve those package names.
Changes:
- Introduces a daily scheduled pipeline with no PR/push triggers.
- Scans
sdk/*/azure-mgmt-*/**/_version.pyforVERSION = "1.0.0b1"candidates. - Checks PyPI registration status and queues pipeline
8013for unregistered names.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
weshaggard
reviewed
Mar 10, 2026
|
|
||
| pool: | ||
| name: azsdk-pool | ||
| image: ubuntu-24.04 |
Member
There was a problem hiding this comment.
We should use our 1ES hosted pool
scbedd
reviewed
Mar 11, 2026
| @@ -0,0 +1,135 @@ | |||
| trigger: none | |||
| pr: none | |||
Member
There was a problem hiding this comment.
I see what you're going for here, but I think this is overly complex.
- You can update the existing build to do the grep of the version files if there is no value for the package name for reservation. (make default value
autofor the package name, which should trigger an additional grep for package name step). Doing it this way means you don't need to worry about access token to queue another build or anything like that. You can just add a schedule to thereserve-namespace-buildas it is. - This issue covers the proper solution to this. I reached out to Mariana when this came up before. I KNOW we trigger a couple pipelines for this. That is the true solution to the issue that this PR is solving.
I'll approve a stop gap that just adds a scheduled run to the existing build.
scbedd
requested changes
Mar 11, 2026
Member
scbedd
left a comment
There was a problem hiding this comment.
The single comment. I'm fine with just working this as a scheduled part of the existing namereserve build.
This file contains hidden or 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
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.
What
Adds a new scheduled pipeline
eng/pipelines/register-package-name.ymlthat runs daily to automatically register unregisteredazure-mgmt-*package names on PyPI.How it works
sdk/*/azure-mgmt-*/**/_version.pyfiles whereVERSION = "1.0.0b1"(new, unreleased packages)NameForReservationparameter for each unregistered packageDetails
Test
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5950914&view=results, it found the unregistered package then trigger the namespace reserve pipeline automatically : https://dev.azure.com/azure-sdk/internal/_build/results?buildId=5950943&view=results