From nobody Mon May 2 23:43:06 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 48BA61AB8B48 for ; Mon, 2 May 2022 23:43:11 +0000 (UTC) (envelope-from freebsd@quinteiro.org) Received: from mx2.quinteiro.org (mx2.quinteiro.org [71.19.154.200]) (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 4KsfmG0SLvz3lDp for ; Mon, 2 May 2022 23:43:10 +0000 (UTC) (envelope-from freebsd@quinteiro.org) Received: from www.quinteiro.org (www.quinteiro.org [204.109.56.22]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx2.quinteiro.org (Postfix) with ESMTPS id 1C52B21D9A6 for ; Mon, 2 May 2022 23:43:09 +0000 (UTC) (envelope-from freebsd@quinteiro.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=quinteiro.org; s=default; t=1651534989; bh=4zibmcI8sNQ53p9K3XGLnGhh4H8XaIXv30CnolTNYuA=; h=Date:Subject:To:References:From:In-Reply-To; b=Wf7GIxStYYxKNB3WanORLrv6B/j4TC1jFXPmmMahKo5o4WxiyBuF1rIaeQNwv6R4a 5+WV+DknoXbE2twFZ2ZLHOuFzNCroGMQmuMc+xfOnajMpx+y+kx4oL8rrBgou0uamo Mt6UfO+eVhiq0tADjfTj4BFKSY6YDVaj3nDpIpMM= Received: from [172.16.1.157] (unknown [198.27.183.84]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by www.quinteiro.org (Postfix) with ESMTPSA id 9B3092ED8F for ; Mon, 2 May 2022 23:43:07 +0000 (UTC) Message-ID: Date: Mon, 2 May 2022 16:43:06 -0700 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: On what days are the git servers available to obtain the ports tree? Content-Language: en-US To: ports@freebsd.org References: <71bb8213381565858ab36e680b9634de@bsdforge.com> <13df051029243432f82b50a815926517@bsdforge.com> <1b9efb8e45e650f9f07e527b85c93400@bsdforge.com> From: Jose Quinteiro In-Reply-To: <1b9efb8e45e650f9f07e527b85c93400@bsdforge.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KsfmG0SLvz3lDp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=quinteiro.org header.s=default header.b=Wf7GIxSt; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@quinteiro.org designates 71.19.154.200 as permitted sender) smtp.mailfrom=freebsd@quinteiro.org X-Spamd-Result: default: False [-2.44 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[quinteiro.org:s=default]; NEURAL_HAM_MEDIUM(-0.94)[-0.935]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[quinteiro.org]; DKIM_TRACE(0.00)[quinteiro.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[ports]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:47066, ipnet:71.19.154.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N There's no need to CC me. I'm subscribed to the list. On 5/2/22 13:37, Chris wrote: >> Is there a reason why you can't do a git pull to accomplish this? > Thanks for the reply, Jose. > Sure. Still don't understand why you can't just do a "git pull". That will fetch and apply just the changes from upstream, instead of re-downloading 27+ years of history* uselessly and pointlessly. >> >> What I've done in the past when I had trouble cloning the Freebsd-hosted >> repo is to clone the Github-hosted mirror, and then set the origin to >> the Freebsd repo. > I can clone the github hosted mirror && make the changes. But that > removes the one-true-source factor, adds additional steps to a procedure > that should "Just Work". I don't follow the one-true-source thing. If two git repos have the same commit hashes, they are copies of the same repo. That is one of the essential properties of git. A git pull after setting the origin to the Freebsd remote should be a no-op. You can use that to verify if you're worried. > Which is the real question. Why doesn't it Just Work? Clearly there is a > problem > with the FreeBSD git based system. I'm guessing the problem is people downloading the full history of the repo over and over again for no good reason. Github has more bandwidth. Use them. If you insist on doing it this way, at least do a shallow clone. Thanks, Jose * https://cgit.freebsd.org/ports/log/?ofs=582500