Re: Please check the current beta git conversions

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Thu, 3 Sep 2020 08:48:59 -0300
On 02/09/20 20:20, Steffen Nurpmeso wrote:
> Ed Maste wrote in
>   <CAPyFy2Ajr3C8LM=x=_WOhV9XXMFN-80_8AP5SSta7a1FgaTGRA_at_mail.gmail.com>:
> 
> I tried simply updating my github clone by switching
> 
>    url = https://cgit-beta.freebsd.org/src.git
>    #url = https://github.com/freebsd/freebsd.git
> 
> and whereas ls-remote worked fine fetch -v --dry-run aborted as
> well as normal fetch, after dumping dozens of POSTs
> 
>    POST git-upload-pack (gzip 1472 to 804 bytes)
>    ...
>    POST git-upload-pack (gzip 976722 to 483608 bytes)
>    POST git-upload-pack (chunked)
>    error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
>    fatal: the remote end hung up unexpectedly
> 
> Maybe clone from scratch instead, but mysterious it is?
> Good night, and Ciao from Germany,

github and cgit-beta repositories are not the same.  Commit hashes won't 
match so you cannot simply change the URL.

Look at this example.  Same commit with different hash:

https://github.com/freebsd/freebsd/commit/33ad4343e75940eae87391cc2198ddb617246ea3

https://cgit-beta.freebsd.org/src/commit/?id=f04d830d76bdba3c5d2f3a184a72f64413dafe44 
Received on Thu Sep 03 2020 - 09:49:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC