From owner-freebsd-current@freebsd.org Thu Sep 3 15:18:28 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A37FD3C14E9; Thu, 3 Sep 2020 15:18:28 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bj4Fb6Hz1z4ZDY; Thu, 3 Sep 2020 15:18:27 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: by sdaoden.eu (Postfix, from userid 1000) id 873F816057; Thu, 3 Sep 2020 17:18:25 +0200 (CEST) Date: Thu, 03 Sep 2020 17:18:25 +0200 From: Steffen Nurpmeso To: Renato Botelho Cc: Ed Maste , FreeBSD Current , freebsd-git@freebsd.org Subject: Re: Please check the current beta git conversions Message-ID: <20200903151825.G_Rv9%steffen@sdaoden.eu> In-Reply-To: References: <20200902232044.gcCl2%steffen@sdaoden.eu> Mail-Followup-To: Renato Botelho , Ed Maste , FreeBSD Current , freebsd-git@freebsd.org User-Agent: s-nail v14.9.19-124-g67be92a3 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Rspamd-Queue-Id: 4Bj4Fb6Hz1z4ZDY X-Spamd-Bar: - X-Spamd-Result: default: False [-1.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.926]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+a]; DMARC_NA(0.00)[sdaoden.eu]; NEURAL_HAM_LONG(-0.95)[-0.955]; NEURAL_HAM_SHORT(-0.52)[-0.522]; MID_CONTAINS_FROM(1.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15987, ipnet:217.144.128.0/20, country:DE]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-git] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 15:18:28 -0000 Renato Botelho wrote in : |On 02/09/20 20:20, Steffen Nurpmeso wrote: |> Ed Maste wrote in |> : |> |> 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. Yes i know that, but most of the blobs are of course the same, no? The same files. All that is new are likely the notes and commit objects, even the directory tree objects could often be the same, but i do not know, also because i do not have the new data yet. (But it is 100% that i will not actually inspect this deeply.) Maybe they should split in cgit. and scm. (or .git) and use the git-http-backend for clones on scm. (or .git) and then redirect some requests, this works fine for years: url.redirect = ( "^.*/([^/]+\.git/objects/.*)" => "https://???/scm/$1", "^.*/([^/]+\.git/info/refs\?service.*)" => "https://????/scm/$1" ) I mean i really like saving some download that would go over thousands of kilometres for absolutely nothing. And i think it would be cool if all the many people which clone the github repo just update to the finally landed freebsd.org instance. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)