是否可以在Artifactory中重命名存储库? [英] Is it possible to rename repositories in Artifactory?

查看:87
本文介绍了是否可以在Artifactory中重命名存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们想引入一个命名约定,因为我们有大量的内部和外部存储库,因此我们想让它变得很明显.在添加这些存储库时,没有人期望事情会如此增长.

We'd like to introduce a naming convention as we have a large number of both internal and external repositories and thus we'd like to make it obvious what's what. At the time these repositories were added, nobody expected things to grow this much.

我想知道是否可以重命名存储库?我知道我可以创建新的文件并在其中复制/移动工件,但这看起来比我想要的要大.有合理的方法可以做到这一点吗?

I was wondering if it would be possible to rename the repositories? I know I can create new ones and copy/move the artifacts there, but that looks like a bigger effort than I'd like. Is there a reasonable way to do this?

推荐答案

否,是.您不应该,但是可以.我想您可以想象为什么不应该这样做,并且由于所有这些原因,该名称在用户界面中不可编辑.

No and yes. You shouldn't, but you can. I guess you can imagine why you shouldn't, and for all those reasons the name is not editable in the UI.

您可以在settings.xml中(通过REST在Admin-> Advanced下的用户界面中,通过REST)或作为文件(使用Artisfactory对其进行重新包装)来编辑名称.在此处中介绍了这三种方式.

You can edit the names in the settings.xml (in the UI under Admin->Advanced, by REST) or as a file, bootsraping Artifactory with it). All three ways are described here.

请注意,风险自负.

我与 JFrog 在一起/"rel =" nofollow noreferrer> Bintray 和 [artifactory] ​​,请参见

I am with JFrog, the company behind Bintray and [artifactory], see my profile for details and links.

这篇关于是否可以在Artifactory中重命名存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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