develop strategy to deploy new webapp together with design docs
We changed the design documents in the webapp. This means the webapp will check for an updated checksum when using the users database. If the updated design documents have not been added to the platform yet the webapp will try to update them and fail.
With the design docs under platform control I can think of three approaches to prevent this the next time:
Version dependency: We specify a certain tag or branch for the webapp so we can update that when we updated the design docs. I don't have any detailed idea about how this should work as we probably still want to continiously deploy webapp changes that do not alter the design docs.
Review Process: design doc changes need to be merged into both the platform and the webapp by the same person at the same time. So we'd need the review processes for webapp and platform to be the same in this case.
Automation: We add a post-commit hook to the webapp that checks for changes in the design docs and if there are any it runs 'rake couchrest:dump' and adds the result to the platform automagically
(from redmine: created on 2014-01-09)