I see that the Salesforce DX pilot program has finished; is there a way to take a look at Salesforce DX now (June 2017)?
(Also see What is Salesforce DX? on this forum.)
My specific question… We’ve had problems lately with namespace related bugs in our managed packages. We do our development in non-namespace orgs and namespace bugs have leaked into our managed packages (e.g. Visualforce page name-based logic breaking when the namespace prefix is present). Do the scratch orgs that are part of Salesforce DX allow a namespace to be nominated so they can simulate the packaging org in the sense that developers can fully test their code with a namespace present in a scratch org?
You specify the namespace in the scratch-org’s configuration file when using the org creation command. You must first associate the packaging org with your Environment Hub Org before you can use the namespace parameter, and the namespace must match the namespace prefix in the packaging org. I can’t share specific details, but the answer is, yes, you will be able to use namespaces in your scratch orgs, which will ease spinning up new orgs and deploying changes to your packaging org.