Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
743 views
in Technique[技术] by (71.8m points)

azure devops - Remove foreign nuget packages from private nuget feed

When I look at my Artifacts feed I see hundreds of nuget packages from Microsoft and other authors who's packages I use. Why are those packages stored in my feed? Looking at the billing page I see that my feed uses 1.96 GB. That is just below the 2 GB threshold after which I will be billed. Of the 1.96 GB in use, maybe 10 mb is actually used by packages I create.

How do I remove the foreign nuget packages and prevent them from being stored in my feed?

question from:https://stackoverflow.com/questions/65871528/remove-foreign-nuget-packages-from-private-nuget-feed

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Check (and remove if desired) Artifacts > Settings > Upstream Sources.

In most cases there is no need to use these, but there can be some benefits, the main one being that if an upstream version (or entire package) is removed, your package will still have access to the copy that Azure will have made for you.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...