I want to be able to introduce the idea of environments to Aegir. By environments I mean like development, staging, production etc. The idea is that servers are configured to host specific environments. New sites are always deployed to the development environment. At specific points in the sites development life-cycle it may be cloned to staging, and then production. At some point the site may be cloned back to development and the cycle begins again.
Sites may exist in some or all of the environments at once, so the normal Aegir clone wont work, as it will only copy to new sites.
I have begin work on two modules using the available APIs from the hosting module and it's sub-modules. One is called 'environment' which creates the node type and allows a site to be associated with an environment. The other is called 'deploy' and is basically clone with the ability to copy over existing sites.
Before I go to far here I'm wondering if anyone else is working on anything like this, or have some ideas to contribute about how this should work and the best way to go about it.