carlspring
carlspring

Reputation: 32597

Is it possible to rename repositories in 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?

Upvotes: 4

Views: 9618

Answers (3)

Amirhossein Taheri
Amirhossein Taheri

Reputation: 231

As the JFrog said, It is better to create a repository with a new name and then move contents from the old repository into the new repository.

Upvotes: 0

anonymously132526
anonymously132526

Reputation: 177

You can right click on the repo or file and select --> "Move" then select "target repository" and select "custom target path" and write the new name.

Upvotes: 2

JBaruch
JBaruch

Reputation: 22893

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.

Upvotes: 8

Related Questions