[ 
https://issues.apache.org/jira/browse/YUNIKORN-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242215#comment-17242215
 ] 

Wilfred Spiegelenburg commented on YUNIKORN-114:
------------------------------------------------

Changed the way we clone the protobuf code.

The tag we use is not the latest but whatever is in the go.mod. That tag is 
already retrieved in the Makefile so we just need to clone diffently

> 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
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>              Labels: pull-request-available
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to