ZX: drop realm

zx drop realm Realm

Remove all traces of a particular realm from the local Zomp/ZX configuration.

For most ZX users removing a realm is never necessary; if you no longer need what a given realm provides, simply stop using it. Removing a realm purges the cache of all package sources and built projects, logs, settings, public keys, mirror records, and the realm configuration file. Most of the time this is a relatively small amount of data, but it is nice to keep things tight.

The one case where it can be extremely beneficial to remove an unused realm is if your system hosts a public Zomp mirror and you wish to stop providing services for a specific realm for some reason. It could be that you are concerned about system load, network bandwidth, license incompatibility, or maybe the realm is just no longer properly maintained and you wish to stop connectors from trying to connect to a realm prime that no longer exists. For whatever reason, the following command will rid you of all traces of a specific realm:

ceverett@takoyaki:~$ zx drop realm
Which realm should be dropped?
[ 1] ao
[ 2] ao_testing
[ 3] otpr
(or "QUIT"): 2
Realm "ao_testing" dropped!
ceverett@takoyaki:~$