copied versioning scheme of GAE sdk