REMOVE A NAMESPACE
This guide shows you how to remove a namespace assignment from a repository and optionally return its data to the un-namespaced solo layout.
Unset without data migration
If you only want to remove the namespace label without moving data:
$ swamp datastore namespace unsetNamespace unset (was "infra")The namespace is removed from .swamp.yaml. Data remains at its current
namespaced path (.swamp/infra/...). This is useful when you plan to reassign a
different namespace or when the data will be accessed by other namespaces.
Unset and reverse-migrate data
To remove the namespace and move data back to the top-level solo layout:
$ swamp datastore namespace unset --migrate --confirmThis combines two operations: unsetting the namespace and running a reverse
migration. Data moves from .swamp/infra/data/ back to .swamp/data/, and so
on for all directories.
If you want to preview before committing, omit --confirm:
$ swamp datastore namespace migrate --reverseThis shows the reverse migration preview without executing it.
Verify
After unsetting, confirm the namespace is removed:
$ swamp datastore namespace listThe removed namespace no longer appears in the list. If no other namespaces exist in the datastore, the list is empty and the repository is back in solo mode.