mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-14 16:14:25 +00:00
superproject: Change bug reporting url to go/repo-bug for missing commit ids.
Tested the code with the following commands. $ ./run_tests -v error: please file a bug using go/repo-bug to report missing commit_ids for: ['art', ... Bug: [google internal] b/186220520. Change-Id: If075553813a0339ccf46ab3acaa38041fff552ca
This commit is contained in:
parent
cd89ec147a
commit
f7133d5b80
@ -26,13 +26,15 @@ import hashlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
from error import BUG_REPORT_URL
|
||||
from git_command import GitCommand
|
||||
from git_refs import R_HEADS
|
||||
|
||||
_SUPERPROJECT_GIT_NAME = 'superproject.git'
|
||||
_SUPERPROJECT_MANIFEST_NAME = 'superproject_override.xml'
|
||||
|
||||
# URL to file bug reports for Google specific repo tool issues.
|
||||
_BUG_REPORT_GOOGLE_URL = 'go/repo-bug'
|
||||
|
||||
|
||||
class Superproject(object):
|
||||
"""Get commit ids from superproject.
|
||||
@ -272,8 +274,10 @@ class Superproject(object):
|
||||
else:
|
||||
projects_missing_commit_ids.append(path)
|
||||
if projects_missing_commit_ids:
|
||||
# TODO(rtenneti): Come up with a solution to support non-google URL for
|
||||
# filing bug reports.
|
||||
print('error: please file a bug using %s to report missing commit_ids for: %s' %
|
||||
(BUG_REPORT_URL, projects_missing_commit_ids), file=sys.stderr)
|
||||
(_BUG_REPORT_GOOGLE_URL, projects_missing_commit_ids), file=sys.stderr)
|
||||
return None
|
||||
|
||||
manifest_path = self._WriteManfiestFile()
|
||||
|
Loading…
Reference in New Issue
Block a user