From owner-freebsd-git@freebsd.org Wed Dec 16 16:09:08 2020 Return-Path: Delivered-To: freebsd-git@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 681AE4C0C9C for ; Wed, 16 Dec 2020 16:09:08 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cx0S34kwgz3LcB for ; Wed, 16 Dec 2020 16:09:07 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.229.168]) by shaw.ca with ESMTPA id pZMNkIzSXbYg3pZMOkgAlI; Wed, 16 Dec 2020 09:09:05 -0700 X-Authority-Analysis: v=2.4 cv=Q4RsX66a c=1 sm=1 tr=0 ts=5fda3121 a=7AlCcx2GqMg+lh9P3BclKA==:117 a=7AlCcx2GqMg+lh9P3BclKA==:17 a=xqWC_Br6kY4A:10 a=kj9zAlcOel0A:10 a=zTNgK-yGK50A:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=QiusiZUvnxUlgqmC-J0A:9 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [IPv6:fc00:1:1:1::5b]) by spqr.komquats.com (Postfix) with ESMTPS id 6E775CC5; Wed, 16 Dec 2020 08:09:02 -0800 (PST) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.16.1/8.16.1) with ESMTP id 0BGG910P018294; Wed, 16 Dec 2020 08:09:02 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <202012161609.0BGG910P018294@slippy.cwsent.com> X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Warner Losh cc: Cy Schubert , freebsd-git@freebsd.org Subject: Re: Vendor Imports In-reply-to: References: <202012160812.0BG8C7iT006176@slippy.cwsent.com> Comments: In-reply-to Warner Losh message dated "Wed, 16 Dec 2020 05:52:03 -0700." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 Dec 2020 08:09:01 -0800 X-CMAE-Envelope: MS4xfPFGdaWAVMxJomMAFiwH6ObNt3oDfOYS4wFJwAOLXWOncDHKB0xx4Iflng8uxwC5TTn/0qnu1ubr0YZiW6yDolT0mjGlyA8O4PRHGL8q8Ab5fsJEb3ue H9bQminnyXo5LQ7FFETXgDO662DXRzREcj5nvh6qHl2LO792lt3kmRf+dxHA8nJJjbL/RZEl8mT476kGmOtaKeaygcyHTdAHoHIMXKB3zpTz9XapuAi/1Uho X-Rspamd-Queue-Id: 4Cx0S34kwgz3LcB X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.136.139) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-1.70 / 15.00]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RECEIVED_SPAMHAUS_PBL(0.00)[70.67.229.168:received]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_LOW(-0.10)[64.59.136.139:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cschubert.com: no valid DMARC record]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.59.136.139:from]; MAILMAN_DEST(0.00)[freebsd-git] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2020 16:09:08 -0000 In message , Warner Losh writes: > --0000000000002f35bf05b6945830 > Content-Type: text/plain; charset="UTF-8" > > On Wed, Dec 16, 2020 at 1:12 AM Cy Schubert > wrote: > > > Can we extrapolate that multilevel vendor trees, those with > > subdirectories, > > would need a cp -R or rsync? > > > > It would. > > > > The example shown says: > > > > % cd ../mtree > > % cp ~/git/NetBSD/usr.sbin/mtree/* . > > % > > > > cp -R would be appropriate for more complex software like openssl, > > unbound, > > and the like. Is this correct? > > > > Yes. You're right. rsync with delete has been suggested, but I've not had > time to update the example. Except that rsync duplicates hard link relationships whereas cp -R copies them as if they are independent files in their own right. An rsync without the -a or -H options should be suggested. Or does git treat hard links to the same file as different files? (Meaning I'm talking through my hat?) -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org The need of the many outweighs the greed of the few.