如何在上游视图中将新的Nuget软件包自动推送到我的提要中? [英] How can new Nuget packages in an upstream view be pushed to my feed automatically?

查看:107
本文介绍了如何在上游视图中将新的Nuget软件包自动推送到我的提要中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Azure DevOps,并已在门户UI中创建了一个Nuget提要.我设置了一个上游资源,即Azure Artifacts提要.该位置是Nuget提要视图.

I’m using Azure DevOps and have created a Nuget feed within the portal UI. I’ve set a single upstream source that’s an Azure Artifacts feed. The location is a Nuget feed view.

现在,当Nuget程序包发布到上游视图的feed中时,我需要手动安装一次该程序包,以使其出现在我的feed中.

Right now, when a Nuget package is published to the upstream view’s feed, I need to manually install the package once for it to appear in my feed.

是否可以将上游视图中的新软件包或更新软件包自动推送到我的提要中?

Is there a way for new or updated packages in the upstream view to automatically be pushed to my feed?

推荐答案

是否可以将上游视图中的新软件包或更新软件包自动推送到我的供稿?

Is there a way for new or updated packages in the upstream view to automatically be pushed to my feed?

恐怕没有办法在上游视图中添加新的或更新的软件包以自动推送到您的Feed中.而且我认为这是不必要的.

I am afraid there is no such way to add a new or updated packages in the upstream view to automatically be pushed to your feed. And I suppose this is unnecessary.

因为当我们从上游来源下载任何软件包时,Azure Artifacts feed将自动缓存这些软件包,因此我们下次可以看到它,而无需再次从上游来源下载.

That because Azure Artifacts feed will cache these packages automatically when we download any packages from the Upstream sources, so that we could see it next time and no need to download it from the Upstream sources again.

因此它用于缓存我们使用过的那些软件包,如果我们在上游视图中自动缓存任何新的或更新的软件包(在当前项目中我们可能根本不使用它们.),这些未使用的软件包将自动使我们的饲料繁重且效率低下.快速高效是我们将这些程序包缓存在Feed中的原因.

So it is used to cache those packages we have used, if we cache any new or updated packages (We may not use them at all in the current project.) in the upstream view to the feed automatically, those unused packages will make our feeds heavy and inefficient. Fast and efficient is the reason why we cache these packages in our feed.

当然,如果上述不是您关心的重点,则您更担心可以一眼看到提要中的任何新包或更新包,可以考虑将这些包直接推送到提要中.

Of course, if the above is not the point you care about, you are more concerned that you can see any new or updated packages in your feed at your first sight, you can consider to push those packages to your feed directly.

希望这会有所帮助.

这篇关于如何在上游视图中将新的Nuget软件包自动推送到我的提要中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆