Comment 1 for bug 1357220

Revision history for this message
Brian Tully (brian-tully) wrote :

If it's something as simple as a language change, since the API returns status "pending" why not just have the status say "pending"?

Otherwise if we can piggyback on the current code in environments/api.py:

if not env.has_new_services and env.version == 0:
        if env.status == consts.STATUS_ID_READY:
            env.status = consts.STATUS_ID_NEW

Couldn't we also check to see if the env has new services but has yet to be deployed and if so set the status to pending or a new status something like STATUS_ID_READY_TO_DEPLOY

When is STATUS_ID_READY used?