Skip to content
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

Multiple unlisted versions available on nuget.org #394

Open
david-brink-talogy opened this issue Jul 21, 2023 · 7 comments
Open

Multiple unlisted versions available on nuget.org #394

david-brink-talogy opened this issue Jul 21, 2023 · 7 comments

Comments

@david-brink-talogy
Copy link

I'm not sure if this is the correct repository, but over the last few months package Microsoft.VisualStudio.Azure.Containers.Tools.Targets has been repeatedly pushed and then unlisted from nuget.org. Some of these unlisted versions have been picked up by our builds while they are available.

Is there any issue with your CI/CD process?

https://www.nuget.org/packages/Microsoft.VisualStudio.Azure.Containers.Tools.Targets/1.19.0
https://www.nuget.org/packages/Microsoft.VisualStudio.Azure.Containers.Tools.Targets/1.19.1
https://www.nuget.org/packages/Microsoft.VisualStudio.Azure.Containers.Tools.Targets/1.19.2
https://www.nuget.org/packages/Microsoft.VisualStudio.Azure.Containers.Tools.Targets/1.19.3
https://www.nuget.org/packages/Microsoft.VisualStudio.Azure.Containers.Tools.Targets/1.19.4

@patverb
Copy link

patverb commented Jul 27, 2023

@psiservices-dbrink Those are indeed unlisted packages. For preview releases we publish the nuget as unlisted so projects created in preview releases can pull the preview packages but the nuget isn't listed so people do not update to a preview version. When a particular version is officially released, we publicly list it (generally alongside a release of Visual Studio).

@patverb patverb closed this as completed Jul 27, 2023
@david-brink-talogy
Copy link
Author

david-brink-talogy commented Jul 27, 2023

They're getting picked up by our CI/CD. Are they available for a short time before unlisting?

Why don't you publish them as prerelease using the normal convention? If you add a -{prerelease} suffix would it meet your use case?

@patverb
Copy link

patverb commented Aug 3, 2023

Unlisted versions should not be picked up by NuGet Api calls, only a few unofficial Api calls list them. If you are using Dependabot in your CI/CD it's a known issue with Dependabot.

@david-brink-talogy
Copy link
Author

Azure Devops artifacts is picking them up because nuget.org is an upstream source. We opened a support ticket with that team and were told that there's nothing built in that will unlist the packages in the artifact feed once they've been picked up.

I feel like we're stuck between two Microsoft teams. Is it possible for your team to tag prereleases according to the normal conventions?

@dbreshears
Copy link
Member

@psiservices-dbrink. Yes, will re-open and we can look into how to best to resolve this on our side.

@dbreshears dbreshears reopened this Aug 8, 2023
@david-brink-talogy
Copy link
Author

I'm almost 100% sure that 1.19.4 and 1.19.5 were marked as unlisted as recently as last week. These versions are now re-listed and available on nuget.org.

Is this intentional? Apologies if I'm incorrect about the relisting.

@NCarlsonMSFT
Copy link
Member

As per the above comment they were to support as of then unreleased versions of VS. Now that 17.7 and 17.8 Preview 1 shipped we listed them.

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

No branches or pull requests

4 participants