From owner-freebsd-current@freebsd.org Sat Oct 3 23:53: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 9BFE13F3AC3 for ; Sat, 3 Oct 2020 23:53:28 +0000 (UTC) (envelope-from bakul@iitbombay.org) Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C3kFz2NNrz406J for ; Sat, 3 Oct 2020 23:53:27 +0000 (UTC) (envelope-from bakul@iitbombay.org) Received: by mail-pg1-x544.google.com with SMTP id y14so3345410pgf.12 for ; Sat, 03 Oct 2020 16:53:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8TNyJFM2U1iKJmCwNG5dd2pHeJl2e9P4WsVtoAlTdqs=; b=b59Qz0uquILCp3cVLkgT8DuYyVTq9TEomcYHh8c9Nyt6lLuR47M/d/XdIjBfTnTl27 BtLSF6QvKv2QcIORoDMGR/iFUEJytZfO/gh6EfEMky15bIaH6U0dV0jBb0Yy1VU3B6r3 oLtVrQAscXN4gPGnJ9zAHVaAPcfJ4ZiBQeADqScw0neplQ5b8oauINsbu9jKwZrfO7cK Ov06C2fEWepZLEhezLmZS9Zy8ZZwOsaaKeEweaDo9N+14RKKafWmvhy4qv3pnNm/Gkzv 724AxoJO+bS0aBy3FzLyEriOWN/rfupi8Ux2VNyf7iusc6CSvxL0mNpbEVEVCL59yFdn RD/A== X-Gm-Message-State: AOAM530S3P8LHjz9GfLuVs+t5jP39dNKQx+sQWl53/4cpDSQD6qBX5un Wv9Ob15V7wQms8B7vk30hLTQ8zxFWudSCbot X-Google-Smtp-Source: ABdhPJyHy8R9/wSn+n1QY4+xMspQ+fWGoUVom9vvDf8Ii0SFTlxSKz7e3/rMtlK6c2wJ+Zmw6BA12Q== X-Received: by 2002:aa7:8dc7:0:b029:151:2237:52c5 with SMTP id j7-20020aa78dc70000b0290151223752c5mr9568405pfr.32.1601769206104; Sat, 03 Oct 2020 16:53:26 -0700 (PDT) Received: from [192.168.1.113] (172-125-77-130.lightspeed.sntcca.sbcglobal.net. [172.125.77.130]) by smtp.gmail.com with ESMTPSA id f6sm6942555pfq.82.2020.10.03.16.53.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Oct 2020 16:53:25 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Please check the current beta git conversions From: Bakul Shah In-Reply-To: <20201003221407.ZnssQ%steffen@sdaoden.eu> Date: Sat, 3 Oct 2020 16:53:24 -0700 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200903191410.sgjUQ%steffen@sdaoden.eu> <20200926195056.1QqEB%steffen@sdaoden.eu> <20201003221407.ZnssQ%steffen@sdaoden.eu> To: Steffen Nurpmeso X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4C3kFz2NNrz406J X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.15 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[iitbombay-org.20150623.gappssmtp.com:s=20150623]; FREEFALL_USER(0.00)[bakul]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[iitbombay.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.04)[-1.038]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[iitbombay-org.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::544:from]; NEURAL_HAM_SHORT(-0.09)[-0.092]; NEURAL_HAM_MEDIUM(-1.02)[-1.017]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] 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: Sat, 03 Oct 2020 23:53:28 -0000 On Oct 3, 2020, at 3:14 PM, Steffen Nurpmeso wrote: >=20 > And still "git fetch" fails with >=20 > POST git-upload-pack (chunked) > error: RPC failed; curl 55 OpenSSL SSL_write: Broken pipe, errno 32 > fatal: the remote end hung up unexpectedly >=20 > My config file is >=20 > [core] > repositoryformatversion =3D 0 > filemode =3D true > bare =3D false > logallrefupdates =3D true > [remote "origin"] > url =3D https://cgit-beta.freebsd.org/src.git > #url =3D https://github.com/freebsd/freebsd.git > fetch =3D +refs/heads/releng/5.5:refs/remotes/origin/releng/5.5 > fetch =3D +refs/heads/releng/6.4:refs/remotes/origin/releng/6.4 > fetch =3D +refs/heads/releng/7.4:refs/remotes/origin/releng/7.4 > fetch =3D +refs/heads/releng/8.4:refs/remotes/origin/releng/8.4 > fetch =3D +refs/heads/releng/9.3:refs/remotes/origin/releng/9.3 > fetch =3D +refs/heads/releng/10.3:refs/remotes/origin/releng/10.4 > fetch =3D +refs/heads/releng/11.4:refs/remotes/origin/releng/11.4 > fetch =3D +refs/heads/releng/12.1:refs/remotes/origin/releng/12.1 > fetch =3D +refs/heads/stable/12:refs/remotes/origin/stable/12 > fetch =3D +refs/heads/main:refs/remotes/origin/main > fetch =3D +refs/notes/*:refs/notes/* FWIW, I have a bare repo with the following config file [core] repositoryformatversion =3D 0 filemode =3D true bare =3D true logallrefupdates =3D true [remote "origin"] url =3D https://cgit-beta.freebsd.org/src.git fetch =3D +refs/heads/*:refs/remotes/origin/* fetch =3D +refs/notes/*:refs/notes/* [branch "main"] remote =3D origin merge =3D refs/heads/main /usr/src is a worktree and everything seems to be working fine. I manually converted to a bare repo (first testing this with a much smaller repo) and fixed up various refs. But probably safer to just start from scratch: git clone --bare https://cgit-beta.freebsd.org/src.git cd src.git git fetch origin 'refs/notes/*:refs/notes/origin/*' # <<< not sure about = this.... # don't recall if I manually added the second fetch line in the = config file. # but notes get fetched fine; though I don't understand why = 100MB+ get # downloaded every time even though only a few files change. git worktree add main git worktree add stable/12 etc.=