[ https://issues.apache.org/jira/browse/YUNIKORN-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17095904#comment-17095904 ]
Weiwei Yang commented on YUNIKORN-114: -------------------------------------- Make sense to me. > 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 > Priority: Major > > 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: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org