-
Notifications
You must be signed in to change notification settings - Fork 252
Enhanced package upload workflow
Status: Implemented
Enhanced package upload workflow
Going forward, NuGet packages shall be subject to additional validations that we currently do not perform, and this might result in a slight delay to the publishing process when the package is being validated, indexed and is made available for consumption on the gallery and from the v3/v2 feed. At present, there is no way for the publisher to know if the validation fails, and what to do next.
NuGet package publishers on NuGet.org
The NuGet team receives tens of requests a week specifically asking for clarification around when a package will be available for consumption while it is being indexed. This problem might get exasperated when we introduce package validation as part of this flow.
Here is the workflow when a package is pushed:
(you may have to zoom-in up to 160%)
This page will be visible only to the package owner/s.
In the scenario where the package validation fails, the package page updates with the status "package publishing failed". The owners are notified of the same via email, and the NuGet team is alerted as well. At this point, NuGet support will reach out to the owners with the next steps.
Once the package has been validated and indexed, the status info bar goes away, the package page becomes public, the package is made available for download from the gallery and for consumption through the v2/v3 feeds, and an email notification is sent to the owners informing them that the package has been published.
Check out the proposals in the accepted
& proposed
folders on the repository, and active PRs for proposals being discussed today.