Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

New Post: Purging Old Packages from NuGet Gallery

$
0
0

We have an implementation that is pretty specific to our Azure hosting configuration.  But the workflow is:

  1. For each version of the package:
    1. DELETE PackageAuthors for the package
    2. DELETE PackageDependencies for the package
    3. DELETE PackageStatistics for the package
    4. DELETE PackageFrameworks for the package
    5. DELETE Packages for the package
    6. Back up the package file in our backup blob storage (in case we need to recover it)
    7. Delete the package from the production blob storage
  2. DELETE PackageOwnerRequests for the package registration
  3. DELETE PackageRegistrationOwners for the package registration
  4. DELETE PackageRegistrations for the package registration

I hope this helps!

 


Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>