You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Adam Antal (Jira)" <ji...@apache.org> on 2020/04/28 09:41:00 UTC

[jira] [Created] (YUNIKORN-114) Clone the shallow clone version of protobuf repo

Adam Antal created YUNIKORN-114:
-----------------------------------

             Summary: Clone the shallow clone version of protobuf repo
                 Key: YUNIKORN-114
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-114
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: scheduler-interface
            Reporter: Adam Antal


When building the scheduler interface, we pull the whole protobuf repo. While the source files are not that big, the git history (that we actually don't need) makes it a bit slower to clone it. 

We actually want to check out the latest tag, that we could do without cloning by getting the tag with {{git ls-remote --tags}}) and cloning/checking out just that revision with {{git clone --depth=1}}. Though the the scheduler build time is not a bottleneck, I think we can improve the build time a bit.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org