[
https://issues.apache.org/jira/browse/YUNIKORN-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264734#comment-17264734
]
Wilfred Spiegelenburg commented on YUNIKORN-507:
------------------------------------------------
git 2.4 was released in May 2015. That is really old and not really a normal
release to still be using. I currently use git 2.23 which works. Travis uses
git 2.27.
Should we instead of recommending a minimum version document the error type and
recommend to update git to a recent version?
{code:java}
go: finding modernc.org/[email protected]
go: modernc.org/[email protected]: git fetch -f origin refs/heads/*:refs/heads/*
refs/tags/*:refs/tags/* in <location>: exit status 128:
error: RPC failed; result=22, HTTP code = 404
fatal: The remote end hung up unexpectedly {code}
To reproduce the issue:
with an old version of git try: "git fetch -f
[https://gitlab.com/cznic/mathutil]"
compare that to the working fetch: "git fetch -f
[https://gitlab.com/cznic/mathutil.git]"
Both work with a newer git release.
To explain what is going on: older versions of git seem not to handle
repository URLs without .git added nicely. It looks like they fail when trying
to load from a server. It might be specific to gitlab servers but I am not sure
at the moment. Since we have no control over the URLs the update of git to a
later version is required.
> Add git version pre-requisite in the build guide
> ------------------------------------------------
>
> Key: YUNIKORN-507
> URL: https://issues.apache.org/jira/browse/YUNIKORN-507
> Project: Apache YuniKorn
> Issue Type: Task
> Components: documentation
> Reporter: Weiwei Yang
> Priority: Minor
>
> Recently we found our build will fail if the git version is too old, e.g 2.4.x
> We should document this on our web-site:
> http://yunikorn.apache.org/docs/next/developer_guide/build. To require a
> minimal version of git to be installed before trying to build YK.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]