Is it possible to rename repositories in Artifactory?

 ̄綄美尐妖づ 提交于 2019-12-12 14:50:11

问题


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?


回答1:


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.

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.

Note that you do it on your own risk.


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



来源:https://stackoverflow.com/questions/32012821/is-it-possible-to-rename-repositories-in-artifactory

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!