您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516
  1. NAME = "com_googlesource_gerrit_bazlets"
  2. def load_bazlets(
  3. commit,
  4. local_path = None):
  5. if not local_path:
  6. native.git_repository(
  7. name = NAME,
  8. remote = "https://gerrit.googlesource.com/bazlets",
  9. commit = commit,
  10. )
  11. else:
  12. native.local_repository(
  13. name = NAME,
  14. path = local_path,
  15. )