Lines Matching refs:updater
83 updater = updater_utils.create_updater(metadata, proj_path, UPDATERS)
84 return (updater, metadata)
87 def _do_update(args: argparse.Namespace, updater: Updater,
89 full_path = updater.project_path
100 updater.update()
104 updated_metadata.third_party.version = updater.latest_version
106 if metadata_url == updater.current_url:
107 metadata_url.CopyFrom(updater.latest_url)
112 msg = 'Upgrade {} to {}\n'.format(args.path, updater.latest_version)
137 updater, metadata = build_updater(proj_path)
138 updater.check()
140 current_ver = updater.current_version
141 latest_ver = updater.latest_version
153 _do_update(args, updater, metadata)
154 return updater
165 updater = check_and_update(args, Path(path))
166 if isinstance(updater, str):
167 res['error'] = updater
169 res['current'] = updater.current_version
170 res['latest'] = updater.latest_version