Lines Matching refs:version
53 def GetVersionSpecFile(version, versions_git): argument
64 v, m = version.split('.', 1)
74 err_msg = 'No spec found for version {0}'.format(version)
144 if not options.version:
148 version = options.version.strip()
154 if version not in ('lkgm', 'common'):
179 if version == 'top':
181 elif version == 'latest_lkgm':
183 version = manifests.TimeToVersion(time.mktime(time.gmtime()))
184 version, manifest = version.split('.', 1)
186 (version, manifest))
188 (versions_repo, version, manifest))
190 elif version == 'lkgm':
195 version = manifests.TimeToVersion(timestamp)
196 version, manifest = version.split('.', 1)
198 % (version, manifest, timestamp))
200 (versions_repo, version, manifest))
202 elif version == 'latest_common':
203 version = TimeToCommonVersion(time.mktime(time.gmtime()))
204 version, manifest = version.split('.', 1)
206 (version, manifest))
207 init = ('repo init -u %s -m buildspecs/%s/%s.xml' % (versions_repo, version,
209 elif version == 'common':
213 version = TimeToCommonVersion(timestamp)
214 version, manifest = version.split('.', 1)
216 'at timestamp %s' % (version, manifest,
218 init = ('repo init -u %s -m buildspecs/%s/%s.xml' % (versions_repo, version,
222 version_spec_file = GetVersionSpecFile(version, versions_repo)