Overview
In order to avoid name clashes between repositories in Nordix, decisions was made that every Open Source upstream project should have it's own namespace in Nordix gerrit. This was implemented already for Acumos, OpenDev and OpenDaylight projects, we have to migrate the ONAP repositories under it's own namespace - 'onap' as well. This means that existing ONAP repository URL path will be updated with namespace, for example: https://gerrit.nordix.org/policy/engine will be changed to https://gerrit.nordix.org/onap/policy/engine.
Updating local copy of ONAP repository to new remote URL location
Cloning repository
1. The easiest and safest way is to clone repository again from new location using updated heis-clone.sh script which also set correctly the gerrit remote for 'git review'.
heis-clone.sh <gerrit-userid> onap/policy/engine engine
Note: Please refresh (pull) the tools repo in order to get new version of heis-clone.sh script.
2. If you prefer to clone it manually, just use the new location:
git clone ssh://<gerrit-userid>@gerrit.nordix.org:29418/onap/policy/engine
In this case you plan to use the 'git review' for this repository you have to set up the gerrit remote manual.
First check the origin remote for the given ONAP repository:
$ git remote -v origin ssh://<gerrit-userid>@gerrit.nordix.org:29418/onap/policy/engine (fetch) origin ssh://<gerrit-userid>@gerrit.nordix.org:29418/onap/policy/engine (push)
After that just set the gerrit remote with the same URL as the origin:
git remote add gerrit ssh://<gerrit-userid>@gerrit.nordix.org:29418/onap/policy/engine
Pointing local repository to new URL location
If for whatever reason the local copy of the repository can't be cloned again. The origin remote have to be updated with new URL to make sure it contains the 'onap' namespace part. For example:
git remote set-url origin ssh://<user_name>@gerrit.nordix.org:29418/onap/policy/engine
Again, In this case you plan to use the 'git review' for this repository you have to set the gerrit remote manual to updated URL location.
git remote set-url gerrit ssh://<user_name>@gerrit.nordix.org:29418/onap/policy/engine
ONAP repos migration status
The decisions was made that we will start with ONAP repositories that don't have a pending review in the Nordix Gerrit. After the given ONAP repository is migrated to new location the access to the old repository will be blocked and after 2 weeks the old repository will be deleted from Nordix. Here is the list of the ONAP repositories and it current migration status:
Repository | Migrated | Pending review | Deleted | New location |
---|---|---|---|---|
policy/engine | YES | NO | YES | onap/policy/engine |
policy/common | YES | NO | YES | onap/policy/common |
policy/core | YES | NO | YES | onap/policy/core |
policy/distribution | YES | NO | YES | onap/policy/distribution |
policy/docker | YES | NO | YES | onap/policy/docker |
policy/drools-applications | YES | NO | YES | onap/policy/drools-applications |
policy/drools-pdp | YES | NO | YES | onap/policy/drools-pdp |
policy/gui | YES | NO | YES | onap/policy/gui |
policy/oom | YES | NO | YES | onap/policy/oom |
policy/parent | YES | NO | YES | onap/policy/parent |
policy/pdp | YES | NO | YES | onap/policy/pdp |
policy/xacml-pdp | YES | NO | YES | onap/policy/xacml-pdp |
policy/pap | YES | NO | YES | onap/policy/pap |
policy/api | YES | NO | YES | onap/policy/api |
policy/apex-pdp | YES | NO | YES | onap/policy/apex-pdp |
policy/models | YES | NO | YES | onap/policy/models |
aai/oom | YES | NO | YES | onap/aai/oom |
aai/schema-service | YES | NO | YES | onap/aai/schema-service |
appc | YES | NO | YES | onap/appc |
appc/cdt | YES | NO | YES | onap/appc/cdt |
appc/deployment | YES | NO | YES | onap/appc/deployment |
appc/parent | YES | NO | YES | onap/appc/parent |
ccsdk/apps | YES | NO | YES | onap/ccsdk/apps |
ccsdk/cds | YES | NO | YES | onap/ccsdk/cds |
dcaegen2 | YES | NO | YES | onap/dcaegen2 |
dcaegen2/collectors | YES | NO | YES | onap/dcaegen2/collectors |
dcaegen2/collectors/datafile | YES | NO | YES | onap/dcaegen2/collectors/datafile |
dcaegen2/deployments | YES | NO | YES | onap/dcaegen2/deployments |
dcaegen2/platform/blueprints | YES | NO | YES | onap/dcaegen2/platform/blueprints |
dcaegen2/services/pm-mapper | YES | NO | YES | onap/dcaegen2/services/pm-mapper |
dcaegen2/services/prh | YES | NO | YES | onap/dcaegen2/services/prh |
dmaap/buscontroller | YES | NO | YES | onap/dmaap/buscontroller |
dmaap/datarouter | YES | NO | YES | onap/dmaap/datarouter |
dmaap/dbcapi | YES | NO | YES | onap/dmaap/dbcapi |
integration | YES | NO | YES | onap/integration |
integration/csit | YES | NO | YES | onap/integration/csit |
oom | YES | NO | YES | onap/oom |
oom/offline-installer | YES | NO | YES | onap/oom/offline-installer |
portal | YES | NO | YES | onap/portal |
sdc | YES | NO | YES | onap/sdc |
sdnc/oam | YES | NO | YES | onap/sdnc/oam |
so | YES | NO | YES | onap/so |
so/docker-config | YES | NO | YES | onap/so/docker-config |
testsuite | YES | NO | YES | onap/testsuite |
vid | YES | NO | YES | onap/vid |
ci-management | YES | NO | YES | onap/ci-management |