Change repository configuration of a scoped App

Sashi K1
Kilo Guru

Hi

Is that possible to change repository configuration once we map a Scoped Application to a repository? In my case, we have App published to repository. Now wanted to change repository configuration instead of cloning repository to another repository. How could I do that?

I tried 'sys_repo_config.list' and tried edit config mappings. I see runtime exceptions saying registered repository and given repository URL is not same. Couldn't find where is that 'registered' config information stored.

1. Could we change current repository of a scoped app without publishing app to an update set, z-boot instance and reload with new configuration information.

Any help greatly appreciated!

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Hi Sahikanth,



There is currently no way to point to a new repo on the instance. There are two alternatives.



First, you can use the clone repo as you noted. Once cloned, you need to remove the original app and import the app from the new repo.



The second is similar only you export your app to an update set, delete it, create the new repo, import the update set and reconnect to the new repo.



As you can see, both involve deleting the app on the instance.


View solution in original post

5 REPLIES 5

Tim Woodruff
Mega Guru

Changing the repo your application is associated with is possible now, but not very intuitive; almost actively obfuscated. I just wrote an article on how to do do it, here.

 

@john.duchock @Sashi K