• Home
  • Raw
  • Download

Lines Matching +full:skia +full:- +full:public

2 # Use of this source code is governed by a BSD-style license that can be
6 """Top-level presubmit script for Skia.
8 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
24 SKIA_TREE_STATUS_URL = 'http://skia-tree-status.appspot.com'
40 DOCS_PREVIEW_URL = 'https://skia.org/?cl='
41 GOLD_TRYBOT_URL = 'https://gold.skia.org/search?issue='
45 'skia-buildbots.google.com', 'skia-swarming-bots', 'skia-public',
46 'skia-corp.google.com']]
55 if len(contents) > 1 and contents[-1:] != '\n':
124 'See https://bug.skia.org/3362 for why this should be fixed.' %
132 year_range_pattern = r'%s(-%s)?' % (year_pattern, year_pattern)
183 cmd = [gn, 'format', '--dry-run', f.LocalPath()]
276 SKIA_TREE_STATUS_URL + '/current-sheriff')
280 '\n\nPlease contact the current Skia sheriff (%s) if you are trying '
304 self._issue)['labels']['Commit-Queue'].get('value', 0) == 1
308 self._gerrit.GetChangeInfo(self._issue)['labels']['Code-Review'])
314 self._gerrit.GetChangeInfo(self._issue)['labels']['Code-Review'])
346 'The email %s is not in Skia\'s AUTHORS file.\n'
347 'Issue owner, this CL must include an addition to the Skia AUTHORS '
359 """Check LGTMs for public API changes.
361 For public API files make sure there is an LGTM from the list of owners in
369 # We only care about files that end in .h and are under the top-level
384 # It is a revert CL, ignore the public api owners check.
388 # Ignore public api owners check for dry run CLs since they are not
396 # public api owners check.
405 # If an owner is specified in the TBR= line then ignore the public
422 "If this CL adds to or changes Skia's public API, you need an LGTM "
424 "Skia's public API, please add a short note to the CL saying so. "
426 "TBR= line. If you don't know if this CL affects Skia's public "
443 * Adds 'No-Try: true' if the CL contains only docs changes.
444 * Adds 'No-Tree-Checks: true' for non master branch changes since they do not
446 * Adds 'No-Try: true' for non master branch changes since trybots do not yet
448 * Adds 'No-Presubmit: true' for non master branch changes since those don't
467 # Skip PostUploadHooks for all auto-commit service account bots. New
469 # the "--use-commit-queue" flag to "git cl upload".
477 # If the change includes only doc changes then add No-Try: true in the
479 if all_docs_changes and not _FooterExists(footers, 'No-Try', 'true'):
480 new_description_lines.append('No-Try: true')
484 '\'No-Try: true\' to the CL\'s description'))
489 docs_preview_line = 'Docs-Preview: %s' % docs_preview_link
491 not _FooterExists(footers, 'Docs-Preview', docs_preview_link)):
499 # If the target ref is not master then add 'No-Tree-Checks: true' and
500 # 'No-Try: true' to the CL's description if it does not already exist there.
503 if not _FooterExists(footers, 'No-Tree-Checks', 'true'):
504 new_description_lines.append('No-Tree-Checks: true')
508 'tree status. Automatically added \'No-Tree-Checks: true\' to '
510 if not _FooterExists(footers, 'No-Try', 'true'):
511 new_description_lines.append('No-Try: true')
514 'Trybots do not yet work for non-master branches. '
515 'Automatically added \'No-Try: true\' to the CL\'s '
517 if not _FooterExists(footers, 'No-Presubmit', 'true'):
518 new_description_lines.append('No-Presubmit: true')
537 * Ensures that the Skia tree is open in
538 http://skia-tree-status.appspot.com/. Shows a warning if it is in 'Caution'
545 SKIA_TREE_STATUS_URL + '/banner-status?format=json')))