Page MenuHomePhabricator

Install rename-project plugin
Open, LowPublic


A new plugin was created upstream to support renaming projects. See

2.15 support is being added in

git clone

Build instructions:

Some instruction as to how we build Gerrit

Event Timeline

Paladox changed the task status from Open to Stalled.Aug 14 2018, 7:09 PM

Stalled until notedb is supported in the plugin.

hashar added a subscriber: hashar.

Seems like the plugin had a lot of activity recently. Might be worth looking at again.

I had a few cases for renaming projects, though it is set in stone that we can not rename them so we have adapted :)

Looks like the plugin has been updated?

Looks like the plugin has been updated?

According to @Paladox at T212180#4839151 the plugin does not support NoteDb yet.

@Paladox Does the plugin support NoteDB now (or whichever storage we will be using in the next gerrit upgrade?) Thanks.

Given the plugin does not support NoteDB, there is no point in installing it and I am thus declining this task.

I have filled another task to fulfill renaming repositories in Gerrit, which might or not end up using the plugin. It is a more generic task: T239693: Support renaming repositories in Gerrit

It looks like it also has other limitations that might make the plugin unusable in our install as well.

@hashar it supports NoteDB as of a few weeks ago, but does have some limitations anyways.

Reopening so. Thank you both :]

I have build the plugin locally, blocked on upload it to Archiva cause I lack access. T263721

Change 630548 had a related patch set uploaded (by Hashar; owner: Hashar):
[operations/software/gerrit@deploy/wmf/stable-3.2] Add rename-project plugin stable-3.2-0-g7f89635

$ ./ --version stable-3.2-0-g7f89635 plugins/rename-project.jar 

[INFO] Scanning for projects...
[INFO] ------------------------< org.wikimedia:gerrit >------------------------
[INFO] Building Gerrit artifact uploader 1.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] --- maven-deploy-plugin:2.7:deploy-file (default-cli) @ gerrit ---
Uploading to wikimedia.releases:
Uploaded to wikimedia.releases: (54 kB at 16 kB/s)
Downloading from wikimedia.releases:
Uploading to wikimedia.releases:
Uploaded to wikimedia.releases: (357 B at 213 B/s)
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.861 s
[INFO] Finished at: 2020-09-28T11:13:17+02:00
[INFO] ------------------------------------------------------------------------

Change 630548 abandoned by Hashar:

[operations/software/gerrit@deploy/wmf/stable-3.2] Add rename-project plugin @ a880148


This need to be redone after I have changed the logic to have extra plugins attached as submodules in our wmf/stable-3.2 branch. The artifact is then build by CI and we should use that.