We are considering migration of our managed package development process to Salesforce DX. But we are definitely not ready yet to transform our code base and use full potential of SFDX, but still looking for a way to adopt it partially.
Couple questions regarding how much we could utilize power of DX but still not to change significantly our dev flow for now:
Is it possible just to use hub and DX cli to quickly spin up new scratch org with required configuration, create new user with password and then use it to deploy code in an old-fashioned way using package.xml and ant migration tool? Any restriction here or could we treat scratch org as normal sandbox after creation?
Main interest is about registering namespace in hub org and start spinning up packaging scratch orgs - so that we could have many of them but still using the same namespace prefix. Would it be possible to use old package xml here as well and deploy code to package as we did before with ant?
Is it possible to spin up at the same time from one hub namespaced and non-namespaced scratch orgs? Cause currently we are developing code in ordinary sandboxes and then pushing it into packaging org - curious if it's possible to do the same withing scratch orgs scope or should they all be strictly with namespace and do we need another hub to register to produce non-namespaced orgs?