Home | History | Annotate | Download | only in suite_scheduler

Lines Matching refs:to

24     """Raised to indicate a failure while searching for manifests."""
29 """Raised when `git clone` fails to create the repository."""
34 """Shell out to run a command, expecting data on stderr. Return stdout.
36 Shells out to run |command|, optionally passing escaped |args|.
40 @param command: command string to execute.
41 @param timeout: time limit in seconds before attempting to kill the
43 than 'timeout' to complete if it has to kill the process.
44 @param args: sequence of strings of arguments to be given to the command
59 @param command: command string to execute.
68 """Class to allow discovery of manifests for new successful CrOS builds.
72 copy of the repository up to date.
74 @var _CLONE_RETRY_SECONDS: Number of seconds to wait before retrying
76 @var _CLONE_MAX_RETRIES: Maximum number of times to retry a failed
81 @var _BOARD_MANIFEST_RE_PATTERN: pattern for regex that parses paths to
102 @param tmp_repo_dir: For use in testing, if one does not wish to repeatedly
115 @param revision: the git revision to look back to.
121 logging.error('No paths to check for manifests???')
144 # 5. suite_scheduler comes here to restart with a new
146 # 6. `git clone` fails, and we go back to step 2.
148 # We want to rate limit the e-mail notifications, so we
166 raise CloneException('Failed to clone %s after %d attempts: %s' %
173 To fully specify a 'branch', one needs both the type and the numeric
179 @param board: the board whose manifests we want to check for.
180 @return {(branch_type, milestone): [manifests, oldest, to, newest]}
190 To fully specify a 'branch', one needs both the type and the numeric
194 @param rev: return all manifest files from |rev| up to HEAD.
195 @param board: the board whose manifests we want to check for.
196 @return {(branch_type, milestone): [manifests, oldest, to, newest]}
206 @param board: the board whose manifests we want to check for.
208 @param milestone: Milestone to look for the latest manifest. Default to
239 Given a regexp |matcher| and a list of paths to manifest files,
240 parse the paths and build up a map of branches to manifests of
243 To fully specify a 'branch', one needs both the type and the numeric
247 @param matcher: a compiled regexp that can be used to parse info
248 out of the path to a manifest file.
249 @param manifest_paths: an iterable of paths to manifest files.
250 @return {(branch_type, milestone): [manifests, oldest, to, newest]}
257 logging.warning('Failed to parse path %s, regex: %s',
287 @param command: the git sub-command to use.
319 @param board: the board whose manifests we want to check for.
331 @param board: the board whose manifests we want to check for.
347 @param prefix: a path under which to expand |path_glob|.
348 @param path_glob: the glob to expand.
349 @return a list of paths relative to |prefix|, based on |path_glob|.
358 @param since_spec: a formatted arg to git log that specifies a starting
359 point to list commits from, e.g.
361 @param board: the board whose manifests we want to check for.
372 # If we pass nothing to git show, we get unexpected results.
373 # So, return early if git log is going to give us nothing.