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
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: STATUS_ ID_READY:
env. status = consts. STATUS_ ID_NEW
if env.status == consts.
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?